Change hard-coded default for nextsw_cday_calc - important for UFS#315
Conversation
This is needed for UFS, which doesn't add this to the namelist
uturuncoglu
left a comment
There was a problem hiding this comment.
Thanks for the fix and sorry about extra work. The change looks good to me. I wonder if you test this without giving nextsw_cday_calc option. It seems that you test it by removing some entry from cım interface but I could not be sure about it.
No need for you to apologize, @uturuncoglu - I apologize for not having considered the impact this might have on UFS. Yes, the diff I tested with made it so that the new |
Description of changes
Change hard-coded default for nextsw_cday_calc to be a valid option that will give backwards compatibility. This is needed for UFS, which doesn't add this to the namelist. This should have no impact for CESM.
Specific notes
Contributors other than yourself, if any:
CDEPS Issues Fixed (include github issue #):
Are there dependencies on other component PRs (if so list): No
Are changes expected to change answers (bfb, different to roundoff, more substantial): No
Any User Interface Changes (namelist or namelist defaults changes): No
Testing performed (e.g. aux_cdeps, CESM prealpha, etc):
Ran
SMS_D_Ld1.ne30pg3_t232.I1850Clm50BgcSpinup.derecho_intel.clm-cplhistwith comparison against baseline, where I removed the nextsw_cday_calc from the namelist with these diffs:I ensured this passed and was bit-for-bit.
Hashes used for testing:
CTSM at ctsm5.3.009. The latest CDEPS doesn't work in the context of that CTSM tag, so instead I cherry-picked this commit onto 1f317a3 (from the original nextsw_cday branch).