skretrieval.retrieval.measvec.Triplet

skretrieval.retrieval.measvec.Triplet#

class skretrieval.retrieval.measvec.Triplet(wavelength: list[int], weights: list[float], altitude_range: list[float], normalization_range: list[float], normalize=True, log_space=True, **kwargs)[source]#

Bases: MeasurementVector

A class that represents a measurement vector that is a weighted combination of log radiances, high altitude normalized

Note that this measurement vector requires the l1 data to contain the “tangent_altitude” field.

Both altitude_range and normalization_range can be set through the retrieval context by prefixing the value with a ‘$’

Parameters:
  • wavelength (list[int]) – Wavelengths to select

  • weights (list[float]) – Weights to apply to the wavelengths

  • altitude_range (list[float]) – Altidude range to select

  • normalization_range (list[float]) – Altitude range to normalize to

__init__(wavelength: list[int], weights: list[float], altitude_range: list[float], normalization_range: list[float], normalize=True, log_space=True, **kwargs)[source]#

A class that represents a measurement vector that is a weighted combination of log radiances, high altitude normalized

Note that this measurement vector requires the l1 data to contain the “tangent_altitude” field.

Both altitude_range and normalization_range can be set through the retrieval context by prefixing the value with a ‘$’

Parameters:
  • wavelength (list[int]) – Wavelengths to select

  • weights (list[float]) – Weights to apply to the wavelengths

  • altitude_range (list[float]) – Altidude range to select

  • normalization_range (list[float]) – Altitude range to normalize to

Methods

__init__(wavelength, weights, ...[, ...])

A class that represents a measurement vector that is a weighted combination of log radiances, high altitude normalized

apply(l1_data[, ctxt])

Applies the function to the l1 data, returning back a Measurement object

required_sample_wavelengths(obs_samples)

Determines which sample wavelengths are required for this measurement vector

Attributes

enabled

filter

fn

required_sample_wavelengths(obs_samples: dict[array]) dict[array][source]#

Determines which sample wavelengths are required for this measurement vector

Default is to just return back all of the observation wavelengths

Parameters:

obs_samples (dict[np.array])

Return type:

dict[np.array]