Skip to content
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

ACCESS-ESM1.5 QA test: CICE icefields_nml configuration #54

Merged
merged 5 commits into from
Aug 28, 2024

Conversation

jo-basevi
Copy link
Collaborator

@jo-basevi jo-basevi commented Aug 26, 2024

Added QA test for separate icefields_nml in ice_history.nml (in as described in #50)

Closes #50
Closes #44

Copy link

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.07%. Comparing base (2d538a5) to head (0e91aec).
Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
+ Coverage   73.48%   78.07%   +4.59%     
==========================================
  Files          15       15              
  Lines         724      748      +24     
==========================================
+ Hits          532      584      +52     
+ Misses        192      164      -28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jo-basevi
Copy link
Collaborator Author

I quickly added a generic test for the ACCESS-ESM1.5 specific config tests - to just checking the tests pass without error (and also to pass the codecov CI checks..)

I ran some manual tests with an configuration to test the error messages, and that they failed when expected

@jo-basevi jo-basevi marked this pull request as ready for review August 26, 2024 23:41
@CodeGat CodeGat self-requested a review August 26, 2024 23:49
CodeGat
CodeGat previously approved these changes Aug 26, 2024
Copy link
Collaborator

@CodeGat CodeGat left a 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!

Thanks for fixing up the codecov tests...the red crosses were a bit scary when I was doing the initial esm1.5 QA checks

@jo-basevi jo-basevi self-assigned this Aug 27, 2024
Copy link

@anton-seaice anton-seaice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like there are three things bundled into one PR here ?

  1. Adding a qa test for cice namelist
  2. rearranging the directories
  3. add a config for preindustrial+concentrations

In future we should do this as seperate PRs so we can track the changes easier and review it easier !

src/model_config_tests/qa/test_access_esm1p5_config.py Outdated Show resolved Hide resolved
@jo-basevi
Copy link
Collaborator Author

It seems like there are three things bundled into one PR here ?

Yes, sorry about that! I added the tests so they covered the lines I added in the first commit. But yeah next time, I'll add the wider tests for tests in an earlier PR.

CodeGat
CodeGat previously approved these changes Aug 28, 2024
anton-seaice
anton-seaice previously approved these changes Aug 28, 2024
Copy link

@anton-seaice anton-seaice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Jo! - I ran some adhoc tests using dev-historical+concentrations from https://github.com/ACCESS-NRI/access-esm1.5-configs

  • The default passes,
  • adding &icefields_nml to cice_in gives a positive failure, but the error message could be better,
  • adding fields to &setup_nml detects gives a positive failure for duplicated fields (correct)
  • renaming ice_history.nml & cice_in.nml both fail correctly

src/model_config_tests/qa/test_access_esm1p5_config.py Outdated Show resolved Hide resolved
src/model_config_tests/qa/test_access_esm1p5_config.py Outdated Show resolved Hide resolved
src/model_config_tests/qa/test_access_esm1p5_config.py Outdated Show resolved Hide resolved
@jo-basevi jo-basevi dismissed stale reviews from anton-seaice and CodeGat via 0e91aec August 28, 2024 03:17
Copy link

@anton-seaice anton-seaice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good Jo

@CodeGat
Copy link
Collaborator

CodeGat commented Aug 28, 2024

This should also close #44

@jo-basevi
Copy link
Collaborator Author

Thanks all for the reviews!

@jo-basevi jo-basevi merged commit 34abb46 into main Aug 28, 2024
8 checks passed
@jo-basevi jo-basevi deleted the 50-access-esm1p5-qa-ice-history-nml-test branch August 28, 2024 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ACCESS ESM1.5 CICE configuration Add further test-of-tests coverage for ACCESS-ESM1.5
3 participants