Skip to main content

KernelDB.list_metakernels()

List all tracked metakernels, optionally filtered by mission.

Usage

Source

KernelDB.list_metakernels(
    mission=None,
    show=True,
)

Each entry includes the number of kernel entries. Alias rows (symlink metakernels created by get) inherit their target’s entry count and content fingerprint, so the listing reads consistently. Both rows show the same kernel count, and one of them is annotated ↳ identical to <target>.

With a console, a summary table is shown. show=False suppresses it even with a console. That argument is legacy since #49, because the library is quiet without a console, and is kept because planetarypy’s released code passes it.

Parameters

mission: str | None = None

Case-insensitive prefix filter on the mission.

show: bool = True
Show the summary table on the instance’s console, if it has one.

Returns

list[dict]
One dict per metakernel with the keys filename, mission, source_url, acquired_at, mk_path, n_kernels, official and identical_to. identical_to is the name of another row with the same content fingerprint, else None.