convert_from_fqpr_xyzrph

HSTB.kluster.fqpr_vessel.convert_from_fqpr_xyzrph(xyzrph, sonar_model, system_identifier, source_identifier)

xyzrph data (offsets/angles/tpu parameters) are stored as an attribute in each zarr store for the fqpr instance. Here we convert that data to the format the the VesselFile wants, including the sonartype and source attribute.

Parameters
  • xyzrph (dict) – dict of offsets/angles/tpu parameters from the fqpr instance

  • sonar_model (str) – sonar model identifier

  • system_identifier (str) – identifier string for the system (the primary sonar serial number)

  • source_identifier (str) – the source of the xyzrph, should be the multibeam file name or the converted folder name

Returns

converted xyzrph ready to be passed to VesselFile

Return type

dict