pelagos_py.steps.quality_control.valid_profile_qc#
- class pelagos_py.steps.quality_control.valid_profile_qc.valid_profile_qc(data, **kwargs)[source]#
Bases:
pelagos_py.steps.base_qc.BaseQCFlag whole profiles that are too short or never reach a target depth range.
Target variable:PROFILE_NUMBERVariables flagged:PROFILE_NUMBERFlags applied:flag(default 4, bad)Every row of a profile (rows sharing a
PROFILE_NUMBERfromFind Profiles) getsflagwhen the profile has fewer thanmin_lengthrows or, ifdepth_rangeis set, nodepth_varsample inside it. Passing profiles are flagged 1; rows without a profile are left unchecked (0), so their existing flag is kept.Examples
- name: "Apply QC" parameters: qc_settings: valid profile qc: min_length: 50 # rows per profile depth_range: [0, 1000] # PRES window the profile must reach into flag: 4 diagnostics: true