lkilcher / dolfyn

A library for oceanographic doppler instruments such as Acoustic Doppler Profilers (ADPs, ADCPs) and Acoustic Doppler Velocimeters (ADVs).
BSD 3-Clause "New" or "Revised" License
42 stars 25 forks source link

Handle external heading input #38

Open lkilcher opened 5 years ago

lkilcher commented 5 years ago

Are RDI instruments the only ones that can take external heading data (e.g., GPS NMEA strings)? If so, we will need to take care in how we handle those data. In particular, I think we need to:

jmcvey3 commented 1 year ago

Currently this is only with RDI, and any variables from an external source are given the tag "_gps", including time.

Nortek's new Signature VM incorporates an Advanced Navigation GNSS, which saves gps data in a separate .anpp file ("advanced navigation packet protocol") alongside the typical .ad2cp file. I found a python SDK on github for AdNav's file format but need to find the time to decode it.

To note, 'xducer_misalign_deg' refers to the offset (typically 45 degrees) that an ADCP is rotated to when mounted on a vessel. It is not taken into account when rotating to 'inst' coordinates, but should be automatically taken into account by the internal compass when rotated to 'earth' coordinates.