-
Notifications
You must be signed in to change notification settings - Fork 36
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
Several minor fixes needed for marine BGC data. #2110
Conversation
cheers @ledm - could you pls fix the flake8 issues (line too long etc) 🍺 |
@ledm am giving you a hand here, so it's merged this m2.11 rather than postpone it yet again 👍 |
OK flake8 issues fixed, so we have green tests now, please proceed with work, and let me know when you'd want a review, or please change the milestone to M2.12 and see about it afterwards - up to you @ledm 🍺 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2110 +/- ##
=======================================
Coverage 94.38% 94.38%
=======================================
Files 246 246
Lines 13739 13743 +4
=======================================
+ Hits 12967 12971 +4
Misses 772 772 ☔ 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.
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.
Would be great if you can add some (minimal) tests for this, e.g.,
ESMValCore/tests/integration/cmor/_fixes/cmip6/test_bcc_esm1.py
Lines 61 to 69 in 9912921
def test_get_sos_fix(): | |
"""Test getting of fix.""" | |
fix = Fix.get_fixes('CMIP6', 'BCC-ESM1', 'Omon', 'sos') | |
assert fix == [Sos(None), GenericFix(None)] | |
def test_sos_fix(): | |
"""Test fix for ``sos``.""" | |
assert Sos is OceanFixGrid |
good call, Manu! I shall, imminently 🍺 |
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 @ledm @valeriupredoi 🚀
and danke Manu 🍺 |
Here are some fairly straightforward fixes for various CMIP6 models. Several of these models are simply not receiving the "standard" OceanFixGrid fixes that they need. Could we instead just apply that to every model - or is that a bad idea?
PR is a draft as it's a work in progress.