import_processed_navigation

HSTB.kluster.fqpr_convenience.import_processed_navigation(fqpr_inst, navfiles, errorfiles=None, logfiles=None, weekstart_year=None, weekstart_week=None, override_datum=None, override_grid=None, override_zone=None, override_ellipsoid=None, max_gap_length=1.0, overwrite=False)

Convenience function for importing post processed navigation from sbet/smrmsg files, for use in georeferencing xyz data. Converted attitude must exist before importing navigation, timestamps are used to figure out what part of the new nav to keep.

fqpr = fully qualified ping record, the term for the datastore in kluster

Parameters
  • fqpr_inst (Fqpr) – Fqpr instance containing converted data (converted data must exist for the import to work)

  • navfiles (list) – list of postprocessed navigation file paths

  • errorfiles (Optional[list]) – list of postprocessed error file paths. If provided, must be same number as nav files

  • logfiles (Optional[list]) – list of export log file paths associated with navfiles. If provided, must be same number as nav files

  • weekstart_year (Optional[int]) – if you aren’t providing a logfile, must provide the year of the sbet here

  • weekstart_week (Optional[int]) – if you aren’t providing a logfile, must provide the week of the sbet here

  • override_datum (Optional[str]) – provide a string datum identifier if you want to override what is read from the log or you don’t have a log, ex: ‘NAD83 (2011)’

  • override_grid (Optional[str]) – provide a string grid identifier if you want to override what is read from the log or you don’t have a log, ex: ‘Universal Transverse Mercator’

  • override_zone (Optional[str]) – provide a string zone identifier if you want to override what is read from the log or you don’t have a log, ex: ‘UTM North 20 (66W to 60W)’

  • override_ellipsoid (Optional[str]) – provide a string ellipsoid identifier if you want to override what is read from the log or you don’t have a log, ex: ‘GRS80’

  • max_gap_length (float) – maximum allowable gap in the sbet in seconds, excluding gaps found in raw navigation

  • overwrite (bool) – if True, will include files that are already in the navigation dataset as valid

Returns

Fqpr passed in with additional post processed navigation

Return type

Fqpr