slv.measurements.mobile.obs.apply_low_pressure_rule#
- slv.measurements.mobile.obs.apply_low_pressure_rule(df, band=(100.0, 145.0))[source]#
Keep rows flagged −63 whose
Cavity_P_torrlies insideband, and tag every row whose cavity pressure is low.dfmust carryCH4(already validated with −63 among the accepted flags),QAQC_FlagandCavity_P_torr. Rows flagged −63 outside the band (or with no pressure) getCH4 = NaN. Every row gets a booleanlow_pressurecolumn, True where the pressure is insidebandand the row is flagged −63 or its pressure is outsidePRESSURE_BAND, whatever its flag: the pipeline writes −64 (hot cavity) over −63, and −64 is an accepted flag, so a low-pressure row on a hot afternoon is kept with no −63 to show for it.band=Nonedrops all −63 rows and tags none.- Return type: