libera_utils.obsids.is_calibration_event_product#

libera_utils.obsids.is_calibration_event_product(product: DataProductIdentifier) → bool#

Return whether a ProductID is a calibration ObsID’s TRIMMED or CAL product.

Each file of such a product holds one calibration event rather than one day.

Parameters:

product (DataProductIdentifier) – Any ProductID.

Returns:

True if product is the TRIMMED or CAL product of an ObsID in the registry.

Return type:

bool