## KernelDB.metakernels_covering()


Tracked metakernels whose SPK kernels cover a body.


Usage

``` python
KernelDB.metakernels_covering(
    body_id,
    et=None,
    mission=None,
)
```


Meant for code that needs to pick a metakernel rather than show one. The method prints nothing and writes nothing, so it works on a `read_only=True` database. Coverage is read from the SPK files each metakernel loads that exist on disk. Identical aliases are skipped. With *et* only the metakernels covering that ephemeris time are returned. Without it, any coverage counts.


## Parameters


`body_id: int`  
NAIF ID of the body, for example `-121` for BepiColombo MPO.

`et: float | None = None`  
Ephemeris time that must be covered. `None` accepts any coverage at all.

`mission: str | None = None`  
Case-insensitive mission prefix filter.


## Returns


`list[dict]`  
The matching [list_metakernels](KernelDB.list_metakernels.md#spice_kernel_db.KernelDB.list_metakernels) rows, each with an added `intervals` key: the `(et_start, et_end)` windows for the body.


## Raises


`ImportError`  
SpiceyPy is not installed.


## Examples

``` python
>>> import spiceypy
>>> db = KernelDB(read_only=True)
>>> spiceypy.furnsh("naif0012.tls")
>>> rows = db.metakernels_covering(-121, spiceypy.utc2et("2027-06-01"))  # BepiColombo MPO
```
