slv.measurements.mobile.gps.read_trax_gps#

slv.measurements.mobile.gps.read_trax_gps(time_range, site='trx01', fill_gaps=True, num_processes=1)[source]#

Best GPS source for classifying, by era: lin-group GPS before HOREL_POST_PILOT, horel logger (with battery/T/RH) after.

With fill_gaps (default), minutes the horel logger did not record are filled from the lin GPS. The horel logger goes down for days at a time (its battery drained 2024-07-23 to 08-02; the logger was offline around 2025-09-02) and without this the classifier calls every such minute unknown — ~235 on-track hours of a normally running train, mostly Jul 2024, Jan 2025, Sep 2025 and Jul 2026. Filled rows carry no Battery_Voltage_V, so the depot/yard rules fall back to their GPS-only form.

num_processes is the number of processes that read the GPS files (read_lin_gps(), read_horel_cr1000()); the frame is the same for any number.

Return type:

DataFrame