pelagos_py.steps.quality_control.spike_qc#
- class pelagos_py.steps.quality_control.spike_qc.spike_qc(data, **kwargs)[source]#
Bases:
pelagos_py.steps.base_qc.BaseQCTarget Variable: Any Flag Number: 4 (bad) Variables Flagged: Any Checks for spikes by comparing each value to a rolling median: values whose residual exceeds the standard deviation of the residuals times the variable’s sensitivity are flagged.
Example
- name: "Apply QC" parameters: qc_settings: spike qc: variables: {PRES: 2, LATITUDE: 1} also_flag: {PRES: [CNDC, TEMP], LATITUDE: [LONGITUDE]} plot: [PRES, LATITUDE] window_size: 10 diagnostics: true