pelagos_py.steps.processing.derive_ctd#

class pelagos_py.steps.processing.derive_ctd.DeriveCTDVariables(name, parameters=None, diagnostics=False, context=None)[source]#

Bases: pelagos_py.steps.base_step.BaseStep, pelagos_py.utils.qc_handling.QCHandlingMixin

A processing step class for deriving oceanographic variables from CTD data.

TEOS-10 implementation provided through Gibbs SeaWater (GSW) Oceanographic Toolbox functions. This step requires that “TIME”, “LATITUDE”, “LONGITUDE”, “CNDC”, “PRES” and “TEMP” are present in the dataset variables.

Parameters:

to_derive (list) –

list of variables to derive The following variables are supported:

  • ”DEPTH”

  • ”PRAC_SALINITY” (practical salinity)

  • ”ABS_SALINITY” (absolute salinity)

  • ”CONS_TEMP” (conservative temperature)

  • ”DENSITY

Examples

Example usage in a pipeline configuration:

steps:
  - name: "Derive CTD"
    parameters:
        to_derive: [
            DEPTH,
            PRAC_SALINITY,
            ABS_SALINITY,
            CONS_TEMP,
            DENSITY
        ]