pelagos_py.utils.qc_handling#

pelagos_py.utils.qc_handling.resolve_pass_flag(value)[source]#

The pass_flag pipeline setting: the flag automated QC tests give passing values (default 1).

pelagos_py.utils.qc_handling.calculation_flags_for(name)[source]#

The default flags left out of calculations for variable name.

pelagos_py.utils.qc_handling.propagate_flags(base, src)[source]#

Merge src flags onto companion base; missing (9) is per-variable so is not carried over.

pelagos_py.utils.qc_handling.prefer_adjusted(settings, names)[source]#

Swap each variable name in QC settings for its _ADJUSTED version if present in names, else its raw version. Other values are left unchanged.