-
Notifications
You must be signed in to change notification settings - Fork 93
SnowSplitter output cube names are now the same as their StaGE couterparts #1975
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1975 +/- ##
==========================================
+ Coverage 97.15% 98.40% +1.24%
==========================================
Files 124 124
Lines 12065 12069 +4
==========================================
+ Hits 11722 11876 +154
+ Misses 343 193 -150 ☔ View full report in Codecov by Sentry. |
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.
One minor comment but otherwise I'm happy with this.
precip_cube = set_up_variable_cube( | ||
data, | ||
name="lwe_thickness_of_precipitation_amount", | ||
units="m/s", |
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 units for precip accumulation would typically be "m". This would also need an update in the tests.
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.
Done
* master: Bump actions/stale from 8 to 9 (metoppv#1972) Bump codecov/codecov-action from 3 to 4 (metoppv#1942) Bump actions/cache from 3 to 4 (metoppv#1977) Adds CLI to copy attributes from one NetCDF file to another. (metoppv#1976)
* master: Revert "Bump codecov/codecov-action from 3 to 4" (metoppv#1978)
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.
These changes look fine, however I think additional changes are required to the acceptance test data to accommodate them. At the moment this PR causes the snow_splitter
CLI acceptance tests to fail as the kgo cubes have incorrect cube names.
Oh dear. I must have been falling asleep to miss this. Acceptance Test PR added: metoppv/improver_test_data#42 |
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 @MoseleyS, this all looks good now.
…parts (metoppv#1975) * SnowSplitter output cube names are now the same as their StaGE couterparts. * Corrects failing test by inserting new fixture name. * Updates doc-strings * Sphinx error fix * Flake8 error fix caused by Sphinx error fix * Corrects units of accumulation data in snow splitter test * Updates checksums
Addresses https://metoffice.atlassian.net/browse/EPPT-650
While testing the EPP Precipitation Type workflows, I have found that the output cube names for rain/snow rate/accum data are not the same as the same data found on StaGE. For accumulation data, the rain and snow outputs had the names of the precipitation cube. This PR modifies the new cube name generation, which is generated from a precipitation cube name, so that:
Testing: