EnsembleProcessorAdapter#

class sdm.processing.common.EnsembleProcessorAdapter(processor: Processor)#

Bases: EnsembleProcessor, EnsembleInvertibleMixin

Adapt an ordinary processor to ensemble-aware processing.

The adapter turns a Processor into an EnsembleProcessor. It copies and fits the processor separately for each group of compatible tables in an EnsembleTable.

The wrapped processor must preserve row and leading dimensions as required by the Processor contract. A processor that changes the ensemble structure must implement EnsembleProcessor directly. Inverse transformation requires the wrapped processor to implement InvertibleMixin.

Parameters:

processor (Processor) – Processor to fit separately for each ensemble table group.

Capabilities#

Handled Semantic Types

instance-specific

Requires Fitting

instance-specific