-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add/handle vertical (z) variables in Platform group, on echodata.update_platform
#1051
Comments
For completeness, there are three other position related Platform variables that have a z component: For a platform with a pressure sensor like a glider or a mooring, the depth (pressure) is actually equivalent to |
The preview to the draft, glider-based echopype examples notebook provides a concrete example of depth and pressure data from a glider external file. |
(TODO) Another set of relevant variables is
The convention defines (TODO) In the current examples we've seen for EK60 and EK80, they're being populated with values of zero. While this is read directly from a datagram, 0 for all 3 variables does not add up to a unit vector! We suspect that those 0 values may in reality represent no-data. But we don't know how to distinguish "0 as nan" from valid 0 values, except to check if all three values are 0; in that case, we should set the variables to nan. |
Completed in #1102
Completed in #1114 |
This issue was an umbrella for related topics. It wasn't quite a tracking issue. Most of the topics raised here have been addressed. Remaining ones are best tracked in the specific, narrower issues that are currently open. I'll close this issue now. |
Ensure that variables related to the vertical (z) coordinate are properly handled and populated in the EchoData
update_platform
method:echopype/echopype/echodata/echodata.py
Lines 265 to 272 in d08f1f6
This may involve adding an optional argument for the depth relative to the water level, or related variables. Reworking this function will also entail addressing the time dimension name problems mentioned in #740 and #1003.
The two depth-related variables in the
Platform
group, from the convention, arevertical_offset
andwater_level
.Related open issues that we will act on now are:
echodata.update_platform
adds awater_level
with incorrectly assignedtime1
dimension #1003consolidate.add_depth
to use variables already in EchoData #790Here are some relevant background discussions (issues) we've had previously. See also the associated PR's. These discussions include specific references to the SONAR-netCDF4 convention.
echo_range
todepth
in calibrated datasets #578 and Change water_level name to range_offset and include it in the returned Dataset from compute_SV #579)Platform
groups #592The text was updated successfully, but these errors were encountered: