-
Notifications
You must be signed in to change notification settings - Fork 132
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
Write restart at end of run via NUOPC component attribute & Initialize cpl_scalar field when created for UFS #969
Write restart at end of run via NUOPC component attribute & Initialize cpl_scalar field when created for UFS #969
Conversation
* Add end of run restart file functionality * Add CICE write_restart_at_endofrun config option call * Update cice_wrapper_mod.F90
Thanks @NickSzapiro-NOAA - I didn't test but the code looks good. Is supoprt for |
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.
This looks good to me. We have had a request for it in CESM as well.
Does the namelist flag |
@eclare108213 I don't think there is an issue w/ |
Ok, as you wish! |
…e cpl_scalar field when created for UFS (CICE-Consortium#969) These are two commits cherry-picked from as in UFS and needed to close #84. This PR adds the ability for CICE to write restart files at the end of the run (independent of other settings) and controlled via the CMEPS configuration option write_restart_at_endofrun. Setting this configuration option to True creates a restart file in the same way for CMEPS, MOM6, and CICE. This PR also initializes the scalar field value for the index for NTile (implemented for FV3) not used or set in CICE. In certain cases, the scalar field value for this index has been found to be non-zero (NaN in debug compiles). This is the cause of the failure reported in ufs-community/ufs-weather-model#2338. * Add end of run functionality to CICE (#77) * initialize cpl_scalar field when created (#83) --------- Co-authored-by: Daniel Sarmiento <42810219+dpsarmie@users.noreply.github.com> Co-authored-by: Denise Worthen <denise.worthen@noaa.gov>
For detailed information about submitting Pull Requests (PRs) to the CICE-Consortium,
please refer to: https://github.com/CICE-Consortium/About-Us/wiki/Resource-Index#information-for-developers
PR checklist
Write restart at end of run via NUOPC attribute. Initialize cpl_scalar field when created
Daniel Sarmiento & Denise Worthen
Tested in UFS. See Add end of run functionality to CICE NOAA-EMC/CICE#77 and initialize cpl_scalar field when created NOAA-EMC/CICE#83, respectively
These are two commits cherry-picked from as in UFS and needed to close NOAA-EMC#84.
This PR adds the ability for CICE to write restart files at the end of the run (independent of other settings) and controlled via the CMEPS configuration option write_restart_at_endofrun. Setting this configuration option to True creates a restart file in the same way for CMEPS, MOM6, and CICE.
This PR also initializes the scalar field value for the index for
NTile
(implemented for FV3) not used or set in CICE. In certain cases, the scalar field value for this index has been found to be non-zero (NaN in debug compiles). This is the cause of the failure reported in ufs-community/ufs-weather-model#2338.