-
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
Standardize backscatter_r/i long_name, and correct units #1047
Conversation
…ml file, then use it consistently everywhere
…) and EK80 (dB, not V in some cases)
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## dev #1047 +/- ##
==========================================
- Coverage 80.79% 77.85% -2.94%
==========================================
Files 67 18 -49
Lines 6086 2908 -3178
==========================================
- Hits 4917 2264 -2653
+ Misses 1169 644 -525
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 50 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.
Thanks @emiliom : the changes look good. The "noqa" stuff is weird. I wonder if it does not work after an "," since all other working cases are not preceded by a comma.
One thing I saw while going through this is the messe organization of parsed2zarr code sprinkled in set_groups_base.py
. This is something hopefully #966 will address.
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.
Thanks @emiliom : the changes look good. The "noqa" stuff is weird. I wonder if it does not work after an "," since all other working cases are not preceded by a comma.
One thing I saw while going through this is the messe organization of parsed2zarr code sprinkled in set_groups_base.py
. This is something hopefully #966 will address.
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.
Thanks @emiliom : the changes look good. The "noqa" stuff is weird. I wonder if it does not work after an "," since all other working cases are not preceded by a comma.
One thing I saw while going through this is the messe organization of parsed2zarr code sprinkled in set_groups_base.py
. This is something hopefully #966 will address (I've added this to the issue description TODOs).
Great!
Good suggestion. I may give it a try.
Yeah, there was effectively a duplication of code. I didn't try to clean it up. As you said, hopefully some it will be addressed in #966. Thanks for flagging it in that issue's TODOs. You approved this PR, so it sounds like I can merge it. |
|
I've removed the |
…stics#1047) * Define backscatter_r and backscatter_i long_name in the convention yaml file, then use it consistently everywhere * Correct backscatter_r and backscatter_i units for AZFP (count, not dB) and EK80 (dB, not V in some cases) * Remove some non-operational # noqa flags added recently to set_groups_ modules
Addresses #643.
long_name
attribute inbackscatter_r
andbackscatter_i
variables for all instruments (except ad2cp) to use the SONAR-netCDF v1 strings. Now being set in single place, in thelong_name
attribute strings in theechodata/convention/1.0.yml
file.backscatter_r
units
string to "count", per recent discussion with @leewujung and in "Processed" power data in EK60/80backscatter_r
#643backscatter_r
/backscatter_i
assignment being made in some cases, where the unit was set to "V" rather than "dB". @leewujung please double check this!Note: I used
# noqa
for a couple of long lines, but black apparently ignored it. I guess we should remove the# noqa
flags?Side note: in my local test runs, I had two failures:
I've had these failures happen sporadically since March! I don't know why.