USGS-CMG / stglib

Routines used by the USGS Coastal/Marine Hazards & Resources Program to process oceanographic time-series data
Other
16 stars 13 forks source link

Add height for individual sensors #197

Closed rallen-usgs closed 2 months ago

rallen-usgs commented 3 months ago

I don't think this exists already... Could a way to specify the height of individual sensors be added? Specifically for AnalogInputs on an aquadopp or vector this is very useful, because commonly an OBS backscatter sensor is used, and sometimes it is the same height as the vector sample volume, and sometimes not. I think this could also be useful for a LISST and RBRs.

The other place where I think this could be useful is when an instrument collects information at two different locations (e.g. a vector collects pressure information at the opposite end from where it collects velocities.) When it is oriented horizontally this doesn't matter, but when it is vertical it does. This could be solved for the vector by the mods to orientation, but it might still be needed for RBR CTDs, where the pressure sensor is offset by a few cm from the conductivity cell, and the amount of offset varies depending on the RBR model and version.

I think a way to do this would be to add a field in the yaml, along the lines of _initial_instrument_height.