pelagos_py.steps.quality_control.stuck_value_qc#

class pelagos_py.steps.quality_control.stuck_value_qc.stuck_value_qc(data, **kwargs)[source]#

Bases: pelagos_py.steps.base_qc.BaseQC

Target Variable: Any Flag Number: 4 (bad) Variables Flagged: Any Checks that successive measurements are not frozen.

Example

- name: "Apply QC"
  parameters:
    qc_settings:
      stuck value qc:
        variables: {PRES: 4, LATITUDE: 100}
        also_flag: {PRES: [CNDC, TEMP], LATITUDE: [LONGITUDE]}
        plot: [PRES, LATITUDE]
  diagnostics: true
return_qc()[source]#

Representative of QC processing, to be overridden by subclasses.

Returns:

flags – Output QC flags for the data specific to the test.

Return type:

array-like

plot_diagnostics()[source]#

Representative of diagnostic plotting (optional).