-
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
Include water_level or range_offset in Sv dataset #516
Comments
In regards to actually implementing this, I believe the simplest place to do this is in the if statement i.e. line 56 in the code below: echopype/echopype/calibrate/api.py Lines 54 to 58 in 17a86e4
this will allow us to skip duplicate code in the calibrated classes for each of the echosounders.
|
I'm only now paying close attention to the convention context for this change (sorry!), and realizing that |
Sigh, yes, in commenting on your comment to #579 I just went back to the convention again and found the same thing. I'm copying my comment there below:
In the convention:
I don't remember what my original argument was, but looking at this again, I think calling it I think I understand why the convention was written this way, since it was very "hard-wired" to a ship-based sonar system (even though the above does try to accommodate the case for an underwater vehicle). But I guess I am leaning more toward the side that users should know what the variables mean in the sampling context. @emiliom : What would you recommend as the right step? |
Hmm. After reading and rereading the definitions of
The generalization to Where does this leave us? I'd put PR #579 on hold until we've had a chance to arrive at a clear consensus, including examining how echopype is handling the position, MRU and transducer offset variables, plus |
Great, thanks @emiliom, I think these discussions clear this up quite a bit! Here's what I'd summarized in terms of action items (and in the mind set of convention v1):
Seems that we should have a focused discussion about this, to clear things up. For PR #579, I think we should merge this PR with:
I am suggesting merging #579 so that we can have |
To clean up:
So we can now close this issue since the original goal (to include |
From @leewujung, #436 (comment):
One thing I noticed which we'll need to do something about (also requested in #259 ) is to include the addition of water_level in the Sv dataset (since right now even if users put in
water_level=True
if the input is an Sv dataset no water_level offset is added. A more accurate way to think about it is probably that we are actually plotting "depth" in the case when we have range_meters + water_level.The more general description is that people are plotting the range offset from some platform. Let's discuss how that coordinate should be named... Hence I am wondering if
water_level
should berange_offset
instead, so that it is more general.Pinging @emiliom here since this is related to the whole convention and attribute conversation.
The text was updated successfully, but these errors were encountered: