libera_utils.obsids.get_family_inputs#

libera_utils.obsids.get_family_inputs(trimmed_product: DataProductIdentifier) tuple[DataProductIdentifier, ...]#

Return the L1A products a calibration dependency family’s cal step consumes.

These are the other L1A products a family’s algorithm needs: a step’s full input-products set is trimmed_product itself plus this tuple. The family’s NOM-HK is expected to arrive already trimmed as trimmed_product, so the full-day NOM-HK-DECODED granule is normally not listed here. The cal container subsets these to the calibration run itself, using the time range carried by the TRIMMED NOM-HK filename it was handed; no other APID is trimmed by the L1A preprocessor.

Parameters:

trimmed_product (DataProductIdentifier) – A TRIMMED family ProductID from the registry.

Returns:

L1A input products in catalog order. Empty for families whose dependency set is still undecided.

Return type:

tuple of DataProductIdentifier

Raises:

KeyError – If trimmed_product is not a registered TRIMMED family ProductID.