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

adding lai_dtlimit to namelist #8

Merged
merged 10 commits into from
Apr 16, 2024
1 change: 1 addition & 0 deletions bld/CLMBuildNamelist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4049,6 +4049,7 @@ sub setup_logic_lai_streams {
if ( $nl_flags->{'bgc_mode'} eq "sp" || ($nl_flags->{'bgc_mode'} eq "fates" && &value_is_true($nl->get_value('use_fates_sp')) )) {
if ( &value_is_true($nl->get_value('use_lai_streams')) ) {
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'use_lai_streams');
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'lai_dtlimit');
wwieder marked this conversation as resolved.
Show resolved Hide resolved
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'lai_mapalgo',
'hgrid'=>$nl_flags->{'res'} );
add_default($opts, $nl_flags->{'inputdata_rootdir'}, $definition, $defaults, $nl, 'stream_year_first_lai',
Expand Down
1 change: 1 addition & 0 deletions bld/namelist_files/namelist_defaults_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1748,6 +1748,7 @@ use_crop=".true.">lnd/clm2/surfdata_map/ctsm5.1.dev052/landuse.timeseries_mpasa1
<stream_year_first_lai >2001</stream_year_first_lai>
<stream_year_last_lai >2013</stream_year_last_lai>
<model_year_align_lai >2001</model_year_align_lai>
<lai_dtlimit >1.5_r8</lai_dtlimit>
wwieder marked this conversation as resolved.
Show resolved Hide resolved

<stream_fldfilename_lai hgrid="360x720cru" >lnd/clm2/lai_streams/MODISPFTLAI_0.5x0.5_c140711.nc</stream_fldfilename_lai>
<stream_meshfile_lai hgrid="360x720cru" >lnd/clm2/lai_streams/MODISPFTLAI_0.5x0_ESMFmesh_cdf5_090621.nc</stream_meshfile_lai>
Expand Down
6 changes: 6 additions & 0 deletions bld/namelist_files/namelist_definition_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1928,6 +1928,12 @@ Filename of input stream data for LAI
Filename of input stream data for LAI
</entry>

<entry id="lai_dtlimit" type="real" category="datasets"
group="lai_streams" valid_values="" >
dtlimit for LAI streams
wwieder marked this conversation as resolved.
Show resolved Hide resolved
</entry>


<entry id="lai_tintalgo" type="char*80" category="datasets"
group="lai_streams" valid_values="linear,nearest,lower,upper" >
Time interpolation method to use with LAI streams
Expand Down
8 changes: 5 additions & 3 deletions cime_config/usermods_dirs/PLUMBER2/AR-SLu/shell_commands
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
./xmlchange PTS_LON=-66.459808
./xmlchange PTS_LAT=-33.464802
./xmlchange RUN_STARTDATE=2010-01-01
./xmlchange DATM_YR_ALIGN=2010
./xmlchange RUN_STARTDATE=0001-01-01
./xmlchange DATM_YR_ALIGN=1
./xmlchange DATM_YR_START=2010
./xmlchange DATM_YR_END=2010
./xmlchange START_TOD=10800
Expand Down Expand Up @@ -36,7 +36,9 @@ fi
# Turn on LAI streams for a SP case
if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then
echo "stream_fldfilename_lai='\$DIN_LOC_ROOT/lnd/clm2/lai_streams/PLUMBER2/AR-SLu/LAI_stream_AR-SLu_2010-2010.nc'" >> user_nl_clm
echo "model_year_align_lai=2010" >> user_nl_clm
echo "model_year_align_lai=1" >> user_nl_clm
echo "stream_year_first_lai=2010" >> user_nl_clm
echo "stream_year_last_lai=2010" >> user_nl_clm
echo "stream_meshfile_lai='none'" >> user_nl_clm
echo "lai_dtlimit=30." >> user_nl_clm
fi
24 changes: 13 additions & 11 deletions cime_config/usermods_dirs/PLUMBER2/AT-Neu/shell_commands
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
./xmlchange PTS_LON=11.3175
./xmlchange PTS_LAT=47.116669
./xmlchange RUN_STARTDATE=2001-12-31
./xmlchange DATM_YR_ALIGN=2001
./xmlchange DATM_YR_START=2001
./xmlchange RUN_STARTDATE=0001-01-01
./xmlchange DATM_YR_ALIGN=1
./xmlchange DATM_YR_START=2002
./xmlchange DATM_YR_END=2012
./xmlchange START_TOD=82800
./xmlchange ATM_NCPL=48

echo "fsurdat='/glade/u/home/wwieder/CTSM/tools/site_and_regional/subset_data_single_point/surfdata_1x1_PLUMBER2_AT-Neu_hist_16pfts_Irrig_CMIP6_simyr2000_c231005.nc ' " >> user_nl_clm
echo "CLM_USRDAT.PLUMBER2:datafiles= \$DIN_LOC_ROOT/atm/datm7/CLM1PT_data/PLUMBER2/AT-Neu/CLM1PT_data/CTSM_DATM_AT-Neu_2002-2012.nc " >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2001" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2002" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_last=2012" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2001" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2002" >> user_nl_datm_streams

echo "presndep.SSP3-7.0:year_first=2001" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_first=2002" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_last=2012" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2001" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2002" >> user_nl_datm_streams

echo "co2tseries.SSP3-7.0:year_first=2001" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_first=2002" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_last=2012" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2001" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2002" >> user_nl_datm_streams

compset=`./xmlquery COMPSET --value`
CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value`
Expand All @@ -36,7 +36,9 @@ fi
# Turn on LAI streams for a SP case
if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then
echo "stream_fldfilename_lai='\$DIN_LOC_ROOT/lnd/clm2/lai_streams/PLUMBER2/AT-Neu/LAI_stream_AT-Neu_2002-2012.nc'" >> user_nl_clm
echo "model_year_align_lai=2001" >> user_nl_clm
echo "stream_year_first_lai=2001" >> user_nl_clm
echo "model_year_align_lai=1" >> user_nl_clm
echo "stream_year_first_lai=2002" >> user_nl_clm
echo "stream_year_last_lai=2012" >> user_nl_clm
echo "stream_meshfile_lai='none'" >> user_nl_clm
echo "lai_dtlimit=30." >> user_nl_clm
fi
24 changes: 13 additions & 11 deletions cime_config/usermods_dirs/PLUMBER2/AU-ASM/shell_commands
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
./xmlchange PTS_LON=133.24899299999998
./xmlchange PTS_LAT=-22.283001000000002
./xmlchange RUN_STARTDATE=2010-12-31
./xmlchange DATM_YR_ALIGN=2010
./xmlchange DATM_YR_START=2010
./xmlchange RUN_STARTDATE=0001-01-01
./xmlchange DATM_YR_ALIGN=1
./xmlchange DATM_YR_START=2011
./xmlchange DATM_YR_END=2017
./xmlchange START_TOD=54000
./xmlchange ATM_NCPL=48

echo "fsurdat='/glade/u/home/wwieder/CTSM/tools/site_and_regional/subset_data_single_point/surfdata_1x1_PLUMBER2_AU-ASM_hist_16pfts_Irrig_CMIP6_simyr2000_c231005.nc ' " >> user_nl_clm
echo "CLM_USRDAT.PLUMBER2:datafiles= \$DIN_LOC_ROOT/atm/datm7/CLM1PT_data/PLUMBER2/AU-ASM/CLM1PT_data/CTSM_DATM_AU-ASM_2011-2017.nc " >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2011" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_last=2017" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2010" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2011" >> user_nl_datm_streams

echo "presndep.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_first=2011" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_last=2017" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2010" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2011" >> user_nl_datm_streams

echo "co2tseries.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_first=2011" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_last=2017" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2010" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2011" >> user_nl_datm_streams

compset=`./xmlquery COMPSET --value`
CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value`
Expand All @@ -36,7 +36,9 @@ fi
# Turn on LAI streams for a SP case
if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then
echo "stream_fldfilename_lai='\$DIN_LOC_ROOT/lnd/clm2/lai_streams/PLUMBER2/AU-ASM/LAI_stream_AU-ASM_2011-2017.nc'" >> user_nl_clm
echo "model_year_align_lai=2010" >> user_nl_clm
echo "stream_year_first_lai=2010" >> user_nl_clm
echo "model_year_align_lai=1" >> user_nl_clm
echo "stream_year_first_lai=2011" >> user_nl_clm
echo "stream_year_last_lai=2017" >> user_nl_clm
echo "stream_meshfile_lai='none'" >> user_nl_clm
echo "lai_dtlimit=30." >> user_nl_clm
fi
24 changes: 13 additions & 11 deletions cime_config/usermods_dirs/PLUMBER2/AU-Cow/shell_commands
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
./xmlchange PTS_LON=145.427155
./xmlchange PTS_LAT=-16.23819
./xmlchange RUN_STARTDATE=2009-12-31
./xmlchange DATM_YR_ALIGN=2009
./xmlchange DATM_YR_START=2009
./xmlchange RUN_STARTDATE=0001-01-01
./xmlchange DATM_YR_ALIGN=1
./xmlchange DATM_YR_START=2010
./xmlchange DATM_YR_END=2015
./xmlchange START_TOD=50400
./xmlchange ATM_NCPL=48

echo "fsurdat='/glade/u/home/wwieder/CTSM/tools/site_and_regional/subset_data_single_point/surfdata_1x1_PLUMBER2_AU-Cow_hist_16pfts_Irrig_CMIP6_simyr2000_c231005.nc ' " >> user_nl_clm
echo "CLM_USRDAT.PLUMBER2:datafiles= \$DIN_LOC_ROOT/atm/datm7/CLM1PT_data/PLUMBER2/AU-Cow/CLM1PT_data/CTSM_DATM_AU-Cow_2010-2015.nc " >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2009" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_last=2015" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2009" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2010" >> user_nl_datm_streams

echo "presndep.SSP3-7.0:year_first=2009" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_last=2015" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2009" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2010" >> user_nl_datm_streams

echo "co2tseries.SSP3-7.0:year_first=2009" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_last=2015" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2009" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2010" >> user_nl_datm_streams

compset=`./xmlquery COMPSET --value`
CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value`
Expand All @@ -36,7 +36,9 @@ fi
# Turn on LAI streams for a SP case
if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then
echo "stream_fldfilename_lai='\$DIN_LOC_ROOT/lnd/clm2/lai_streams/PLUMBER2/AU-Cow/LAI_stream_AU-Cow_2010-2015.nc'" >> user_nl_clm
echo "model_year_align_lai=2009" >> user_nl_clm
echo "stream_year_first_lai=2009" >> user_nl_clm
echo "model_year_align_lai=1" >> user_nl_clm
echo "stream_year_first_lai=2010" >> user_nl_clm
echo "stream_year_last_lai=2015" >> user_nl_clm
echo "stream_meshfile_lai='none'" >> user_nl_clm
echo "lai_dtlimit=30." >> user_nl_clm
fi
24 changes: 13 additions & 11 deletions cime_config/usermods_dirs/PLUMBER2/AU-Cpr/shell_commands
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
./xmlchange PTS_LON=140.589127
./xmlchange PTS_LAT=-34.00206
./xmlchange RUN_STARTDATE=2010-12-31
./xmlchange DATM_YR_ALIGN=2010
./xmlchange DATM_YR_START=2010
./xmlchange RUN_STARTDATE=0001-01-01
./xmlchange DATM_YR_ALIGN=1
./xmlchange DATM_YR_START=2011
./xmlchange DATM_YR_END=2017
./xmlchange START_TOD=46800
./xmlchange ATM_NCPL=48

echo "fsurdat='/glade/u/home/wwieder/CTSM/tools/site_and_regional/subset_data_single_point/surfdata_1x1_PLUMBER2_AU-Cpr_hist_16pfts_Irrig_CMIP6_simyr2000_c231005.nc ' " >> user_nl_clm
echo "CLM_USRDAT.PLUMBER2:datafiles= \$DIN_LOC_ROOT/atm/datm7/CLM1PT_data/PLUMBER2/AU-Cpr/CLM1PT_data/CTSM_DATM_AU-Cpr_2011-2017.nc " >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2011" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_last=2017" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2010" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2011" >> user_nl_datm_streams

echo "presndep.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_first=2011" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_last=2017" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2010" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2011" >> user_nl_datm_streams

echo "co2tseries.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_first=2011" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_last=2017" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2010" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2011" >> user_nl_datm_streams

compset=`./xmlquery COMPSET --value`
CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value`
Expand All @@ -36,7 +36,9 @@ fi
# Turn on LAI streams for a SP case
if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then
echo "stream_fldfilename_lai='\$DIN_LOC_ROOT/lnd/clm2/lai_streams/PLUMBER2/AU-Cpr/LAI_stream_AU-Cpr_2011-2017.nc'" >> user_nl_clm
echo "model_year_align_lai=2010" >> user_nl_clm
echo "stream_year_first_lai=2010" >> user_nl_clm
echo "model_year_align_lai=1" >> user_nl_clm
echo "stream_year_first_lai=2011" >> user_nl_clm
echo "stream_year_last_lai=2017" >> user_nl_clm
echo "stream_meshfile_lai='none'" >> user_nl_clm
echo "lai_dtlimit=30." >> user_nl_clm
fi
24 changes: 13 additions & 11 deletions cime_config/usermods_dirs/PLUMBER2/AU-Ctr/shell_commands
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
./xmlchange PTS_LON=145.446854
./xmlchange PTS_LAT=-16.103279
./xmlchange RUN_STARTDATE=2009-12-31
./xmlchange DATM_YR_ALIGN=2009
./xmlchange DATM_YR_START=2009
./xmlchange RUN_STARTDATE=0001-01-01
./xmlchange DATM_YR_ALIGN=1
./xmlchange DATM_YR_START=2010
./xmlchange DATM_YR_END=2017
./xmlchange START_TOD=50400
./xmlchange ATM_NCPL=48

echo "fsurdat='/glade/u/home/wwieder/CTSM/tools/site_and_regional/subset_data_single_point/surfdata_1x1_PLUMBER2_AU-Ctr_hist_16pfts_Irrig_CMIP6_simyr2000_c231005.nc ' " >> user_nl_clm
echo "CLM_USRDAT.PLUMBER2:datafiles= \$DIN_LOC_ROOT/atm/datm7/CLM1PT_data/PLUMBER2/AU-Ctr/CLM1PT_data/CTSM_DATM_AU-Ctr_2010-2017.nc " >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2009" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_last=2017" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2009" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2010" >> user_nl_datm_streams

echo "presndep.SSP3-7.0:year_first=2009" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_last=2017" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2009" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2010" >> user_nl_datm_streams

echo "co2tseries.SSP3-7.0:year_first=2009" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_first=2010" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_last=2017" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2009" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2010" >> user_nl_datm_streams

compset=`./xmlquery COMPSET --value`
CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value`
Expand All @@ -36,7 +36,9 @@ fi
# Turn on LAI streams for a SP case
if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then
echo "stream_fldfilename_lai='\$DIN_LOC_ROOT/lnd/clm2/lai_streams/PLUMBER2/AU-Ctr/LAI_stream_AU-Ctr_2010-2017.nc'" >> user_nl_clm
echo "model_year_align_lai=2009" >> user_nl_clm
echo "stream_year_first_lai=2009" >> user_nl_clm
echo "model_year_align_lai=1" >> user_nl_clm
echo "stream_year_first_lai=2010" >> user_nl_clm
echo "stream_year_last_lai=2017" >> user_nl_clm
echo "stream_meshfile_lai='none'" >> user_nl_clm
echo "lai_dtlimit=30." >> user_nl_clm
fi
24 changes: 13 additions & 11 deletions cime_config/usermods_dirs/PLUMBER2/AU-Cum/shell_commands
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
./xmlchange PTS_LON=150.722473
./xmlchange PTS_LAT=-33.613296999999996
./xmlchange RUN_STARTDATE=2012-12-31
./xmlchange DATM_YR_ALIGN=2012
./xmlchange DATM_YR_START=2012
./xmlchange RUN_STARTDATE=0001-01-01
./xmlchange DATM_YR_ALIGN=1
./xmlchange DATM_YR_START=2013
./xmlchange DATM_YR_END=2018
./xmlchange START_TOD=46800
./xmlchange ATM_NCPL=48

echo "fsurdat='/glade/u/home/wwieder/CTSM/tools/site_and_regional/subset_data_single_point/surfdata_1x1_PLUMBER2_AU-Cum_hist_16pfts_Irrig_CMIP6_simyr2000_c231005.nc ' " >> user_nl_clm
echo "CLM_USRDAT.PLUMBER2:datafiles= \$DIN_LOC_ROOT/atm/datm7/CLM1PT_data/PLUMBER2/AU-Cum/CLM1PT_data/CTSM_DATM_AU-Cum_2013-2018.nc " >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2012" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2013" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_last=2018" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2012" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2013" >> user_nl_datm_streams

echo "presndep.SSP3-7.0:year_first=2012" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_first=2013" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_last=2018" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2012" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2013" >> user_nl_datm_streams

echo "co2tseries.SSP3-7.0:year_first=2012" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_first=2013" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_last=2018" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2012" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2013" >> user_nl_datm_streams

compset=`./xmlquery COMPSET --value`
CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value`
Expand All @@ -36,7 +36,9 @@ fi
# Turn on LAI streams for a SP case
if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then
echo "stream_fldfilename_lai='\$DIN_LOC_ROOT/lnd/clm2/lai_streams/PLUMBER2/AU-Cum/LAI_stream_AU-Cum_2013-2018.nc'" >> user_nl_clm
echo "model_year_align_lai=2012" >> user_nl_clm
echo "stream_year_first_lai=2012" >> user_nl_clm
echo "model_year_align_lai=1" >> user_nl_clm
echo "stream_year_first_lai=2013" >> user_nl_clm
echo "stream_year_last_lai=2018" >> user_nl_clm
echo "stream_meshfile_lai='none'" >> user_nl_clm
echo "lai_dtlimit=30." >> user_nl_clm
fi
24 changes: 13 additions & 11 deletions cime_config/usermods_dirs/PLUMBER2/AU-DaP/shell_commands
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
./xmlchange PTS_LON=131.3181
./xmlchange PTS_LAT=-14.0633
./xmlchange RUN_STARTDATE=2008-12-31
./xmlchange DATM_YR_ALIGN=2008
./xmlchange DATM_YR_START=2008
./xmlchange RUN_STARTDATE=0001-01-01
./xmlchange DATM_YR_ALIGN=1
./xmlchange DATM_YR_START=2009
./xmlchange DATM_YR_END=2012
./xmlchange START_TOD=54000
./xmlchange ATM_NCPL=48

echo "fsurdat='/glade/u/home/wwieder/CTSM/tools/site_and_regional/subset_data_single_point/surfdata_1x1_PLUMBER2_AU-DaP_hist_16pfts_Irrig_CMIP6_simyr2000_c231005.nc ' " >> user_nl_clm
echo "CLM_USRDAT.PLUMBER2:datafiles= \$DIN_LOC_ROOT/atm/datm7/CLM1PT_data/PLUMBER2/AU-DaP/CLM1PT_data/CTSM_DATM_AU-DaP_2009-2012.nc " >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2008" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_first=2009" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_last=2012" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2008" >> user_nl_datm_streams
echo "presaero.SSP3-7.0:year_align=2009" >> user_nl_datm_streams

echo "presndep.SSP3-7.0:year_first=2008" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_first=2009" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_last=2012" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2008" >> user_nl_datm_streams
echo "presndep.SSP3-7.0:year_align=2009" >> user_nl_datm_streams

echo "co2tseries.SSP3-7.0:year_first=2008" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_first=2009" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_last=2012" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2008" >> user_nl_datm_streams
echo "co2tseries.SSP3-7.0:year_align=2009" >> user_nl_datm_streams

compset=`./xmlquery COMPSET --value`
CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value`
Expand All @@ -36,7 +36,9 @@ fi
# Turn on LAI streams for a SP case
if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then
echo "stream_fldfilename_lai='\$DIN_LOC_ROOT/lnd/clm2/lai_streams/PLUMBER2/AU-DaP/LAI_stream_AU-DaP_2009-2012.nc'" >> user_nl_clm
echo "model_year_align_lai=2008" >> user_nl_clm
echo "stream_year_first_lai=2008" >> user_nl_clm
echo "model_year_align_lai=1" >> user_nl_clm
echo "stream_year_first_lai=2009" >> user_nl_clm
echo "stream_year_last_lai=2012" >> user_nl_clm
echo "stream_meshfile_lai='none'" >> user_nl_clm
echo "lai_dtlimit=30." >> user_nl_clm
fi
Loading
Loading