-
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
EK60, add mandatory transmit_type
as a scalar
#1101
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #1101 +/- ##
==========================================
- Coverage 78.12% 77.65% -0.48%
==========================================
Files 65 18 -47
Lines 6227 2927 -3300
==========================================
- Hits 4865 2273 -2592
+ Misses 1362 654 -708
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 54 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Good to add this!
Question: The "Continuous Wave" flag_meanings seems to come from the EK80 reference manual? I wonder if we should say add "(gated single-frequency sine waves)" for added explanation.
Also, for FMD, the "D" seems to be user-defined?
Right. But I also found a reference to CW in the EK60 manual, though it was indirect. Also, today I realized that the convention uses a special
In the EK80 manual under It's hard to be sure, but it does look like "D" might stand for user-defined. Tweaking the attributes is easy to do at any time, and has no real downstream impact. But I wonder if we need to revisit |
Yes... in fact that was where I found the "user-defined" because I was just doing a full text search.
... I thought you said enum type is not supported in netCDF (I forgot in which issue/PR)? |
The thread you're referring to is probably this one: #1097 (comment). I'll paste it here: "let's not try to bring some kind of enum type, which I don't think actually exists in the netcdf/CF/zarr world. I don't think there's a boolean type either, so I'll use np.byte." After some digging, I can see I misspoke, partly. The In summary: NetCDF4 (at least the C library -- I haven't checked the Python library) does support enum types, but to me, for all practical purposes it seems impractical, maybe even unwise, to try to use them. |
Since you approved this PR (thanks!), I'll merge it and we can continue the |
Let's not worry enum type then in echopype, which makes things easier. :) |
See #1100 (comment)