forked from ESCOMP/CDEPS
-
Notifications
You must be signed in to change notification settings - Fork 3
update to escomp cdeps1.0.58 #11
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
Merged
mvdebolskiy
merged 58 commits into
NorESMhub:noresm
from
mvertens:feature/update_to_cdeps1.0.58
Mar 20, 2025
Merged
update to escomp cdeps1.0.58 #11
mvdebolskiy
merged 58 commits into
NorESMhub:noresm
from
mvertens:feature/update_to_cdeps1.0.58
Mar 20, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note that cplhist_nextsw_cday_calc is intended to be a namelist parameter but is not yet implemented here.
cdeps1.0.10
… the entire ice sheet
add restart read/write for dglc%noevolve
…-0 case is handled correctly
…cesheets fix issues in refactor
…LC%NOEVOLVE_DWAV%CLIMO.derecho_intel passing
…_rpointer_timestamp
Add rpointer timestamp
…ries are present for a stream_entry
…tafiles entries are present for a stream_entry
add new JRA 1.5 streams for datm and drof
Change nextsw_cday calculation for cam_dev (CAM7) in cplhist mode ### Description of changes The radiation re-ordering in cam_dev (CAM7) requires a change to the calculation of nextsw_cday in cplhist mode. This PR introduces a new namelist variable, nextsw_cday_calc, which controls this behavior. The default value is appropriate for cplhist files generated with CAM7. Note that, by default, this namelist flag has no effect on non-cplhist cases (because of the default value of iradsw in non-cplhist cases). ### Specific notes Contributors other than yourself, if any: @billsacks @adamrher CDEPS Issues Fixed (include github issue #): Are there dependencies on other component PRs (if so list): Are changes expected to change answers (bfb, different to roundoff, more substantial): Greater than roundoff-level changes in cases using datm in CPLHIST mode. Any User Interface Changes (namelist or namelist defaults changes): New namelist variable, nextsw_cday_calc. Testing performed (e.g. aux_cdeps, CESM prealpha, etc): I have plugged this branch into the latest version of CTSM and ran the following tests: - SMS_D_Ld3.f10_f10_mg37.I1850Clm50BgcCrop.derecho_intel.clm-default - passes and bit-for-bit - SMS_D_Ld1.ne30pg3_t232.I1850Clm50BgcSpinup.derecho_intel.clm-cplhist - passes but changes answers as expected - SMS_D_Ld1.ne30pg3_t232.I1850Clm50BgcSpinup.derecho_intel.clm-cplhist, with the new namelist flag changed to "cam6" - passes and bit-for-bit Hashes used for testing: ctsm5.3.009
… rpfile parameters
backout the timestamp on rpointer files until alpha05c,
This is needed for UFS, which doesn't add this to the namelist
Change hard-coded default for nextsw_cday_calc - important for UFS ### 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-cplhist` with comparison against baseline, where I removed the nextsw_cday_calc from the namelist with these diffs: ```diff diff --git a/datm/cime_config/namelist_definition_datm.xml b/datm/cime_config/namelist_definition_datm.xml index 40935cf..06f6d99 100644 --- a/datm/cime_config/namelist_definition_datm.xml +++ b/datm/cime_config/namelist_definition_datm.xml @@ -348,31 +348,6 @@ </values> </entry> - <entry id="nextsw_cday_calc"> - <type>char</type> - <category>datm</category> - <group>datm_nml</group> - <valid_values>cam6,cam7</valid_values> - <desc> - Logic to use for calculating nextsw_cday. This variable has no effect when iradsw is - 0 or 1, so by default this only applies in CPLHIST cases. - - For CPLHIST cases, this should agree with the version of CAM (or other atmosphere - model) used to generate the CPLHIST forcings; the valid values for this variable are - based on this: 'cam6' is appropriate for cases generated with the driver ordering in - CAM6 and earlier, and 'cam7' is appropriate for cases generated with the driver - ordering in CAM7 and later. - - For 'cam6', the next radiation timestep is set to the present time plus 2 timesteps - when mod(tod+dtime,delta_radsw)==0. For 'cam7', the next radiation timestep is set - to the present time plus 1 timestep when mod(tod,delta_radsw)==0. - </desc> - <values> - <value>cam6</value> - <value datm_mode="CPLHIST">cam7</value> - </values> - </entry> - <entry id="restfilm"> <type>char</type> <category>datm</category> ``` 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).
2 tasks
21 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
Still needs testing
Specific notes
Contributors other than yourself, if any:
CDEPS Issues Fixed (include github issue #):
Are there dependencies on other component PRs (if so list):
Are changes expected to change answers (bfb, different to roundoff, more substantial):
Any User Interface Changes (namelist or namelist defaults changes):
Testing performed (e.g. aux_cdeps, CESM prealpha, etc):
Hashes used for testing: