slv.measurements.mobile.obs#

The georeferenced TRAX CH4 observation record: build it from the pipeline levels, tag every row with calibration provenance and location, cache it, and load it with a location filter.

Attributes

LOCATION_SETS

Named sets of location states kept by load_trax_obs().

LOW_PRESSURE_BAND

Cavity-pressure band (torr) inside which manual-cal rows flagged −63 (pressure outside the pipeline's 135–145 window) are kept.

PRESSURE_BAND

Cavity-pressure band (torr) the LGR is specified for; the pipeline's own -63 flag uses the same bounds.

DROPOUT_CH4_PPM

the global background is ~1.85-2.0 ppm and the pipeline's valid range starts at 1.70, so the shoulder of a dropout passes QC.

DROPOUT_WINDOW_MIN

Minutes either side of a dropout row that are dropped with it (apply_dropout_rule()).

SLOPE_TOL

Calibrated rows whose slope CH4d_m deviates more than this fraction from the day's median slope are dropped.

Functions

apply_dropout_rule

Drop rows within window_min minutes of a CH4 laser dropout.

apply_low_pressure_rule

Keep rows flagged −63 whose Cavity_P_torr lies inside band, and tag every row whose cavity pressure is low.

apply_pressure_rule

Drop sources rows whose cavity pressure is outside band (see PRESSURE_BAND).

apply_slope_guard

Set CH4 to NaN where CH4d_m differs from the same UTC day's median slope by more than tol (fraction).

build_trax_obs

Build the georeferenced TRAX CH4 record from the pipeline levels.

dropout_times

Times of atmosphere rows whose unvalidated CH4 is below threshold — laser dropouts.

filter_location

Keep rows whose state is in location (a LOCATION_SETS name or a tuple of states).

label_trax_location

Add state, indoor and yard_name to a georeferenced TRAX obs frame.

load_trax_obs

Load the cached TRAX CH4 record ($SLV_USER_DATA_DIR/trax/obs.parquet), building it if needed.

recover_hot_rows

Calibrate the rows the pipeline flagged -64 (cavity T outside 5-45 C) itself.