suboptimumg.log_analysis.preprocess_gps#
- suboptimumg.log_analysis.preprocess_gps.preprocess_gps_data_instances(data, ins_lat_col='pcm.vnav.posLla.latitude', ins_lon_col='pcm.vnav.posLla.longitude', fix_col='pcm.vnav.gpsFix')[source]#
Extract GPS position DataInstances and inject them into SingleRunData.
Filters invalid samples (no GPS fix, zero lat/lon pairs), projects to local East/North Cartesian coordinates, and stores the results as
gps.latitude,gps.longitude,posE, andposNindata.- Parameters:
data (SingleRunData)
ins_lat_col (str) – Key for the INS latitude signal.
ins_lon_col (str) – Key for the INS longitude signal.
fix_col (str or None) – Key for the GPS fix-status signal.
Noneskips the fix check.
- Returns:
The same
dataobject withgps.latitude,gps.longitude,posN, andposEadded.- Return type:
SingleRunData