KernelDB.info_metakernel()
Show detailed information about a tracked metakernel, as skd show does (#47).
Usage
KernelDB.info_metakernel(
name,
kernel_type=None,
mission=None,
)Displays the registry row and, for each kernel the metakernel lists, its status (in db or missing) with kernel type and size.
Parameters
name: str-
Any form resolve_metakernel accepts, or the path of a
.tmfile that is not tracked. For an untracked file the row fields in the result areNoneand the file is read directly. kernel_type: str | None = None-
Limit the printed kernel table to one type. The counts stay whole.
mission: str | None = None- Narrow the registry lookup to one mission.
Returns
dict-
With the keys
filename,mission,source_url,acquired_at,mk_path,official,kernels,n_kernels,n_in_dbandn_missing.kernelsis a list of dicts withfilename,kernel_type,size_bytesandstatus.
Raises
MetakernelNotTracked-
name matches no registry row and is not a file on disk.
AmbiguousMetakernel- name matches several registry rows.