-
Notifications
You must be signed in to change notification settings - Fork 2
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 test class for ACCESS-ESM1.6 #122
Conversation
I'll update the tests next week |
Also, do we want to address this first/now: #123 |
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #122 +/- ##
==========================================
+ Coverage 74.94% 75.21% +0.27%
==========================================
Files 17 18 +1
Lines 906 916 +10
==========================================
+ Hits 679 689 +10
Misses 227 227 ☔ View full report in Codecov by Sentry. |
Sounds good, thanks @blimlim. Tests fixed and ready for review then |
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.
Looks good to me
All the test resources files might not be needed at the moment - were they added pre-emptively for future tests? For the tests for parsing checksums (tests/test_model_extract_checksums.py
), I think it just requires the following test resources to work:
tests/resources/access-esm1.6/checksums/1-0-0.json
tests/resources/access-esm1.6/output000/access-esm1.6.out
Could add the dev-preindustrial+concentrations
to this parametrised test? I think it would need just the config.yaml file as well.
model-config-tests/tests/test_test_bit_reproducibility.py
Lines 225 to 236 in 123dd16
@pytest.mark.parametrize( | |
"model_name, output_0, configuration", | |
[ | |
("access", "output000", None), | |
("access", "output000", "release-preindustrial+concentrations"), | |
("access-om2", "output000", "release-1deg_jra55_ryf"), | |
("access-om3", "restart000", "om3-dev-1deg_jra55do_ryf"), | |
("access-om3", "restart000", "om3-wav-dev-1deg_jra55do_ryf"), | |
], | |
) | |
@pytest.mark.parametrize("fail", [False, True]) | |
def test_test_bit_repro_historical(tmp_dir, model_name, output_0, configuration, fail): |
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 @dougiesquire for fixing this up! Looks all good to me
a768dc0
to
b5e995f
Compare
Good point. I just copied the
As above, I've now remove the Sorry, could I get a re-approval from one of you @jo-basevi, @blimlim |
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 @dougiesquire - LGTM
Adds an ACCESS-ESM1.6 test class for use with the new ACCESS-ESM1.6 Payu driver. Closes #121