PairingStrategy#
- class rojak.atmosphere.feature_composite.extension.PairingStrategy[source]#
How the observations of a time chunk are matched with the centres of a feature in that chunk.
Implement it as a frozen dataclass holding parameters only: it is sent to every chunk task. Override
check_compatible()to reject features that the strategy cannot handle.- __init__()#
Methods
__init__()check_compatible(feature)Raise if this strategy cannot pair observations with
feature.pair(observations, feature_chunk, chunk, *, ...)Pair the observations of a time chunk with the centres of the feature in that chunk.