libera_utils.footprint_matching.readers.registry#
Reader plugin registry for the footprint matching reader plugin system.
Concrete AncillaryReader subclasses auto-register in this registry via the
__init_subclass__ hook defined in the base class. Callers should not
populate _registry directly.
Usage#
Import the readers subpackage to trigger registration of all built-in readers:
import libera_utils.footprint_matching.readers # registers all built-in readers
from libera_utils.footprint_matching.readers.registry import ReaderRegistry
cls = ReaderRegistry.get("IGBP")
reader = cls([Path("MCD12Q1.A2023001.h09v05.061.hdf")])
See also
libera_utils.footprint_matching.readers.base.AncillaryReaderAbstract base class whose
__init_subclass__performs registration.
Module Attributes
The readers that contribute to each shipped FMATCH product, keyed by OperationalMode. |
Classes
Plugin registry mapping string keys to AncillaryReader subclasses. |