-
Notifications
You must be signed in to change notification settings - Fork 74
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 additional EK80 environment variables #616
Add additional EK80 environment variables #616
Conversation
for more information, see https://pre-commit.ci
@leewujung I didn't include the |
Codecov Report
@@ Coverage Diff @@
## dev #616 +/- ##
==========================================
- Coverage 78.70% 73.34% -5.37%
==========================================
Files 42 15 -27
Lines 3776 2326 -1450
==========================================
- Hits 2972 1706 -1266
+ Misses 804 620 -184
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
@leewujung will look into why there is no depth specification attached to the profile. |
#540 (comment) and the following comments clarified this. @imranmaj : Once we settle down the variable name and attributes re #540 (comment) and #540 (comment) please add those to this PR. Thanks! |
…l_offset(_is_manual) and water_level_draft_is_manual to variables
echopype/convert/set_groups_ek80.py
Outdated
"transducer_name": "sonar_name", | ||
"transducer_sound_speed": "sonar_sound_speed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emiliom : here do you think we should keep the original names transducer_*
instead of changing to sonar_*
? Since it is not entirely clear what this is other than my conjectured use of line of sight time delay to measure sound speed, it seems better to keep its original name. This is not in the convention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The EK80 has a transducer_sound_speed
value separate from water column sound speed because some of their systems potentially do a correction for transducer parameters based on the sound speed at the transducer face (e.g., beamwidth changes with sound speed across the transducer face).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting... Thanks @gavinmacaulay for explaining where this is from!
Is this something that's done automatically based on the transducers? or something the users can toggle on/off?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've never actually seen a Simrad system that uses this, but think that the bathymetric systems may have a use for it.
@imranmaj : As we discussed last week and I have specified in #540 (comment), all the environmental variables have a time dimension that come with the Environment datagram -- it is NOT @emiliom : Need your inputs here: Q2: For the variables that are saved in the Q3: What do you think about adding comments or long_name on where the timestamps come from? |
Yeah,
IMHO it's fine but somewhat weird to use
A I suggest adding a
|
Thanks @emiliom ! @imranmaj : please use the following:
Note that I changed the end of the |
…to ek80_environment_vars
…to ek80_environment_vars
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@imranmaj : two comments:
- Since the blocks you have are in the same file and identical, how about consolidating them to a function?
- You are currently testing for the existence but not the values. Could you add tests for values too?
Is this referring to the tests? Is there a way to add functions to test files without running them as tests? I’ve mostly found answers like this: https://stackoverflow.com/questions/53063852/pytest-how-do-you-test-a-function-and-not-run-the-rest-of-the-file |
Oh I wasn't actually thinking that much, I though we already did something like this in
|
Includes additional EK80 environment variables in the converted dataset.
Resolves #540