Skip to content

Commit 8e1309a

Browse files
authored
Merge pull request #959 from ekluzek/rel2300ext
Add surface datasets/landuse-timeseries/compsets/use-cases for extensions to 2300
2 parents 0b2b840 + 868239d commit 8e1309a

File tree

15 files changed

+199
-24
lines changed

15 files changed

+199
-24
lines changed

Externals.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ required = True
3030
local_path = cime
3131
protocol = git
3232
repo_url = https://github.com/ESMCI/cime
33-
tag = cime5.6.32
33+
tag = cime5.6.33
3434
required = True
3535

3636
[externals_description]

bld/CLMBuildNamelist.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,7 @@ sub setup_logic_surface_dataset {
23382338
}
23392339

23402340
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'fsurdat',
2341-
'hgrid'=>$nl_flags->{'res'},
2341+
'hgrid'=>$nl_flags->{'res'}, 'ssp_rcp'=>$nl_flags->{'ssp_rcp'},
23422342
'sim_year'=>$nl_flags->{'sim_year'}, 'irrig'=>$nl_flags->{'irrig'},
23432343
'crop'=>$nl_flags->{'crop'}, 'glc_nec'=>$nl_flags->{'glc_nec'});
23442344
} else{
@@ -2349,7 +2349,7 @@ sub setup_logic_surface_dataset {
23492349
$log->fatal_error( "dynamic PFT's (setting flanduse_timeseries) are incompatible with ecosystem dynamics (use_fates=.true)." );
23502350
}
23512351
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'fsurdat',
2352-
'hgrid'=>$nl_flags->{'res'},
2352+
'hgrid'=>$nl_flags->{'res'}, 'ssp_rcp'=>$nl_flags->{'ssp_rcp'},
23532353
'sim_year'=>$nl_flags->{'sim_year'}, 'irrigate'=>$nl_flags->{'irrigate'},
23542354
'use_crop'=>$nl_flags->{'use_crop'}, 'glc_nec'=>$nl_flags->{'glc_nec'});
23552355
}

bld/namelist_files/namelist_defaults_clm4_5.xml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
2727
<co2_ppmv sim_year="2000" >379.0</co2_ppmv>
2828
<co2_ppmv sim_year="2010" >388.8</co2_ppmv>
2929
<co2_ppmv sim_year="2015" >397.5</co2_ppmv>
30-
<co2_ppmv sim_year="2100" ssp_rcp="SSP5-8.5" >1141.9</co2_ppmv>
30+
<co2_ppmv sim_year="2100" ssp_rcp="SSP5-8.5" >1135.2</co2_ppmv>
31+
<co2_ppmv sim_year="2100" ssp_rcp="SSP5-3.4" >496.6</co2_ppmv>
32+
<co2_ppmv sim_year="2100" ssp_rcp="SSP1-2.6" >445.6</co2_ppmv>
3133
<co2_ppmv sim_year="1850" >284.7</co2_ppmv>
3234
<co2_ppmv sim_year="PtVg" >284.7</co2_ppmv>
3335

@@ -820,8 +822,12 @@ lnd/clm2/surfdata_map/landuse.timeseries_ne30np4_hist_16pfts_Irrig_CMIP6_simyr18
820822

821823

822824
<!-- Extension surface datasets at 2100 -->
825+
<fsurdat hgrid="0.9x1.25" sim_year="2100" use_crop=".true." ssp_rcp="SSP1-2.6" >
826+
lnd/clm2/surfdata_map/release-clm5.0.30/surfdata_0.9x1.25_SSP1-2.6_78pfts_CMIP6_simyr2100_c200329.nc</fsurdat>
823827
<fsurdat hgrid="0.9x1.25" sim_year="2100" use_crop=".true." ssp_rcp="SSP5-8.5" >
824-
lnd/clm2/surfdata_map/release-clm5.0.18/surfdata_0.9x1.25_hist_78pfts_CMIP6_simyr2000_c190214.nc</fsurdat>
828+
lnd/clm2/surfdata_map/release-clm5.0.30/surfdata_0.9x1.25_SSP5-8.5_78pfts_CMIP6_simyr2100_c200330.nc</fsurdat>
829+
<fsurdat hgrid="0.9x1.25" sim_year="2100" use_crop=".true." ssp_rcp="SSP5-3.4" >
830+
lnd/clm2/surfdata_map/release-clm5.0.30/surfdata_0.9x1.25_SSP5-3.4_78pfts_CMIP6_simyr2100_c200330.nc</fsurdat>
825831

826832
<!-- Dynamic PFT surface datasets (relative to {csmdata}) -->
827833

@@ -935,9 +941,12 @@ lnd/clm2/surfdata_map/release-clm5.0.18/surfdata_0.9x1.25_hist_78pfts_CMIP6_simy
935941

936942
<!-- Extensions of future scenarios - landuse time series files with crop on -->
937943

938-
<!-- SSP5-RCP8.5 - relative to {csmdata}) -->
939-
<flanduse_timeseries hgrid="0.9x1.25" sim_year_range="2100-2300" ssp_rcp="SSP5-8.5"
940-
use_crop=".true." >lnd/clm2/surfdata_map/release-clm5.0.18/landuse.timeseries_0.9x1.25_SSP5-8.5_78pfts_CMIP6_simyr1850-2100_c190214.nc</flanduse_timeseries>
944+
<flanduse_timeseries hgrid="0.9x1.25" sim_year_range="2100-2300" ssp_rcp="SSP5-8.5" use_crop=".true."
945+
>lnd/clm2/surfdata_map/release-clm5.0.30/landuse.timeseries_0.9x1.25_SSP5-8.5_78pfts_CMIP6_simyr2100-2300_c200330.nc</flanduse_timeseries>
946+
<flanduse_timeseries hgrid="0.9x1.25" sim_year_range="2100-2300" ssp_rcp="SSP5-3.4" use_crop=".true."
947+
>lnd/clm2/surfdata_map/release-clm5.0.30/landuse.timeseries_0.9x1.25_SSP5-3.4_78pfts_CMIP6_simyr2100-2300_c200330.nc</flanduse_timeseries>
948+
<flanduse_timeseries hgrid="0.9x1.25" sim_year_range="2100-2300" ssp_rcp="SSP1-2.6" use_crop=".true."
949+
>lnd/clm2/surfdata_map/release-clm5.0.30/landuse.timeseries_0.9x1.25_SSP1-2.6_78pfts_CMIP6_simyr2100-2300_c200329.nc</flanduse_timeseries>
941950

942951
<!-- Future scenarios - landuse time series files with crop off -->
943952

bld/namelist_files/namelist_defaults_overall.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ determine default values for namelists.
2727
<clm_start_type bgc_spinup="on" >cold</clm_start_type> <!-- CLM 4.5 -->
2828

2929
<clm_start_type sim_year_range="1850-2100">arb_ic</clm_start_type>
30+
<clm_start_type sim_year_range="2100-2300">arb_ic</clm_start_type>
3031

3132

3233
<!-- For transient cases, turn on demand to set flanduse_timeseries -->
3334
<clm_demand sim_year_range="1850-2000">flanduse_timeseries</clm_demand>
3435
<clm_demand sim_year_range="1850-2100">flanduse_timeseries</clm_demand>
36+
<clm_demand sim_year_range="2100-2300">flanduse_timeseries</clm_demand>
3537

3638

3739
<!-- Default location of {csmdata} -->
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0"?>
2+
3+
<namelist_defaults>
4+
5+
<use_case_desc >Simulate transient land-use, and aerosol deposition changes from 2100 to 2300 with the CMIP6 SSP1-2.6 scenario</use_case_desc>
6+
<use_case_desc use_cn=".true." >Simulate transient land-use, aerosol deposition, and Nitrogen deposition changes from 2100 to 2300 with the CMIP6 SSP1-2.6 scenario</use_case_desc>
7+
8+
<!-- Have a minimal list of things set here, sim_year, sim_year_range, and ssp_rcp, other things should be dependent on these and
9+
set in a namelist_defaults xml file -->
10+
11+
<sim_year>2100</sim_year>
12+
13+
<sim_year_range>2100-2300</sim_year_range>
14+
15+
<ssp_rcp>SSP1-2.6</ssp_rcp>
16+
17+
</namelist_defaults>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0"?>
2+
3+
<namelist_defaults>
4+
5+
<use_case_desc >Simulate transient land-use, and aerosol deposition changes from 2100 to 2300 with the CMIP6 SSP5-3.4 scenario</use_case_desc>
6+
<use_case_desc use_cn=".true." >Simulate transient land-use, aerosol deposition, and Nitrogen deposition changes from 2100 to 2300 with the CMIP6 SSP5-3.4 scenario</use_case_desc>
7+
8+
<!-- Have a minimal list of things set here, sim_year, sim_year_range, and ssp_rcp, other things should be dependent on these and
9+
set in a namelist_defaults xml file -->
10+
11+
<sim_year>2100</sim_year>
12+
13+
<sim_year_range>2100-2300</sim_year_range>
14+
15+
<ssp_rcp>SSP5-3.4</ssp_rcp>
16+
17+
</namelist_defaults>

bld/unit_testers/build-namelist_test.pl

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ sub make_env_run {
123123
#
124124
# Figure out number of tests that will run
125125
#
126-
my $ntests = 841;
126+
my $ntests = 916;
127127
if ( defined($opts{'compare'}) ) {
128-
$ntests += 504;
128+
$ntests += 558;
129129
}
130130
plan( tests=>$ntests );
131131

@@ -1037,6 +1037,11 @@ sub make_env_run {
10371037
GLC_TWO_WAY_COUPLING=>"FALSE",
10381038
conopts=>"-phys clm5_0",
10391039
},
1040+
"ext_SSP5-3.4" =>{ options=>"-res 0.9x1.25 -envxml_dir . -bgc bgc -crop -use_case 2100-2300_SSP5-3.4_transient",
1041+
namelst=>"",
1042+
GLC_TWO_WAY_COUPLING=>"FALSE",
1043+
conopts=>"-phys clm5_0",
1044+
},
10401045
"bad_megan_spec" =>{ options=>"-envxml_dir . -bgc bgc -megan",
10411046
namelst=>"megan_specifier='ZZTOP=zztop'",
10421047
GLC_TWO_WAY_COUPLING=>"FALSE",
@@ -1258,7 +1263,7 @@ sub make_env_run {
12581263
# of the different use cases.
12591264
$mode = "-phys clm4_5";
12601265
system( "../configure -s $mode" );
1261-
my @glc_res = ( "48x96", "0.9x1.25", "1.9x2.5" );
1266+
my @glc_res = ( "0.9x1.25", "1.9x2.5" );
12621267
my @use_cases = ( "1850-2100_SSP1-2.6_transient",
12631268
"1850-2100_SSP2-4.5_transient",
12641269
"1850-2100_SSP3-7.0_transient",
@@ -1269,7 +1274,7 @@ sub make_env_run {
12691274
"20thC_transient",
12701275
);
12711276
foreach my $res ( @glc_res ) {
1272-
foreach my $usecase ( @usecases ) {
1277+
foreach my $usecase ( @use_cases ) {
12731278
$options = "-bgc bgc -res $res -use_case $usecase -envxml_dir . ";
12741279
&make_env_run();
12751280
eval{ system( "$bldnml $options > $tempfile 2>&1 " ); };
@@ -1291,9 +1296,10 @@ sub make_env_run {
12911296
system( "../configure -s $mode" );
12921297
@glc_res = ( "0.9x1.25" );
12931298
my @use_cases = ( "2100-2300_SSP5-8.5_transient",
1299+
"2100-2300_SSP1-2.6_transient",
12941300
);
12951301
foreach my $res ( @glc_res ) {
1296-
foreach my $usecase ( @usecases ) {
1302+
foreach my $usecase ( @use_cases ) {
12971303
$options = "-bgc bgc -res $res -bgc bgc -crop -use_case $usecase -envxml_dir . ";
12981304
&make_env_run();
12991305
eval{ system( "$bldnml $options > $tempfile 2>&1 " ); };

cime_config/config_component.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
<value compset="^1850_" >1850_control</value>
110110
<value compset="^1850_.*_CLM50%[^_]*NOANTHRO" >1850_noanthro_control</value>
111111
<value compset="^HIST_" >20thC_transient</value>
112+
<!-- Future scenarios to 2100 -->
112113
<value compset="^SSP585_" >1850-2100_SSP5-8.5_transient</value>
113114
<value compset="^SSP126_" >1850-2100_SSP1-2.6_transient</value>
114115
<value compset="^SSP370_" >1850-2100_SSP3-7.0_transient</value>
@@ -118,6 +119,11 @@
118119
<value compset="^SSP434_" >1850-2100_SSP4-3.4_transient</value>
119120
<value compset="^SSP460_" >1850-2100_SSP4-6.0_transient</value>
120121
<value compset="^SSP585_" >1850-2100_SSP5-8.5_transient</value>
122+
<!-- SSP extensions to 2300 -->
123+
<value compset="^SSP585EXT_" >2100-2300_SSP5-8.5_transient</value>
124+
<value compset="^SSP534EXT_" >2100-2300_SSP5-3.4_transient</value>
125+
<value compset="^SSP126EXT_" >2100-2300_SSP1-2.6_transient</value>
126+
<!-- Periods used for CAM -->
121127
<value compset="^AMIP_" >20thC_transient</value>
122128
<value compset="^PIPD_" >1850-2100_SSP5-8.5_transient</value>
123129
</values>

cime_config/config_compsets.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,22 @@
295295
<lname>SSP534_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_MOSART_CISM2%NOEVOLVE_SWAV</lname>
296296
</compset>
297297

298+
<!-- Future scenario compset - extensions -->
299+
<compset>
300+
<alias>ISSP585ExtClm50BgcCrop</alias>
301+
<lname>SSP585EXT_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_MOSART_CISM2%NOEVOLVE_SWAV</lname>
302+
</compset>
303+
304+
<compset>
305+
<alias>ISSP534ExtClm50BgcCrop</alias>
306+
<lname>SSP534EXT_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_MOSART_CISM2%NOEVOLVE_SWAV</lname>
307+
</compset>
308+
309+
<compset>
310+
<alias>ISSP126ExtClm50BgcCrop</alias>
311+
<lname>SSP126EXT_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_MOSART_CISM2%NOEVOLVE_SWAV</lname>
312+
</compset>
313+
298314

299315
<!-- I CLM45 Compsets -->
300316

@@ -485,9 +501,10 @@
485501

486502
<entries>
487503
<entry id="RUN_STARTDATE">
488-
<values>
504+
<values match="last">
489505
<value compset="HIST_" >1850-01-01</value>
490506
<value compset="SSP" >2015-01-01</value>
507+
<value compset="SSP[0-9]+EXT" >2101-01-01</value>
491508
<value compset="CLM[45].*_CISM.*_TEST" >1980-01-15</value>
492509
<value compset="CLM[45]%[^_]*CNDV.*_TEST" >1997-12-31</value>
493510
<value grid="a%1x1_mexicocityMEX" >1993-12-01</value>

cime_config/testdefs/testlist_clm.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,15 @@
15411541
<option name="comment" >Transient production low res future scenario SSP5-8.5 case with isotopes with a december 2050 start</option>
15421542
</options>
15431543
</test>
1544+
<test name="SMS_Ld5" grid="f09_g17" compset="ISSP585ExtClm50BgcCrop" testmods="clm/default">
1545+
<machines>
1546+
<machine name="cheyenne" compiler="intel" category="aux_clm"/>
1547+
</machines>
1548+
<options>
1549+
<option name="wallclock">00:20:00</option>
1550+
<option name="comment" >Transient production future scenario SSP5-8.5 extension case</option>
1551+
</options>
1552+
</test>
15441553
<test name="SMS_Ld5" grid="f10_f10_musgs" compset="ISSP245Clm50BgcCrop" testmods="clm/ciso_dec2050Start">
15451554
<machines>
15461555
<machine name="cheyenne" compiler="gnu" category="aux_clm"/>

0 commit comments

Comments
 (0)