-
Notifications
You must be signed in to change notification settings - Fork 27
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
Enable seperate ice_history.nml & cice_in.nml settings #483
Enable seperate ice_history.nml & cice_in.nml settings #483
Conversation
Hello @anton-seaice! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-08-15 04:15:42 UTC |
@aidanheerdegen @blimlim - This is ready for review. To test, make a |
That would be great. We have an issue about the lack of driver docs And there isn't an example to leverage off at this point I'm afraid. But just adding some tests for this functionality in a driver test suite would be fantastic. There are some examples you could base that on here |
The expected behaviour for this change is :
|
I think that would require splitting the new lines in a function ? e.g. patch_nml(self) It feels a bit like overkill but maybe its sensible ? |
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.
Awesome, really glad that this is working!
Changes look good to me. I've just added a comment for an optional change, but am not sure that it's necessarily better.
Running on gadi with the history parameters separated into a separate namelist worked for me.
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.
I have an opinion or two ...
I added a test, and moved the 'dump_last' to the cice5 driver. I didn't add |
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.
LGTM
To enable simpler changes to the icefields namelist in cice, this change adds support for an
ice_history.nml
file which is spliced into the normal cice runtime settings (cice_in.nml
) by payu before the model is run.This follow the discussion in https://forum.access-hive.org.au/t/access-esm1-5-release-work-plan/1721/24
The contents of ice_history.nml can be anything which also would fit in cice_in.nml , but the intention is to move &icefields_nml to the ice_history file
Do we need to update docs ? Or tests ? There doesn't appear to be any of either at this point