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

Rpointers update cdeps #12

Merged
merged 135 commits into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
2afdcd9
Change nextsw_cday calculation for CAM7 in cplhist mode.
olyson May 2, 2023
2891f70
Merge tag 'cdeps1.0.10' into nextsw_cday
olyson May 2, 2023
7ea7866
Create cplhist mode for dice (#62)
NickSzapiro-NOAA Jun 11, 2024
cf09feb
remove the test for rc after the restart_write calls in ice_comp_nuop…
NickSzapiro-NOAA Aug 2, 2024
0ad75da
Merge branch 'main' into escomp_dice_cplhist
NickSzapiro-NOAA Aug 29, 2024
0a7940b
Remove datm_datamode_cfsr
NickSzapiro-NOAA Aug 29, 2024
8e1f68d
Fixed usrf bug and first draft simple hole filling for neg qice
Katetc Aug 29, 2024
da714ce
Passing logunit to run comp subroutine
Katetc Aug 29, 2024
aedd722
Fix step 2, scaled removal by fraction of local positives
Katetc Aug 30, 2024
b73abc3
Third step complete, added global sums to spread calculation out over…
Katetc Aug 30, 2024
9a8afbc
Fixed area weighting on application
Katetc Aug 30, 2024
1f7234f
starting the translation
jedwards4b Aug 30, 2024
78f7c21
add new JRA 1.5 streams for datm and drof
alperaltuntas Aug 31, 2024
99ae4e6
add restart functionality for dglc%noevolve
mvertens Sep 2, 2024
7b78b8f
got both write and read restarts working
mvertens Sep 2, 2024
b2ded39
fixed problems in github CI
mvertens Sep 3, 2024
975b9f4
Merge tag 'cdeps1.0.49' into feature/add_restart_for_dglc
mvertens Sep 3, 2024
5020df6
Merge pull request #306 from mvertens/feature/add_restart_for_dglc
jedwards4b Sep 3, 2024
4f63063
Merge remote-tracking branch 'origin/main' into add_rpointer_timestamp
jedwards4b Sep 3, 2024
5251638
Removed second area weighting and second if clause to make sure the 0…
Katetc Sep 3, 2024
9d057d7
fix issues in refactor
jedwards4b Sep 4, 2024
e982ef2
fix varid in write
jedwards4b Sep 4, 2024
276e2a1
reorder iodesc destroy
jedwards4b Sep 4, 2024
8b7314b
Merge pull request #307 from jedwards4b/dglc_fix_for_multiple_icesheets
jedwards4b Sep 4, 2024
7cdf9a5
modify restart read
jedwards4b Sep 4, 2024
2e0a332
Merge up new changes from main
Katetc Sep 4, 2024
e05b9cd
save before reverting to main
jedwards4b Sep 4, 2024
e65d8d9
save before reverting to main
jedwards4b Sep 4, 2024
34838d2
One more review comment addressed
Katetc Sep 5, 2024
863def0
restart ERS.f19_g17.2000_DATM%NYF_SLND_DICE%SSMI_DOCN%DOM_DROF%NYF_DG…
jedwards4b Sep 5, 2024
328d94a
update aux_cdeps tests for cesm3
jedwards4b Sep 5, 2024
9b22a50
Final code cleanup and review comments
Katetc Sep 5, 2024
51606cf
Merge remote-tracking branch 'mydev/update_cdeps_testslists' into add…
jedwards4b Sep 6, 2024
a82f794
Merge branch 'main' into update_cdeps_testslists
jedwards4b Sep 6, 2024
77dcbe1
Merge pull request #309 from jedwards4b/update_cdeps_testslists
jedwards4b Sep 6, 2024
03057bd
add use statement in lnd and change to restart test for dglc
jedwards4b Sep 6, 2024
5b604f9
Merge branch 'main' into katetc/dglc_negfluxes
Katetc Sep 6, 2024
f6bc974
Merge pull request #303 from Katetc/katetc/dglc_negfluxes
jedwards4b Sep 6, 2024
93cc684
revert change to test, update nuopc_shr_methods
jedwards4b Sep 6, 2024
e0c561d
Merge branch 'main' into add_rpointer_timestamp
jedwards4b Sep 6, 2024
f90b42e
add DATAMODELTEST compset alias
jedwards4b Sep 6, 2024
743120d
fix ocn_aquap analytic cases
jedwards4b Sep 11, 2024
4fecfe3
fix testlist_dglc formating
jedwards4b Sep 30, 2024
302c33f
remove the config_compsets file
jedwards4b Oct 1, 2024
d5da82e
update nuopc_shr_methods to share1.1.3
jedwards4b Oct 1, 2024
c2c4274
fix issue in docn
jedwards4b Oct 3, 2024
5265d92
Merge branch 'main' into nextsw_cday
billsacks Oct 9, 2024
1eacdcc
Merge pull request #311 from jedwards4b/add_rpointer_timestamp
jedwards4b Oct 15, 2024
f87f18d
refactor alarm code for endofrun restart writes
jedwards4b Oct 17, 2024
d2fa455
remove unused dshr_time_init
jedwards4b Oct 17, 2024
0c37744
fix input_data_list generation for when multiple stream_datafiles ent…
alperaltuntas Oct 25, 2024
37b1a13
extend jra v1.5 to 2023
alperaltuntas Oct 25, 2024
573df5d
Merge branch 'main' into add_jra1_5
jedwards4b Oct 25, 2024
faa59db
fix (for real) input_data_list generation for when multiple stream_da…
alperaltuntas Oct 25, 2024
11d937e
Add a namelist flag controlling the nextsw_cday calculation
billsacks Oct 30, 2024
83eb0d9
Merge pull request #304 from alperaltuntas/add_jra1_5
jedwards4b Oct 30, 2024
7ca8548
remove extra instance append in dglc
jedwards4b Oct 31, 2024
1f317a3
Improve documentation of nextsw_cday_calc and iradsw
billsacks Oct 31, 2024
329188c
Merge remote-tracking branch 'escomp/main' into nextsw_cday
billsacks Nov 1, 2024
f270f58
Merge pull request #229 from olyson/nextsw_cday
billsacks Nov 5, 2024
3e3ca18
backout the timestamp on rpointer files until alpha05c, remove unused…
jedwards4b Nov 6, 2024
ffed006
Merge branch 'main' into backout_rpointer_timestamp
jedwards4b Nov 6, 2024
4165d06
Merge pull request #314 from jedwards4b/backout_rpointer_timestamp
jedwards4b Nov 6, 2024
89df6c3
Change hard-coded default for nextsw_cday_calc
billsacks Nov 8, 2024
144fd9f
Merge pull request #315 from billsacks/nextsw_cday_default
billsacks Nov 8, 2024
bfd038f
add back rpointer timestamps
jedwards4b Dec 6, 2024
a4e9d13
Merge pull request #316 from jedwards4b/reinsert_rpointer_tstamp
jedwards4b Dec 6, 2024
775ec1d
Revert "add back rpointer timestamps"
jedwards4b Dec 9, 2024
1d99282
correct readd of rpointer timestamps
jedwards4b Dec 9, 2024
8197f05
Merge pull request #317 from jedwards4b/readd_rpointer_timestamps
jedwards4b Dec 9, 2024
ae61417
update nuopc_shr_methods to match share code
jedwards4b Dec 16, 2024
fd111ed
update to work with ufs
jedwards4b Dec 16, 2024
cccf66a
one more try
jedwards4b Dec 16, 2024
0750c91
Merge pull request #318 from jedwards4b/fix/nuopc_shr_methods
jedwards4b Dec 16, 2024
4a34e46
add restart_fh mod to share to enable github testing of ufs build
DeniseWorthen Dec 18, 2024
5c715db
replace calls to esmf_logmsg_error with shr_abort
jedwards4b Jan 23, 2025
a4de12d
use ESMF_FINALIZE here
jedwards4b Jan 23, 2025
0e3a3ca
remove unused variable
jedwards4b Jan 23, 2025
3539203
fix typo
jedwards4b Jan 23, 2025
27c145b
fix syntax error
jedwards4b Jan 23, 2025
c492b6a
add missing module import
jedwards4b Jan 24, 2025
baa3024
Merge pull request #320 from jedwards4b/replace_esmf_logmsg_error_shr…
jedwards4b Jan 24, 2025
4aa602b
use shr_log_error and pass up stack
jedwards4b Jan 30, 2025
3cd9f5b
add the updated shr_log_mod and shr_abort_mod files
jedwards4b Jan 30, 2025
28f4aa0
some need to remain shr_sys_abort (no return code available)
jedwards4b Jan 30, 2025
da2ddae
need a msg here
jedwards4b Jan 30, 2025
f45f398
no return code here, use abort
jedwards4b Jan 31, 2025
f529284
no return code here, use abort
jedwards4b Jan 31, 2025
01b4d45
no return code here, use abort
jedwards4b Jan 31, 2025
7025adb
clean up
jedwards4b Jan 31, 2025
5c5514d
more cleanup
jedwards4b Jan 31, 2025
2684ab7
fix ref to shr_sys_abort
jedwards4b Feb 3, 2025
241dfb3
Merge branch 'main' into feature/add_restartfh
jedwards4b Feb 5, 2025
bb7cfd7
Merge pull request #319 from DeniseWorthen/feature/add_restartfh
jedwards4b Feb 5, 2025
2385f03
Make CRUJRA2024 the default datm input for clm6
slevis-lmwg Feb 7, 2025
29b08fe
response to comments
jedwards4b Feb 10, 2025
e014b9e
additional documentation
jedwards4b Feb 10, 2025
bfb435b
Merge branch 'main' into mk_crujra_default
jedwards4b Feb 10, 2025
23079d7
Merge branch 'main' into shr_log_error
jedwards4b Feb 10, 2025
44c5203
cleanup whitespace
jedwards4b Feb 10, 2025
15e93d3
Removed plain CRU from config_component.xml
slevis-lmwg Feb 11, 2025
db187f7
Change testlist_datm following Erik's review
slevis-lmwg Feb 11, 2025
ec0a0c8
Merge pull request #321 from jedwards4b/shr_log_error
jedwards4b Feb 12, 2025
3000f0c
Fix bug in four shr_sys_abort calls
slevis-lmwg Feb 12, 2025
6fa792e
Add CRUv7 defaults previously set as CRU (the latter is removed now)
slevis-lmwg Feb 12, 2025
1bcd85a
Revert "Fix bug in four shr_sys_abort calls"
slevis-lmwg Feb 12, 2025
7e149c3
Merge remote-tracking branch 'origin/main' into mk_crujra_default
slevis-lmwg Feb 12, 2025
0fad468
Small updates in config_component.xml that I missed earlier
slevis-lmwg Feb 13, 2025
92a99c7
Merge branch 'main' into add_rpointer_timestamp
jedwards4b Mar 4, 2025
4c50216
Merge pull request #312 from jedwards4b/add_rpointer_timestamp
jedwards4b Mar 4, 2025
83af0a4
Merge branch 'main' into escomp_dice_cplhist
jedwards4b Mar 4, 2025
2a6af66
Update dshr_restart_{read,write} calls in dice_datamode_cplhist_mod.F90
NickSzapiro-NOAA Mar 5, 2025
ca49538
Remove gcomp from dice_datamode_ssmi_restart_read in dice_datamode_ss…
NickSzapiro-NOAA Mar 5, 2025
7a2d75a
Update dice_datamode_{ssmi,cplhist}_restart_read calls in ice_comp_nu…
NickSzapiro-NOAA Mar 5, 2025
9e5701c
rpfile as read,write arguments in dice_datamode_cplhist_mod.F90
NickSzapiro-NOAA Mar 5, 2025
bfd49ab
rpfile in call dice_datamode_cplhist_restart_write in ice_comp_nuopc.F90
NickSzapiro-NOAA Mar 5, 2025
c460020
Merge 'ESCOMP/main' into escomp_simplify_datm
NickSzapiro-NOAA Mar 5, 2025
3eba3ea
Remove isPresent,isSet wrongly added around flds_i2o_per_cat in ice_c…
NickSzapiro-NOAA Mar 5, 2025
36635bd
Merge pull request #290 from NickSzapiro-NOAA/escomp_dice_cplhist
jedwards4b Mar 5, 2025
247e941
Merge branch 'main' into escomp_simplify_datm
jedwards4b Mar 5, 2025
bb29e46
Merge pull request #300 from NickSzapiro-NOAA/escomp_simplify_datm
jedwards4b Mar 5, 2025
4f9b463
Merge branch 'main' into mk_crujra_default
jedwards4b Mar 5, 2025
1fb4025
Change path to the CRUJRA2024 data for consistency with other datasets
slevis-lmwg Mar 7, 2025
aea26e4
For DATM%CLMCRUJRA2024, change datamode and datm_mode to CLMNCEP
slevis-lmwg Mar 7, 2025
32f3517
Add comment explaining the four new tests in testlist_datm.xml
slevis-lmwg Mar 7, 2025
ea4e3c6
Merge branch 'main' into rpointers-update-cdeps
mvdebolskiy Mar 7, 2025
ef16f09
Corrections to a test and corresponding comments based on Erik's review
slevis-lmwg Mar 7, 2025
54af59f
Removed duplicate new test
slevis-lmwg Mar 7, 2025
faaa8ef
Merge pull request #322 from slevis-lmwg/mk_crujra_default
jedwards4b Mar 10, 2025
43ba720
update 1850 and HIST compset names to allow for Concentration or Emis…
jedwards4b Mar 10, 2025
3f37963
Merge pull request #325 from jedwards4b/update_compset_names
jedwards4b Mar 10, 2025
3d85008
Merge remote-tracking branch 'origin/main' into mk_crujra_default
slevis-lmwg Mar 10, 2025
b7b8f5c
Rename mesh file and remove /inputs from CRUJRA paths
slevis-lmwg Mar 10, 2025
44dfda4
Merge pull request #326 from slevis-lmwg/mk_crujra_default
jedwards4b Mar 12, 2025
30847df
Merge remote-tracking branch 'escomp/HEAD' into rpointers-update-cdeps
mvdebolskiy Mar 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cime_config/stream_cdeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ def create_stream_xml(
elif node_name == "stream_datafiles":
# Get the resolved stream data files
stream_vars[node_name] = ""
stream_datafiles_list = [] # to join stream_datafiles if multiple entries are present
stream_datafiles = ""
for child in self.get_children(root=node):
if (
Expand Down Expand Up @@ -306,6 +307,8 @@ def create_stream_xml(
stream_datafiles.split("\n"), "file"
)
# endif
stream_datafiles_list.append(stream_datafiles)
stream_datafiles = "\n".join(stream_datafiles_list)
elif node_name in xml_scalar_names:
attributes["model_grid"] = case.get_value("GRID")
attributes["compset"] = case.get_value("COMPSET")
Expand Down
1 change: 0 additions & 1 deletion datm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set(SRCFILES atm_comp_nuopc.F90
datm_datamode_core2_mod.F90
datm_datamode_jra_mod.F90
datm_datamode_gefs_mod.F90
datm_datamode_cfsr_mod.F90
datm_datamode_era5_mod.F90
datm_datamode_simple_mod.F90)

Expand Down
177 changes: 77 additions & 100 deletions datm/atm_comp_nuopc.F90

Large diffs are not rendered by default.

87 changes: 54 additions & 33 deletions datm/cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
This file may have atm desc entries.
-->
<description modifier_mode="1">
<desc atm="DATM[%QIA][%WISOQIA][%CRU][%CRUv7][%GSWP3v1][%MOSARTTEST][%NLDAS2][%CPLHIST][%1PT][%NYF][%IAF][%JRA][%JRA-1p4-2018][%JRA-RYF8485][%JRA-RYF9091][%JRA-RYF0304][%SIMPLE]"> Data driven ATM </desc>
<desc atm="DATM[%QIA][%WISOQIA][%CRUJRA2024][%CRUv7][%GSWP3v1][%MOSARTTEST][%NLDAS2][%CPLHIST][%1PT][%NYF][%IAF][%JRA][%JRA-1p4-2018][%JRA-1p5-2023][%JRA-RYF8485][%JRA-RYF9091][%JRA-RYF0304][%SIMPLE]"> Data driven ATM </desc>
<desc option="QIA"> QIAN data set </desc>
<desc option="WISOQIA">QIAN with water isotopes</desc>
<desc option="CRU"> CRUNCEP data set </desc>
<desc option="CRUJRA2024"> CRUJRA 2024 data set </desc>
<desc option="CRUv7"> CLM CRU NCEP v7 data set </desc>
<desc option="GSWP3v1"> GSWP3v1 data set </desc>
<desc option="NLDAS2"> NLDAS2 regional 0.125 degree data set over the U.S. (25-53N, 235-293E). WARNING: Garbage data will be produced for runs extending beyond this regional domain. </desc>
Expand All @@ -23,6 +23,7 @@
<desc option="IAF">COREv2 interannual forcing</desc>
<desc option="JRA">interannual JRA55 forcing</desc>
<desc option="JRA-1p4-2018">interannual JRA55 forcing, v1.4, through 2018</desc>
<desc option="JRA-1p5-2023">interannual JRA55 forcing, v1.5, through 2023</desc>
<desc option="JRA-RYF8485"> JRA55 Repeat Year Forcing v1.3 1984-1985</desc>
<desc option="JRA-RYF9091"> JRA55 Repeat Year Forcing v1.3 1990-1991</desc>
<desc option="JRA-RYF0304"> JRA55 Repeat Year Forcing v1.3 2003-2004</desc>
Expand All @@ -41,21 +42,23 @@

<entry id="DATM_MODE">
<type>char</type>
<valid_values>CORE2_NYF,CORE2_IAF,CLM_QIAN,CLM_QIAN_WISO,1PT,CLMCRUNCEP,CLMCRUNCEPv7,CLMGSWP3v1,CLMNLDAS2,CPLHIST,CORE_IAF_JRA,CORE_IAF_JRA_1p4_2018,ERA5,SIMPLE</valid_values>
<valid_values>CORE2_NYF,CORE2_IAF,CLM_QIAN,CLM_QIAN_WISO,1PT,CLMCRUJRA2024,CLMCRUNCEPv7,CLMGSWP3v1,CLMNLDAS2,CPLHIST,CORE_IAF_JRA,CORE_IAF_JRA_1p4_2018,CORE_IAF_JRA_1p5_2023,ERA5,SIMPLE</valid_values>
<default_value>CORE2_NYF</default_value>
<group>run_component_datm</group>
<file>env_run.xml</file>
<desc>Mode for data atmosphere component.
CORE2_NYF (CORE2 normal year forcing) are modes used in forcing prognostic ocean/sea-ice components.
CLMCRUNCEPv7, CLMGSWP3v1, CLMNLDAS2 and 1PT are modes using observational data for forcing prognostic land components.
CLMCRUJRA2024, CLMCRUNCEPv7, CLMGSWP3v1, CLMNLDAS2 and 1PT are modes using observational data for forcing prognostic land components.
WARNING for CLMNLDAS2: This is a regional forcing dataset over the U.S. (25-53N, 235-293E). Garbage data will be produced for runs extending beyond this regional domain. </desc>
<values match="last">
<value compset="DATM%NYF">CORE2_NYF</value>
<value compset="DATM%IAF">CORE2_IAF</value>
<value compset="DATM%JRA">CORE_IAF_JRA</value>
<value compset="DATM%JRA-1p4-2018">CORE_IAF_JRA_1p4_2018</value>
<value compset="DATM%JRA-1p5-2023">CORE_IAF_JRA_1p5_2023</value>
<value compset="DATM%QIA">CLM_QIAN</value>
<value compset="DATM%WISOQIA">CLM_QIAN_WISO</value>
<value compset="DATM%CRUJRA2024">CLMCRUJRA2024</value>
<value compset="DATM%CRUv7">CLMCRUNCEPv7</value>
<value compset="DATM%GSWP3v1">CLMGSWP3v1</value>
<value compset="DATM%NLDAS2">CLMNLDAS2</value>
Expand All @@ -71,7 +74,7 @@
<valid_values>none,clim_1850,clim_2000,clim_2010,hist,SSP1-1.9,SSP1-2.6,SSP2-4.5,SSP3-7.0,SSP4-3.4,SSP4-6.0,SSP5-3.4,SSP5-8.5,cplhist</valid_values>
<default_value>clim_2000</default_value>
<values match="last">
<value compset="^1850_" >clim_1850</value>
<value compset="^1850[CE]?_" >clim_1850</value>
<value compset="^2000_" >clim_2000</value>
<value compset="^2010_" >clim_2010</value>
<value compset="^SSP119_" >SSP1-1.9</value>
Expand All @@ -82,7 +85,7 @@
<value compset="^SSP460_" >SSP4-6.0</value>
<value compset="^SSP534_" >SSP5-3.4</value>
<value compset="^SSP585_" >SSP5-8.5</value>
<value compset="^HIST_" >hist</value>
<value compset="^HIST[CE]?_" >hist</value>
<value compset="^20TR_" >hist</value>
<value compset="_DATM%CPLHIST">cplhist</value>
<value compset="_DATM.*_DICE.*_DOCN.*_DROF">none</value>
Expand All @@ -97,14 +100,14 @@
<valid_values>none,clim_1850,clim_2000,clim_2010,hist,SSP1-2.6,SSP2-4.5,SSP3-7.0,SSP5-3.4,SSP5-8.5,cplhist</valid_values>
<default_value>clim_2000</default_value>
<values match="last">
<value compset="^1850_" >clim_1850</value>
<value compset="^1850[CE]?_" >clim_1850</value>
<value compset="^2000_" >clim_2000</value>
<value compset="^2010_" >clim_2010</value>
<value compset="^SSP126_" >SSP1-2.6</value>
<value compset="^SSP245_" >SSP2-4.5</value>
<value compset="^SSP370_" >SSP3-7.0</value>
<value compset="^SSP585_" >SSP5-8.5</value>
<value compset="^HIST_" >hist</value>
<value compset="^HIST[CE]?_" >hist</value>
<value compset="^20TR_" >hist</value>
<value compset="_DATM%CPLHIST">cplhist</value>
<value compset="_DATM.*_DICE.*_DOCN.*_DROF">none</value>
Expand All @@ -119,13 +122,13 @@
<valid_values>none,clim_1850,clim_2000,clim_2010,hist,SSP2-4.5,SSP3-7.0,SSP5-8.5</valid_values>
<default_value>clim_2000</default_value>
<values match="last">
<value compset="^1850_" >clim_1850</value>
<value compset="^1850[CE]?_" >clim_1850</value>
<value compset="^2000_" >clim_2000</value>
<value compset="^2010_" >clim_2010</value>
<value compset="^SSP245_" >SSP2-4.5</value>
<value compset="^SSP370_" >SSP3-7.0</value>
<value compset="^SSP585_" >SSP5-8.5</value>
<value compset="^HIST_" >hist</value>
<value compset="^HIST[CE]?_" >hist</value>
<value compset="^20TR_" >hist</value>
<!-- Only needed for compsets with active land; only in DATM CLMNCEP mode -->
<value compset="_SLND">none</value>
Expand Down Expand Up @@ -164,7 +167,7 @@
<value compset="^SSP460_">SSP4-6.0</value>
<value compset="^SSP534_">SSP5-3.4</value>
<value compset="^SSP585_">SSP5-8.5</value>
<value compset="^HIST" >20tr</value>
<value compset="^HIST[CE]?_" >20tr</value>
<value compset="^20TR" >20tr</value>
<value compset="^OMIP_DATM%IAF.*_POP2%[^_]*ECO">omip.iaf</value>
<value compset="^OMIP_DATM%JRA.*_POP2%[^_]*ECO">omip.jra</value>
Expand Down Expand Up @@ -215,20 +218,22 @@
<values match="last">
<value compset="2000.*_DATM%1PT">$DATM_YR_START</value>
<value compset="1850.*_DATM%QIA">1</value>
<value compset="1850.*_DATM%CRU">1</value>
<value compset="1850.*_DATM%CRUJRA2024">1</value>
<value compset="1850.*_DATM%CRUv7">1</value>
<value compset="1850.*_DATM%GSW">1</value>
<value compset="HIST.*_DATM%QIA">1895</value>
<value compset="HIST.*_DATM%CRU">1901</value>
<value compset="HIST.*_DATM%CRUJRA2024">1901</value>
<value compset="HIST.*_DATM%CRUv7">1901</value>
<value compset="HIST.*_DATM%GSW">1901</value>
<value compset="HIST.*_DATM%NLDAS2">$DATM_YR_START</value>
<value compset="20TR.*_DATM%QIA">1895</value>
<value compset="20TR.*_DATM%CRU">1901</value>
<value compset="20TR.*_DATM%CRUJRA2024">1901</value>
<value compset="20TR.*_DATM%CRUv7">1901</value>
<value compset="20TR.*_DATM%GSW">1901</value>
<value compset="SSP.*_DATM%QIA">$DATM_YR_START</value>
<value compset="SSP.*_DATM%CRU">$DATM_YR_START</value>
<value compset="SSP.*_DATM%CRUJRA2024">$DATM_YR_START</value>
<value compset="SSP.*_DATM%CRUv7">$DATM_YR_START</value>
<value compset="SSP.*_DATM%GSW">$DATM_YR_START</value>
<value compset="1850.*_DATM%CRU">1</value>
<value compset="1850.*_DATM%GSW">1</value>
<value compset="2000.*_DATM">$DATM_YR_START</value>
<value compset="2003.*_DATM">$DATM_YR_START</value>
<value compset="2010.*_DATM">$DATM_YR_START</value>
Expand Down Expand Up @@ -261,28 +266,36 @@
<value compset="2000.*_DATM%1PT" grid="1x1_vancouverCAN" >1992</value>
<value compset="2000.*_DATM%1PT" grid="1x1_urbanc_alpha" >1</value>
<value compset="1850.*_DATM%QIA">1948</value>
<value compset="1850.*_DATM%CRU">1901</value>
<value compset="1850.*_DATM%CRUJRA2024">1901</value>
<value compset="1850.*_DATM%CRUv7">1901</value>
<value compset="1850.*_DATM%GSW">1901</value>
<value compset="1850.*_DATM%NLDAS2">0</value> <!-- Unsupported -->
<value compset="2000.*_DATM%WISOQIA">2000</value>
<value compset="2000.*_DATM%QIA">1972</value>
<value compset="HIST.*_DATM%QIA">1948</value>
<value compset="HIST.*_DATM%CRU">1901</value>
<value compset="HIST.*_DATM%CRUJRA2024">1901</value>
<value compset="HIST.*_DATM%CRUv7">1901</value>
<value compset="HIST.*_DATM%GSW">1901</value>
<value compset="HIST.*_DATM%NLDAS2">0</value> <!-- Unsupported -->
<value compset="20TR.*_DATM%QIA">1948</value>
<value compset="20TR.*_DATM%CRU">1901</value>
<value compset="20TR.*_DATM%CRUJRA2024">1901</value>
<value compset="20TR.*_DATM%CRUv7">1901</value>
<value compset="20TR.*_DATM%GSW">1901</value>
<value compset="20TR.*_DATM%NLDAS2">0</value> <!-- Unsupported -->
<value compset="4804.*_DATM%QIA">1948</value>
<value compset="SSP.*_DATM%QIA" >1995</value>
<value compset="SSP.*_DATM%CRU" >2001</value>
<value compset="SSP.*_DATM%CRUJRA2024" >2001</value>
<value compset="SSP.*_DATM%CRUv7">2001</value>
<value compset="SSP.*_DATM%GSW" >2001</value>
<value compset="2003.*_DATM%QIA.*_TEST">2002</value>
<value compset="1850.*_DATM%CRU">1901</value>
<value compset="2000.*_DATM%CRU">1991</value>
<value compset="2003.*_DATM%CRU">2002</value>
<value compset="2010.*_DATM%CRU">2005</value>
<value compset="1850.*_DATM%CRUJRA2024">1901</value>
<value compset="2000.*_DATM%CRUJRA2024">1991</value>
<value compset="2003.*_DATM%CRUJRA2024">2002</value>
<value compset="2010.*_DATM%CRUJRA2024">2005</value>
<value compset="1850.*_DATM%CRUv7">1901</value>
<value compset="2000.*_DATM%CRUv7">1991</value>
<value compset="2003.*_DATM%CRUv7">2002</value>
<value compset="2010.*_DATM%CRUv7">2005</value>
<value compset="1850.*_DATM%GSW">1901</value>
<value compset="2000.*_DATM%GSW">1991</value>
<value compset="2010.*_DATM%GSW">2005</value>
Expand Down Expand Up @@ -315,28 +328,36 @@
<value compset="2000.*_DATM%1PT" grid="1x1_vancouverCAN" >1992</value>
<value compset="2000.*_DATM%1PT" grid="1x1_urbanc_alpha" >2</value>
<value compset="1850.*_DATM%QIA">1972</value>
<value compset="1850.*_DATM%CRU">1920</value>
<value compset="1850.*_DATM%CRUJRA2024">1920</value>
<value compset="1850.*_DATM%CRUv7">1920</value>
<value compset="1850.*_DATM%GSW">1920</value>
<value compset="1850.*_DATM%NLDAS2">-1</value> <!-- Unsupported -->
<value compset="2000.*_DATM%WISOQIA">2004</value>
<value compset="2000.*_DATM%QIA">2004</value>
<value compset="HIST.*_DATM%QIA">1972</value>
<value compset="HIST.*_DATM%CRU">1920</value>
<value compset="HIST.*_DATM%CRUJRA2024">1920</value>
<value compset="HIST.*_DATM%CRUv7">1920</value>
<value compset="HIST.*_DATM%GSW">1920</value>
<value compset="HIST.*_DATM%NLDAS2">-1</value> <!-- Unsupported -->
<value compset="20TR.*_DATM%QIA">1972</value>
<value compset="20TR.*_DATM%CRU">1920</value>
<value compset="20TR.*_DATM%CRUJRA2024">1920</value>
<value compset="20TR.*_DATM%CRUv7">1920</value>
<value compset="20TR.*_DATM%GSW">1920</value>
<value compset="20TR.*_DATM%NLDAS2">-1</value> <!-- Unsupported -->
<value compset="4804.*_DATM%QIA">2004</value>
<value compset="SSP.*_DATM%QIA">2004</value>
<value compset="SSP.*_DATM%CRU">2016</value>
<value compset="SSP.*_DATM%CRUJRA2024">2023</value>
<value compset="SSP.*_DATM%CRUv7">2016</value>
<value compset="SSP.*_DATM%GSW">2014</value>
<value compset="2003.*_DATM%QIA.*_TEST">2003</value>
<value compset="1850.*_DATM%CRU">1920</value>
<value compset="2000.*_DATM%CRU">2010</value>
<value compset="2003.*_DATM%CRU">2003</value>
<value compset="2010.*_DATM%CRU">2014</value>
<value compset="1850.*_DATM%CRUJRA2024">1920</value>
<value compset="2000.*_DATM%CRUJRA2024">2010</value>
<value compset="2003.*_DATM%CRUJRA2024">2003</value>
<value compset="2010.*_DATM%CRUJRA2024">2014</value>
<value compset="1850.*_DATM%CRUv7">1920</value>
<value compset="2000.*_DATM%CRUv7">2010</value>
<value compset="2003.*_DATM%CRUv7">2003</value>
<value compset="2010.*_DATM%CRUv7">2014</value>
<value compset="1850.*_DATM%GSW">1920</value>
<value compset="2000.*_DATM%GSW">2010</value>
<value compset="2010.*_DATM%GSW">2014</value>
Expand Down
47 changes: 40 additions & 7 deletions datm/cime_config/namelist_definition_datm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<value datm_mode="CLM_QIAN_WISO">
CLM_QIAN_WISO.Solar,CLM_QIAN_WISO.Precip,CLM_QIAN_WISO.TPQW
</value>
<value datm_mode="CLMCRUJRA2024">
CLMCRUJRA2024.Solar,CLMCRUJRA2024.Precip,CLMCRUJRA2024.TPQW
</value>
<value datm_mode="CLMCRUNCEPv7">
CLMCRUNCEPv7.Solar,CLMCRUNCEPv7.Precip,CLMCRUNCEPv7.TPQW
</value>
Expand Down Expand Up @@ -55,6 +58,9 @@
<value datm_mode="CORE_IAF_JRA_1p4_2018" >
CORE_IAF_JRA_1p4_2018.GCGCS.PREC,CORE_IAF_JRA_1p4_2018.GISS.LWDN,CORE_IAF_JRA_1p4_2018.GISS.SWDN,CORE_IAF_JRA_1p4_2018.NCEP.Q_10,CORE_IAF_JRA_1p4_2018.NCEP.SLP_,CORE_IAF_JRA_1p4_2018.NCEP.T_10,CORE_IAF_JRA_1p4_2018.NCEP.U_10,CORE_IAF_JRA_1p4_2018.NCEP.V_10
</value>
<value datm_mode="CORE_IAF_JRA_1p5_2023" >
CORE_IAF_JRA_1p5_2023.GCGCS.PREC,CORE_IAF_JRA_1p5_2023.GISS.LWDN,CORE_IAF_JRA_1p5_2023.GISS.SWDN,CORE_IAF_JRA_1p5_2023.NCEP.Q_10,CORE_IAF_JRA_1p5_2023.NCEP.SLP_,CORE_IAF_JRA_1p5_2023.NCEP.T_10,CORE_IAF_JRA_1p5_2023.NCEP.U_10,CORE_IAF_JRA_1p5_2023.NCEP.V_10
</value>
<value datm_mode="CORE_RYF8485_JRA">
CORE_RYF8485_JRA.GISS.LWDN,CORE_RYF8485_JRA.GISS.SWDN,CORE_RYF8485_JRA.GCGCS,CORE_RYF8485_JRA.NCEP
</value>
Expand Down Expand Up @@ -332,20 +338,47 @@
<category>datm</category>
<group>datm_nml</group>
<desc>
Frequency to update radiation in number of steps (or hours if negative)
irdasw is the radiation setting used to compute the next shortwave
Julian date. values greater than 1 set the next radiation to the
present time plus 2 timesteps every iradsw. values less than 0 turn
set the next radiation to the present time plus two timesteps every
-iradsw hours. if iradsw is zero, the next radiation time is the
present time plus 1 timestep. (default=0.)
Frequency to update radiation in number of steps (or hours if negative).

irdasw is the radiation setting used to compute the next shortwave Julian date.
Values greater than 1 set the next radiation to the present time plus either 1 or 2
timesteps (depending on the value of nextsw_cday_calc) every iradsw timesteps.
Values less than 0 set the next radiation to the present time plus either 1 or 2
timesteps (depending on the value of nextsw_cday_calc) every -iradsw hours. If
iradsw is either 0 or 1, the next radiation time is the present time plus 1
timestep. (default=1 for non-CPLHIST cases, and -1 for CPLHIST cases.)
</desc>
<values>
<value>1</value>
<value datm_mode="CPLHIST">-1</value>
</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>
Expand Down
Loading