slv.measurements.mobile#
Mobile-platform measurements: the TRAX light-rail trains and the Wyoming mobile lab.
Submodules, one concern each:
network— TRAX lines, staged points, storage yards (JRRSC, MRSC), shed footprints, route-buffer filter.gps— GPS readers (lin-group air-trend, horel-group CR1000 logger, era-basedread_trax_gps()) andmerge_with_gps().location— per-minute location classifier: indoor (shed) vs outdoor (yard / pass-by / route / stopped),state/indoor/yard_name.calibration—cal_sourceprovenance and the uncalibrated windows.obs—build_trax_obs()/load_trax_obs(), the cached CH4 record with both tag sets and a load-timelocationfilter.transects— transect matricesobs[transect, point]: the network builder (build_network_transects()/build_trax_transects()/load_network_transects()) and the archived per-line matrices (load_transects()).receptors— STILT receptors: 50-m network points, 2-km segment crossings, one PYSTILT multipoint receptor per crossing, and dwell (parked-train) receptors.receptor_obs— the CH4 observation for each of those receptors, keyed(obs_location, obs_time)exactly as the inversion joins them to the footprints.wyoming— the Wyoming mobile lab (Aeris + met readers, enhancement ratios, wind-barb map); not re-exported, import from the module.
Every public function and table is re-exported here, so
from slv.measurements.mobile import X works for all of them; the classifier thresholds
(location) and GPS column/flag constants (gps) stay in their modules.
Exported from submodules
Drop rows within |
|
Subtract the analyzer-epoch offset from |
|
Keep rows flagged −63 whose |
|
Drop |
|
Set |
|
The line letter each sample is on, resolved from the points around it in time. |
|
PYSTILT receptor table ( |
|
Build the georeferenced TRAX CH4 record from the pipeline levels. |
|
PYSTILT receptor table ( |
|
Build the |
|
Build and write the network matrices, one NetCDF per calendar year. |
|
Classify each row of |
|
Days whose Pi clock can be trusted to |
|
Times of atmosphere rows whose unvalidated CH4 is below |
|
The epoch offset (ppm) in force at each time, 0.0 outside every epoch. |
|
Georeference the rows the lin GPS could not, using the horel logger's 5-s fixes. |
|
Drop the |
|
Keep rows whose |
|
Keep GPS points within |
|
Keep rows whose |
|
Periods where the train stayed put: parked on a yard track or waiting at a terminus. |
|
Split the GPS record into crossings of the 2-km segments. |
|
Resolve a geometry argument: a GeoDataFrame, a path or packaged file to read, or |
|
Inlet lag in seconds at each of |
|
Where each dwell is: |
|
Per-observation |
|
Add |
|
Median GPS-minus-Pi clock offset (s) per UTC day, from a lin GPS frame. |
|
Packaged shed footprints at the service centers ( |
|
All storage yards in |
|
The network transect matrices of |
|
Concatenate the archived transect matrices for one TRAX line into an xarray Dataset. |
|
Analyzer-epoch offsets of the uncalibrated (manual-cal) era, ppm. |
|
|
|
The TRAX lines ( |
|
The 50-m network points with their 2-km segment membership. |
|
Load the cached TRAX CH4 record ( |
|
Points every |
|
Windows where the LGR ran without a valid reference tank but the raw data are good. |
|
Per- |
|
Attach GPS positions to a mobile site's concentration records. |
|
Horel-group CR1000 logger record (5 s): GPS + battery voltage + roof T/RH. |
|
Lin-group (air-trend) GPS at 1 s from the pipeline |
|
Best GPS source for classifying, by era: lin-group GPS before |
|
Calibrate the rows the pipeline flagged |
|
Index of the segment's points on every line in |
|
Rows of a qaqc-level LGR frame that fall inside the uncalibrated windows. |
|
Run-length table of a per-minute state series: |
|
One CH4 observation per STILT receptor, keyed for the inversion. |
Modules
Calibration provenance of the TRAX CH4 record: |
|
GPS records for the mobile platforms and the observation/GPS merge. |
|
Where is the TRAX train, minute by minute: indoor (shed), yard, pass-by, route, stopped? |
|
The TRAX network and its yards: line geometry, staged points, storage polygons, shed footprints, and the route-buffer filter used by the GPS merge. |
|
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. |
|
TRAX CH4 observations paired one-to-one with the STILT receptors. |
|
STILT receptors for the TRAX record: one multipoint receptor per 2-km segment crossing. |
|
TRAX transect matrices: |
|
Wyoming mobile lab: Aeris CH4/C2H6 and vehicle met readers, enhancements and C2/C1 ratios, and a wind-barb map of a drive. |