slv.measurements.mobile.obs.label_trax_location#
- slv.measurements.mobile.obs.label_trax_location(obs, site='trx01', time_range=None, states=None, num_processes=1)[source]#
Add
state,indoorandyard_nameto a georeferenced TRAX obs frame.Uses
slv.measurements.mobile.location: per-minute states from the best GPS source for the era (statesmay be passed in to reuse a classification). Observations are matched onTime_UTCfloored to the minute; minutes without a classification come backunknown/ NA.num_processesis the number of processes that read the GPS files (read_trax_gps()) and of threads that measure the fixes’ distance to the track and the yards (location_features()); the labels are the same for any number.- Return type: