Skip to content

Commit 1cc07ef

Browse files
authored
Merge pull request #3673 from ekluzek/merge-b4bdev-20251219
Merge b4bdev 20251219
2 parents 93de037 + ac839ce commit 1cc07ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+3305
-545
lines changed

.git-blame-ignore-revs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ cdf40d265cc82775607a1bf25f5f527bacc97405
7575
49ad0f7ebe0b07459abc00a5c33c55a646f1e7e0
7676
ac03492012837799b7111607188acff9f739044a
7777
d858665d799690d73b56bcb961684382551193f4
78+
c0c6da391ee359f2765439426f3a2a4593a95343

WhatsNewInCTSM5.4.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,23 @@ Changes to defaults for \`clm6\` physics:
3737
* See “Changes to FATES and the FATES parameter file” below.
3838
* Namelist defaults change so that
3939
* use\_c13/use\_c14 are on only for HistClm60Bgc compsets with CRUJRA2024 or CAM7 forcing; examples of when use\_c13/use\_c14 are now off include SSP and single-point compsets, as well as cases using older forcings, such as CAM6, GSWP3v1, Qian, and CRUv7
40-
* when use\_c13 or use\_c14 is on, turn on the corresponding time series file
40+
* when use\_c13 or use\_c14 is on, turn on the corresponding time series file (responding to the CLM_CMIP_ERA flag)
41+
* C13/C14 CMIP7 data is done using streams with new namelist variables (stream_*_atm_c13, stream_*_atm_c14)
4142
* irrigation is on for transient cases (1850-2000, 1850-2100, but not for clm4\_5).
4243

4344
Changes for all physics versions:
4445

4546
* Parameters updated: Added MIMICS parameter \`mimics\_fi\` (fraction of litter inputs that bypass litter pools, directly contributing to SOM) and updated other MIMICS parameters (https://github.com/ESCOMP/CTSM/pull/2365) to remove NPP control on turnover, fix density dependent control on turnover, add litterfall fluxes that bypass litter pools and contribute directly to soil organic matter.
4647
* FATES parameter file updated: ([PR \#2965](https://github.com/ESCOMP/CTSM/pull/2965), [PR \#2904](https://github.com/ESCOMP/CTSM/pull/2904), [PR \#1344](https://github.com/NGEET/fates/pull/1344), [PR \#3087](https://github.com/ESCOMP/CTSM/pull/3087)). See “FATES parameter file” section below for details.
4748
* New surface datasets and landuse timeseries files (see “surface datasets” section below).
49+
* CMIP7 C13/C14 atmospheric timeseries data
4850

4951
## Heads up
5052

5153
* History tapes now split into two files from hX to hXi and hXa, where X is the tape number (e.g. h0i/h0a) and where "i" stands for history file containing instantaneous fields, while "a" stands for history file containing non-instantaneous fields. Details in the “history files” section below and in the PRs https://github.com/ESCOMP/ctsm/pull/2445 https://github.com/ESCOMP/MOSART/pull/117 https://github.com/ESCOMP/RTM/pull/61 and the corresponding issues.
5254
* Adding time to 1d weighting fields in transient simulations PR https://github.com/ESCOMP/CTSM/pull/3328
5355
* Regarding CMIP7 vs. CMIP6 inputs:
54-
* We supply only CMIP7 C13/C14 isotope datasets, so these get used regardless of CLM\_CMIP\_ERA setting.
56+
* C13/C14 isotope datasets are the new CMIP7 datasets using streams, while when CLM_CMIP_ERA==cmip6, the older cmip6 files are used
5557
* We supply only CMIP7 population density with clm6 physics in non-SSP cases, because the fire model is calibrated to that; conversely, we supply only CMIP6 population density for pre-clm6 physics and for SSP cases.
5658
* We supply only CESM2 nitrogen deposition (ndep), so this gets used regardless of CLM\_CMIP\_ERA setting.
5759
* For DATM we supply only CMIP6 aerosols.
@@ -147,4 +149,3 @@ The former is calculated as a function of the latter and can be time-evolving de
147149
* ne30 with \`Clm60BgcCropCruJra\`: https://github.com/NCAR/LMWG_dev/issues/123 (123\_HIST\_popDens)
148150
* ne30 SP https://github.com/NCAR/LMWG_dev/issues/126
149151
* f09 SP https://github.com/NCAR/LMWG_dev/issues/127
150-

bld/namelist_files/namelist_definition_ctsm.xml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ Index of rooting profile for soil carbon
220220

221221
Changes rooting profile from Zeng 2001 double exponential (0) to
222222
Jackson 1996 single exponential (1) to Koven uniform exponential (2).
223+
(REMOVE, NOT in the CODE)
223224
</entry>
224225

225226
<entry id="rooting_profile_varindex_water" type="integer" category="clm_physics"
@@ -1071,10 +1072,16 @@ If TRUE, implies output data on a 2D latitude/longitude grid. False means
10711072
output in 1D vector format. One setting per history tape series.
10721073
</entry>
10731074

1075+
<entry id="hist_all_fields" type="logical" category="history"
1076+
group="clm_inparm" valid_values="" >
1077+
If TRUE, indicates output ALL history fields on the primary tape.
1078+
</entry>
1079+
10741080
<entry id="hist_empty_htapes" type="logical" category="history"
10751081
group="clm_inparm" valid_values="" >
10761082
If TRUE, indicates do NOT output any default history fields (requires you to use
1077-
hist_fincl* to set the exact output fields to use)..
1083+
hist_fincl1 to set the exact output fields to use). Note only the
1084+
primary tape has default history fields.
10781085
</entry>
10791086

10801087
<entry id="hist_fexcl1" type="char*64(1000)" category="history"
@@ -1209,6 +1216,8 @@ number of segments per clump for decomposition
12091216
<entry id="pertlim" type="real" category="clm_physics"
12101217
group="clm_inparm" valid_values="" >
12111218
Perturbation limit when doing error growth test
1219+
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!)
1220+
(deprecated -- will be removed)
12121221
</entry>
12131222

12141223
<entry id="rest_flag" type="logical" category="clm_restart"
@@ -1231,7 +1240,8 @@ If TRUE, use explicit, time-varying AC adoption rate for air-conditioning flux a
12311240

12321241
<entry id="urban_traffic" type="logical" category="clm_physics"
12331242
group="clmu_inparm" valid_values="" >
1234-
If TRUE, urban traffic flux will be activated (Currently NOT implemented).
1243+
If TRUE, urban traffic flux will be activated
1244+
(Currently NOT implemented).
12351245
</entry>
12361246

12371247
<entry id="building_temp_method" type="integer" category="clm_physics"
@@ -1357,6 +1367,7 @@ CLM Biogeochemistry mode : Carbon Nitrogen model (CN)
13571367
group="clm_inparm" valid_values="" value=".false.">
13581368
CLM Biogeochemistry mode : Carbon Nitrogen with Dynamic Global Vegetation Model (CNDV)
13591369
(or CLM45BGCDV if phys=clm4_5, vsoilc_centbgc='on', and clm4me='on')
1370+
(deprecated -- will be removed)
13601371
</entry>
13611372

13621373
<entry id="use_fun" type="logical" category="bgc"
@@ -1398,6 +1409,7 @@ Toggle to use 25 lake layers instead of 10
13981409
group="clm_inparm" valid_values="" value=".false.">
13991410
Toggle to turn on the VIC hydrologic parameterizations
14001411
(vichydro=".true." is EXPERIMENTAL, UNSUPPORTED!)
1412+
(deprecated -- will be removed)
14011413
</entry>
14021414

14031415
<entry id="use_crop" type="logical" category="physics"
@@ -2540,6 +2552,7 @@ If TRUE, add extra diagnostics for methane model to the history files
25402552
Profile over which to distribute C and N coming from surface pools (leaves, stem, grain).
25412553
</entry>
25422554

2555+
25432556
<!-- some N cycle flags -->
25442557
<entry id="no_frozen_nitrif_denitrif" type="logical" category="clm_vertcn"
25452558
group="clm_inparm" valid_values="" >
@@ -2749,6 +2762,7 @@ If TRUE, turn on methane biogeochemistry model for lake columns, using a simplif
27492762
<entry id="usephfact" type="logical" category="clm_methane"
27502763
group="ch4par_in" valid_values="" >
27512764
If TRUE, apply a limitation to methane production based on the soil pH dataset.
2765+
(EXPERIMENTAL, UNSUPPORTED, and UNTESTED!)
27522766
</entry>
27532767

27542768
<entry id="vmax_oxid_unsat" type="real" category="clm_methane"

bld/unit_testers/build-namelist_test.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ sub cat_and_create_namelistinfile {
163163
#
164164
# Figure out number of tests that will run
165165
#
166-
my $ntests = 3405;
166+
my $ntests = 3403;
167167

168168
if ( defined($opts{'compare'}) ) {
169169
$ntests += 2061;

cime_config/testdefs/ExpectedTestFails.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,20 @@
6262
</test>
6363

6464
<!-- aux_clm test suite failures -->
65+
<test name="ERP_Ld9.f45_f45_mg37.I2000Clm50FatesRs.derecho_intel.clm-FatesColdAllVars">
66+
<phase name="COMPARE_base_rest">
67+
<status>FAIL</status>
68+
<issue>#3660</issue>
69+
<comment>Restart issues with default "inactive" fields added to history by hist_all_fields.</comment>
70+
</phase>
71+
</test>
72+
<test name="ERP_P64x2_D_Ld3.f10_f10_mt232.IHistClm60BgcCropCrujra.derecho_gnu.clm-default--clm-all_outputs">
73+
<phase name="COMPARE_base_rest">
74+
<status>FAIL</status>
75+
<issue>#3661</issue>
76+
<comment>Restart issues with default "inactive" fields added to history by hist_all_fields.</comment>
77+
</phase>
78+
</test>
6579
<test name="MKSURFDATAESMF_P128x1.f10_f10_mg37.I1850Clm50BgcCrop.derecho_intel">
6680
<phase name="NLCOMP">
6781
<status>FAIL</status>

cime_config/testdefs/testlist_clm.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,6 +2125,15 @@
21252125
<option name="comment">Among other extra outputs, ensure that writing the list of all history fields to a separate file does not cause failure</option>
21262126
</options>
21272127
</test>
2128+
<test name="ERP_P64x2_D_Ld3" grid="f10_f10_mt232" compset="IHistClm60BgcCropCrujra" testmods="clm/default--clm/all_outputs">
2129+
<machines>
2130+
<machine name="derecho" compiler="gnu" category="aux_clm"/>
2131+
</machines>
2132+
<options>
2133+
<option name="wallclock">00:20:00</option>
2134+
<option name="comment" >Test writing all history fields</option>
2135+
</options>
2136+
</test>
21282137
<test name="ERS_D_Ld3" grid="f10_f10_mg37" compset="I1850Clm50BgcCrop" testmods="clm/default">
21292138
<machines>
21302139
<machine name="derecho" compiler="intel" category="aux_clm"/>

cime_config/testdefs/testmods_dirs/clm/FatesColdAllVars/user_nl_clm

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -6,57 +6,4 @@ fates_spitfire_mode = 1
66
fates_history_dimlevel = 2,2
77
use_fates_tree_damage = .true.
88
hist_ndens = 1
9-
hist_fincl1 = 'FATES_TLONGTERM',
10-
'FATES_TGROWTH','FATES_SEEDS_IN_GRIDCELL_PF','FATES_SEEDS_OUT_GRIDCELL_PF','FATES_NCL_AP',
11-
'FATES_NPATCH_AP','FATES_VEGC_AP','FATES_SECONDARY_AREA_ANTHRO_AP','FATES_SECONDARY_AREA_AP',
12-
'FATES_FUEL_AMOUNT_APFC','FATES_STOREC_TF_USTORY_SZPF','FATES_STOREC_TF_CANOPY_SZPF',
13-
'FATES_CROWNAREA_CLLL','FATES_ABOVEGROUND_MORT_SZPF',
14-
'FATES_ABOVEGROUND_PROD_SZPF','FATES_NPLANT_SZAP','FATES_NPLANT_CANOPY_SZAP',
15-
'FATES_NPLANT_USTORY_SZAP','FATES_DDBH_CANOPY_SZAP','FATES_DDBH_USTORY_SZAP',
16-
'FATES_MORTALITY_CANOPY_SZAP','FATES_MORTALITY_USTORY_SZAP','FATES_NPLANT_SZAPPF',
17-
'FATES_NPP_APPF','FATES_VEGC_APPF','FATES_SCORCH_HEIGHT_APPF','FATES_GPP_SZPF',
18-
'FATES_GPP_CANOPY_SZPF','FATES_AUTORESP_CANOPY_SZPF','FATES_GPP_USTORY_SZPF',
19-
'FATES_AUTORESP_USTORY_SZPF','FATES_NPP_SZPF','FATES_LEAF_ALLOC_SZPF',
20-
'FATES_SEED_ALLOC_SZPF','FATES_FROOT_ALLOC_SZPF','FATES_BGSAPWOOD_ALLOC_SZPF',
21-
'FATES_BGSTRUCT_ALLOC_SZPF','FATES_AGSAPWOOD_ALLOC_SZPF','FATES_AGSTRUCT_ALLOC_SZPF',
22-
'FATES_STORE_ALLOC_SZPF','FATES_DDBH_SZPF','FATES_GROWTHFLUX_SZPF','FATES_GROWTHFLUX_FUSION_SZPF',
23-
'FATES_DDBH_CANOPY_SZPF','FATES_DDBH_USTORY_SZPF','FATES_BASALAREA_SZPF','FATES_VEGC_ABOVEGROUND_SZPF',
24-
'FATES_NPLANT_SZPF','FATES_NPLANT_ACPF','FATES_MORTALITY_BACKGROUND_SZPF','FATES_MORTALITY_HYDRAULIC_SZPF',
25-
'FATES_MORTALITY_CSTARV_SZPF','FATES_MORTALITY_IMPACT_SZPF','FATES_MORTALITY_WILDFIRE_SZPF',
26-
'FATES_MORTALITY_WILDFIRE_CROWN_SZPF','FATES_MORTALITY_WILDFIRE_CAMBIAL_SZPF','FATES_MORTALITY_TERMINATION_SZPF',
27-
'FATES_MORTALITY_LOGGING_SZPF','FATES_MORTALITY_FREEZING_SZPF','FATES_MORTALITY_SENESCENCE_SZPF',
28-
'FATES_MORTALITY_AGESCEN_SZPF','FATES_MORTALITY_AGESCEN_ACPF','FATES_MORTALITY_CANOPY_SZPF',
29-
'FATES_M3_MORTALITY_CANOPY_SZPF','FATES_M3_MORTALITY_USTORY_SZPF',
30-
'FATES_STOREC_CANOPY_SZPF','FATES_LEAFC_CANOPY_SZPF','FATES_LAI_CANOPY_SZPF','FATES_CROWNAREA_CANOPY_SZPF',
31-
'FATES_CROWNAREA_USTORY_SZPF','FATES_NPLANT_CANOPY_SZPF','FATES_MORTALITY_USTORY_SZPF','FATES_STOREC_USTORY_SZPF',
32-
'FATES_LEAFC_USTORY_SZPF','FATES_LAI_USTORY_SZPF','FATES_NPLANT_USTORY_SZPF','FATES_CWD_ABOVEGROUND_DC',
33-
'FATES_CWD_BELOWGROUND_DC','FATES_CWD_ABOVEGROUND_IN_DC','FATES_CWD_BELOWGROUND_IN_DC',
34-
'FATES_CWD_ABOVEGROUND_OUT_DC','FATES_CWD_BELOWGROUND_OUT_DC','FATES_YESTCANLEV_CANOPY_SZ',
35-
'FATES_YESTCANLEV_USTORY_SZ','FATES_VEGC_SZ','FATES_DEMOTION_RATE_SZ','FATES_PROMOTION_RATE_SZ',
36-
'FATES_SAI_CANOPY_SZ','FATES_M3_MORTALITY_CANOPY_SZ','FATES_M3_MORTALITY_USTORY_SZ','FATES_SAI_USTORY_SZ',
37-
'FATES_NPP_CANOPY_SZ','FATES_NPP_USTORY_SZ','FATES_TRIMMING_CANOPY_SZ','FATES_TRIMMING_USTORY_SZ',
38-
'FATES_CROWNAREA_CANOPY_SZ','FATES_CROWNAREA_USTORY_SZ','FATES_LEAFCTURN_CANOPY_SZ','FATES_FROOTCTURN_CANOPY_SZ',
39-
'FATES_STORECTURN_CANOPY_SZ','FATES_STRUCTCTURN_CANOPY_SZ','FATES_SAPWOODCTURN_CANOPY_SZ','FATES_SEED_PROD_CANOPY_SZ',
40-
'FATES_LEAF_ALLOC_CANOPY_SZ','FATES_FROOT_ALLOC_CANOPY_SZ','FATES_SAPWOOD_ALLOC_CANOPY_SZ','FATES_STRUCT_ALLOC_CANOPY_SZ',
41-
'FATES_SEED_ALLOC_CANOPY_SZ','FATES_STORE_ALLOC_CANOPY_SZ','FATES_LEAFCTURN_USTORY_SZ','FATES_FROOTCTURN_USTORY_SZ',
42-
'FATES_STORECTURN_USTORY_SZ','FATES_STRUCTCTURN_USTORY_SZ','FATES_SAPWOODCTURN_USTORY_SZ',
43-
'FATES_SEED_PROD_USTORY_SZ','FATES_LEAF_ALLOC_USTORY_SZ','FATES_FROOT_ALLOC_USTORY_SZ','FATES_SAPWOOD_ALLOC_USTORY_SZ',
44-
'FATES_STRUCT_ALLOC_USTORY_SZ','FATES_SEED_ALLOC_USTORY_SZ','FATES_STORE_ALLOC_USTORY_SZ','FATES_CROWNAREA_CANOPY_CD',
45-
'FATES_CROWNAREA_USTORY_CD','FATES_NPLANT_CDPF','FATES_NPLANT_CANOPY_CDPF','FATES_NPLANT_USTORY_CDPF',
46-
'FATES_M3_CDPF','FATES_M11_SZPF','FATES_M11_CDPF','FATES_MORTALITY_CDPF','FATES_M3_MORTALITY_CANOPY_CDPF',
47-
'FATES_M3_MORTALITY_USTORY_CDPF','FATES_M11_MORTALITY_CANOPY_CDPF','FATES_M11_MORTALITY_USTORY_CDPF',
48-
'FATES_MORTALITY_CANOPY_CDPF','FATES_MORTALITY_USTORY_CDPF','FATES_DDBH_CDPF','FATES_DDBH_CANOPY_CDPF',
49-
'FATES_DDBH_USTORY_CDPF','FATES_VEGC_SZPF','FATES_LEAFC_SZPF','FATES_FROOTC_SZPF','FATES_SAPWOODC_SZPF',
50-
'FATES_STOREC_SZPF','FATES_REPROC_SZPF','FATES_NPP_AP','FATES_GPP_AP','FATES_RDARK_USTORY_SZ',
51-
'FATES_LSTEMMAINTAR_USTORY_SZ','FATES_CROOTMAINTAR_USTORY_SZ','FATES_FROOTMAINTAR_USTORY_SZ','FATES_GROWAR_USTORY_SZ',
52-
'FATES_MAINTAR_USTORY_SZ','FATES_RDARK_CANOPY_SZ','FATES_CROOTMAINTAR_CANOPY_SZ','FATES_FROOTMAINTAR_CANOPY_SZ',
53-
'FATES_GROWAR_CANOPY_SZ','FATES_MAINTAR_CANOPY_SZ','FATES_LSTEMMAINTAR_CANOPY_SZ','FATES_AUTORESP_SZPF',
54-
'FATES_GROWAR_SZPF','FATES_MAINTAR_SZPF','FATES_RDARK_SZPF','FATES_AGSAPMAINTAR_SZPF','FATES_BGSAPMAINTAR_SZPF',
55-
'FATES_FROOTMAINTAR_SZPF','FATES_PARSUN_CLLL','FATES_PARSHA_CLLL','FATES_PARSUN_CLLLPF','FATES_PARSHA_CLLLPF',
56-
'FATES_PARSUN_CL','FATES_PARSHA_CL','FATES_LAISUN_CLLL','FATES_LAISHA_CLLL','FATES_LAISUN_CLLLPF',
57-
'FATES_LAISHA_CLLLPF','FATES_PARPROF_DIR_CLLLPF','FATES_PARPROF_DIF_CLLLPF','FATES_LAISUN_CL','FATES_LAISHA_CL',
58-
'FATES_PARPROF_DIR_CLLL','FATES_PARPROF_DIF_CLLL','FATES_NET_C_UPTAKE_CLLL','FATES_CROWNFRAC_CLLLPF',
59-
'FATES_LBLAYER_COND_AP','FATES_STOMATAL_COND_AP','FATES_TLONGTERM','FATES_PRIMARY_AREA_AP','FATES_NPP_LU','FATES_GPP_LU',
60-
'FATES_SEED_BANK_PF','FATES_UNGERM_SEED_BANK_PF','FATES_SEEDLING_POOL_PF','FATES_SEEDS_IN_PF','FATES_SEEDS_IN_LOCAL_PF',
61-
'FATES_SAPWOOD_AREA_SZPF','FATES_CANOPYAREA','FATES_NCL','FATES_PATCHAREA','FATES_PRIMARY_AREA','FATES_SCORCH_HEIGHT_PF',
62-
'FATES_SECONDARY_AREA_ANTHRO','FATES_SECONDARY_AREA','FATES_ZSTAR'
9+
hist_all_fields = .true.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
hist_fields_list_file = .true.
2+
hist_wrtch4diag = .true.
3+
calc_human_stress_indices = 'ALL'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This test mod turns on outputting of all history fields.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
calc_human_stress_indices = 'ALL'
2+
hist_all_fields = .true.
3+
hist_wrtch4diag = .true.

0 commit comments

Comments
 (0)