eradiate.pipelines.AggregateCKDQuad#
- class eradiate.pipelines.AggregateCKDQuad(measure, binset, var='img')[source]#
Bases:
PipelineStepCompute CKD quadrature.
In CKD modes, this pipeline step aggregates spectral data and evaluates the selected quadrature rule. The following updates to the input data are expected:
the
gdimension is dropped;the
bindimension is renamedw;the
bincoordinate persists and is indexed byw;a
wcoordinate is created and contains the central wavelength of each bin;a
bin_wmin(resp.bin_wmax) coordinate is created and contains the lower (resp. upper) spectral bound of each bin;the dataset is reordered by ascending
wvalues.
- Parameters:
- Fields:
Notes
The
sppvariable is averaged on thegdimension.In non-CKD modes, this step is a no-op.