climate_ref_core.source_types
#
Lightweight types for dataset source identification.
This module contains core type definitions that are used across the codebase but don't require heavy dependencies like pandas. Keeping these in a separate module allows other modules to import them without triggering heavy imports.
Selector = tuple[tuple[str, str], ...]
module-attribute
#
Type describing the key used to identify a group of datasets
This is a tuple of tuples, where each inner tuple contains a metadata and dimension value that was used to group the datasets together.
This type must be hashable, as it is used as a key in a dictionary.
SourceDatasetType
#
Bases: Enum
Types of supported source datasets