libera_utils.footprint_matching.product.load_fmatch_definition#

libera_utils.footprint_matching.product.load_fmatch_definition(mode: OperationalMode) → LiberaDataProductDefinition#

Load and validate the FMATCH product definition for an operational mode.

Resolves the mode’s YAML under the configured product-definitions directory and parses it into a validated LiberaDataProductDefinition.

Parameters:

mode (OperationalMode) – The FMATCH operational mode whose product definition to load.

Returns:

The validated product definition, ready for use with create_product_dataset / enforce_dataset_conformance / check_dataset_conformance.

Return type:

LiberaDataProductDefinition

Notes

The directory is read from config.get("LIBERA_PRODUCT_DEFINITIONS_PATH") so packaging/test overrides are honored, matching how L1A product definitions are resolved elsewhere in the codebase.