-
Notifications
You must be signed in to change notification settings - Fork 341
PLUMBER2 plumbing (csv file, wrapper script, usermods, and scripts). #2155
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
Merged
Changes from 20 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
39451d8
Add ncl script that creates PLUMBER2 csv file, and the file itself.
olyson 30df16b
csv file header change.
olyson 5600744
Add PLUMBER2 surface dataset wrapper.
olyson fe27886
Add PLUMBER2 usermods defaults.
olyson 8ee05b8
Add canopy top and bottom heights.
olyson 1272e58
PLUMBER surface data & usermods
wwieder b87b359
updaed shell commands
wwieder 1ef7bb4
py script for creating usermods
wwieder e8c1524
corrected surfdat filename
wwieder 5f9b08c
resolving conflicts
wwieder b429b63
black formatting
wwieder 38117f9
git ignore black
wwieder d53f136
remove default history files
wwieder d6de294
adding datm streams to usermods
wwieder 7e7a485
actual usermod changes
wwieder 1c3ea1c
removing custom O3 years
wwieder 300e83e
updating default datm_stream and vars
wwieder aac7522
update datm for usermods
wwieder 8d34685
updates plumber2 usermods
wwieder e24e564
Merge tag 'ctsm5.1.dev168' into PLUMBERcsv
wwieder f92d802
Changes in response to review and remove print statements
olyson 0620822
History variable changed from QFLX_SUB_SNOW to
olyson 544fffc
Correct instances of xlmchange (should be xmlchange)
olyson a202a6a
Merge remote-tracking branch 'escomp/b4b-dev' into PLUMBERcsv
ekluzek 666ba3d
Merge remote-tracking branch 'escomp/b4b-dev' into PLUMBERcsv
ekluzek 83df995
Merge remote-tracking branch 'escomp/b4b-dev' into PLUMBERcsv
ekluzek a7d26c0
updating input data file paths
wwieder 51879ca
Merge pull request #3 from wwieder/PLUMBERcsv
wwieder c261df6
remove unused line
wwieder 3b09746
Merge pull request #4 from wwieder/PLUMBERcsv
wwieder c06ce10
close quote on fsurdat
wwieder 394b0ba
more usermod updates
wwieder d2fa030
Merge pull request #5 from wwieder/PLUMBERcsv
wwieder 3a01490
updates for LAI streams
wwieder 1f4cb01
Merge pull request #6 from wwieder/PLUMBERcsv
wwieder 3591d02
update year_start for actual year
wwieder 55e4683
Merge pull request #7 from wwieder/PLUMBERcsv
wwieder 142343f
inching closer to functional usermods
wwieder 61676c0
starting to add dtlimit for lai streams
wwieder 6dd3b54
bring lai_dtlimit to namelist variable
wwieder 4762186
updating usermods for lai_dtlimit
wwieder 6a4dad8
more usermods for SP/BGG + spin/hist
wwieder 149b95e
extend dtlimit for transient runs
wwieder ba9b05f
setting CALENDAR correctly for spinup and transient cases
wwieder 362d412
chagnes requested for LAI streams
wwieder 1548c0b
getting lai streams to work for HIST cases
wwieder 7aafb0c
adding a bit to log file
wwieder 4a19a1c
Merge pull request #8 from wwieder/PLUMBERcsv
wwieder 690caa5
Do not handle lai_dtlimit as a string and the code builds again
slevis-lmwg 7c70971
Fix utest error: missing 2 required positional arguments: 'cth' 'cbh'
slevis-lmwg ba0a3c2
Fix utest error: zip argument must support iteration
slevis-lmwg f38a5d6
Fix utest errors: various and one still remains
slevis-lmwg 86fbaf6
Fix final utest error; a system test error still fails
slevis-lmwg ad40afa
Corrections regarding WARNING versus ERROR confusion in unit test
slevis-lmwg b078a1b
Merge branch 'b4b-dev' into PLUMBERcsv
slevis-lmwg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../defaults |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| ./xmlchange PLUMBER2SITE=AR-SLu | ||
| ./xmlchange PTS_LON=-66.459808 | ||
| ./xmlchange PTS_LAT=-33.464802 | ||
| ./xmlchange RUN_STARTDATE=2010-01-01 | ||
| ./xmlchange DATM_YR_ALIGN=2010 | ||
| ./xmlchange DATM_YR_START=2010 | ||
| ./xmlchange DATM_YR_END=2010 | ||
| ./xmlchange START_TOD=10800 | ||
| ./xmlchange ATM_NCPL=48 | ||
|
|
||
| echo "CLM_USRDAT.PLUMBER2:datafiles='/glade/work/oleson/PLUMBER2/datm_files/AR-SLu/CLM1PT_data/CTSM_DATM_AR-SLu_2010-2010.nc '" >> user_nl_datm_streams | ||
ekluzek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| echo "presaero.SSP3-7.0:year_first=2010" >> user_nl_datm_streams | ||
| echo "presaero.SSP3-7.0:year_last=2010" >> user_nl_datm_streams | ||
| echo "presaero.SSP3-7.0:year_align=2010" >> user_nl_datm_streams | ||
|
|
||
| echo "presndep.SSP3-7.0:year_first=2010" >> user_nl_datm_streams | ||
| echo "presndep.SSP3-7.0:year_last=2010" >> user_nl_datm_streams | ||
| echo "presndep.SSP3-7.0:year_align=2010" >> user_nl_datm_streams | ||
|
|
||
| echo "co2tseries.SSP3-7.0:year_first=2010" >> user_nl_datm_streams | ||
| echo "co2tseries.SSP3-7.0:year_last=2010" >> 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` | ||
| TEST=`./xmlquery TEST --value` | ||
|
|
||
| # For a transient case run the whole length and do not cycle | ||
| if [[ $compset =~ ^HIST ]]; then | ||
| # Number of years that can be run for the full transient case | ||
| if [[ $TEST != "TRUE" ]]; then | ||
| ./xmlchange STOP_N=1 | ||
| fi | ||
| fi | ||
|
|
||
| # Turn on LAI streams for a SP case | ||
| if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then | ||
| echo "stream_fldfilename_lai='/glade/work/oleson/PLUMBER2/input_files/${PLUMBER2SITE}/LAI_stream_${PLUMBER2SITE}_2010-2010.nc'" >> user_nl_clm | ||
ekluzek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| echo "model_year_align_lai=2010" >> user_nl_clm | ||
| echo "stream_year_first_lai=2010" >> user_nl_clm | ||
| echo "stream_year_last_lai=2010" >> user_nl_clm | ||
| fi | ||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../defaults |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| ./xmlchange PLUMBER2SITE=AT-Neu | ||
| ./xmlchange PTS_LON=11.3175 | ||
| ./xmlchange PTS_LAT=47.116669 | ||
| ./xmlchange RUN_STARTDATE=2001-12-31 | ||
| ./xmlchange DATM_YR_ALIGN=2002 | ||
| ./xmlchange DATM_YR_START=2002 | ||
| ./xmlchange DATM_YR_END=2012 | ||
| ./xmlchange START_TOD=82800 | ||
| ./xmlchange ATM_NCPL=48 | ||
|
|
||
| echo "CLM_USRDAT.PLUMBER2:datafiles='/glade/work/oleson/PLUMBER2/datm_files/AT-Neu/CLM1PT_data/CTSM_DATM_AT-Neu_2002-2012.nc '" >> 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=2002" >> 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=2002" >> 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=2002" >> user_nl_datm_streams | ||
|
|
||
| compset=`./xmlquery COMPSET --value` | ||
| CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value` | ||
| TEST=`./xmlquery TEST --value` | ||
|
|
||
| # For a transient case run the whole length and do not cycle | ||
| if [[ $compset =~ ^HIST ]]; then | ||
| # Number of years that can be run for the full transient case | ||
| if [[ $TEST != "TRUE" ]]; then | ||
| ./xmlchange STOP_N=11 | ||
| fi | ||
| fi | ||
|
|
||
| # Turn on LAI streams for a SP case | ||
| if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then | ||
| echo "stream_fldfilename_lai='/glade/work/oleson/PLUMBER2/input_files/${PLUMBER2SITE}/LAI_stream_${PLUMBER2SITE}_2002-2012.nc'" >> user_nl_clm | ||
| echo "model_year_align_lai=2002" >> user_nl_clm | ||
ekluzek marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| echo "stream_year_first_lai=2002" >> user_nl_clm | ||
| echo "stream_year_last_lai=2012" >> user_nl_clm | ||
| fi | ||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../defaults |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| ./xmlchange PLUMBER2SITE=AU-ASM | ||
| ./xmlchange PTS_LON=133.248993 | ||
| ./xmlchange PTS_LAT=-22.283001 | ||
| ./xmlchange RUN_STARTDATE=2010-12-31 | ||
| ./xmlchange DATM_YR_ALIGN=2011 | ||
| ./xmlchange DATM_YR_START=2011 | ||
| ./xmlchange DATM_YR_END=2017 | ||
| ./xmlchange START_TOD=54000 | ||
| ./xmlchange ATM_NCPL=48 | ||
|
|
||
| echo "CLM_USRDAT.PLUMBER2:datafiles='/glade/work/oleson/PLUMBER2/datm_files/AU-ASM/CLM1PT_data/CTSM_DATM_AU-ASM_2011-2017.nc '" >> 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=2011" >> 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=2011" >> 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=2011" >> user_nl_datm_streams | ||
|
|
||
| compset=`./xmlquery COMPSET --value` | ||
| CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value` | ||
| TEST=`./xmlquery TEST --value` | ||
|
|
||
| # For a transient case run the whole length and do not cycle | ||
| if [[ $compset =~ ^HIST ]]; then | ||
| # Number of years that can be run for the full transient case | ||
| if [[ $TEST != "TRUE" ]]; then | ||
| ./xmlchange STOP_N=7 | ||
| fi | ||
| fi | ||
|
|
||
| # Turn on LAI streams for a SP case | ||
| if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then | ||
| echo "stream_fldfilename_lai='/glade/work/oleson/PLUMBER2/input_files/${PLUMBER2SITE}/LAI_stream_${PLUMBER2SITE}_2011-2017.nc'" >> user_nl_clm | ||
| echo "model_year_align_lai=2011" >> user_nl_clm | ||
| echo "stream_year_first_lai=2011" >> user_nl_clm | ||
| echo "stream_year_last_lai=2017" >> user_nl_clm | ||
| fi |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../defaults |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| ./xmlchange PLUMBER2SITE=AU-Cow | ||
| ./xmlchange PTS_LON=145.427155 | ||
| ./xmlchange PTS_LAT=-16.23819 | ||
| ./xmlchange RUN_STARTDATE=2009-12-31 | ||
| ./xmlchange DATM_YR_ALIGN=2010 | ||
| ./xmlchange DATM_YR_START=2010 | ||
| ./xmlchange DATM_YR_END=2015 | ||
| ./xmlchange START_TOD=50400 | ||
| ./xmlchange ATM_NCPL=48 | ||
|
|
||
| echo "CLM_USRDAT.PLUMBER2:datafiles='/glade/work/oleson/PLUMBER2/datm_files/AU-Cow/CLM1PT_data/CTSM_DATM_AU-Cow_2010-2015.nc '" >> 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=2010" >> 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=2010" >> 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=2010" >> user_nl_datm_streams | ||
|
|
||
| compset=`./xmlquery COMPSET --value` | ||
| CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value` | ||
| TEST=`./xmlquery TEST --value` | ||
|
|
||
| # For a transient case run the whole length and do not cycle | ||
| if [[ $compset =~ ^HIST ]]; then | ||
| # Number of years that can be run for the full transient case | ||
| if [[ $TEST != "TRUE" ]]; then | ||
| ./xmlchange STOP_N=6 | ||
| fi | ||
| fi | ||
|
|
||
| # Turn on LAI streams for a SP case | ||
| if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then | ||
| echo "stream_fldfilename_lai='/glade/work/oleson/PLUMBER2/input_files/${PLUMBER2SITE}/LAI_stream_${PLUMBER2SITE}_2010-2015.nc'" >> user_nl_clm | ||
| echo "model_year_align_lai=2010" >> user_nl_clm | ||
| echo "stream_year_first_lai=2010" >> user_nl_clm | ||
| echo "stream_year_last_lai=2015" >> user_nl_clm | ||
| fi |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../defaults |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| ./xmlchange PLUMBER2SITE=AU-Cpr | ||
| ./xmlchange PTS_LON=140.589127 | ||
| ./xmlchange PTS_LAT=-34.00206 | ||
| ./xmlchange RUN_STARTDATE=2010-12-31 | ||
| ./xmlchange DATM_YR_ALIGN=2011 | ||
| ./xmlchange DATM_YR_START=2011 | ||
| ./xmlchange DATM_YR_END=2017 | ||
| ./xmlchange START_TOD=46800 | ||
| ./xmlchange ATM_NCPL=48 | ||
|
|
||
| echo "CLM_USRDAT.PLUMBER2:datafiles='/glade/work/oleson/PLUMBER2/datm_files/AU-Cpr/CLM1PT_data/CTSM_DATM_AU-Cpr_2011-2017.nc '" >> 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=2011" >> 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=2011" >> 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=2011" >> user_nl_datm_streams | ||
|
|
||
| compset=`./xmlquery COMPSET --value` | ||
| CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value` | ||
| TEST=`./xmlquery TEST --value` | ||
|
|
||
| # For a transient case run the whole length and do not cycle | ||
| if [[ $compset =~ ^HIST ]]; then | ||
| # Number of years that can be run for the full transient case | ||
| if [[ $TEST != "TRUE" ]]; then | ||
| ./xmlchange STOP_N=7 | ||
| fi | ||
| fi | ||
|
|
||
| # Turn on LAI streams for a SP case | ||
| if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then | ||
| echo "stream_fldfilename_lai='/glade/work/oleson/PLUMBER2/input_files/${PLUMBER2SITE}/LAI_stream_${PLUMBER2SITE}_2011-2017.nc'" >> user_nl_clm | ||
| echo "model_year_align_lai=2011" >> user_nl_clm | ||
| echo "stream_year_first_lai=2011" >> user_nl_clm | ||
| echo "stream_year_last_lai=2017" >> user_nl_clm | ||
| fi |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../defaults |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| ./xmlchange PLUMBER2SITE=AU-Ctr | ||
| ./xmlchange PTS_LON=145.446854 | ||
| ./xmlchange PTS_LAT=-16.103279 | ||
| ./xmlchange RUN_STARTDATE=2009-12-31 | ||
| ./xmlchange DATM_YR_ALIGN=2010 | ||
| ./xmlchange DATM_YR_START=2010 | ||
| ./xmlchange DATM_YR_END=2017 | ||
| ./xmlchange START_TOD=50400 | ||
| ./xmlchange ATM_NCPL=48 | ||
|
|
||
| echo "CLM_USRDAT.PLUMBER2:datafiles='/glade/work/oleson/PLUMBER2/datm_files/AU-Ctr/CLM1PT_data/CTSM_DATM_AU-Ctr_2010-2017.nc '" >> 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=2010" >> 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=2010" >> 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=2010" >> user_nl_datm_streams | ||
|
|
||
| compset=`./xmlquery COMPSET --value` | ||
| CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value` | ||
| TEST=`./xmlquery TEST --value` | ||
|
|
||
| # For a transient case run the whole length and do not cycle | ||
| if [[ $compset =~ ^HIST ]]; then | ||
| # Number of years that can be run for the full transient case | ||
| if [[ $TEST != "TRUE" ]]; then | ||
| ./xmlchange STOP_N=8 | ||
| fi | ||
| fi | ||
|
|
||
| # Turn on LAI streams for a SP case | ||
| if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then | ||
| echo "stream_fldfilename_lai='/glade/work/oleson/PLUMBER2/input_files/${PLUMBER2SITE}/LAI_stream_${PLUMBER2SITE}_2010-2017.nc'" >> user_nl_clm | ||
| echo "model_year_align_lai=2010" >> user_nl_clm | ||
| echo "stream_year_first_lai=2010" >> user_nl_clm | ||
| echo "stream_year_last_lai=2017" >> user_nl_clm | ||
| fi |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../defaults |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| ./xmlchange PLUMBER2SITE=AU-Cum | ||
| ./xmlchange PTS_LON=150.722473 | ||
| ./xmlchange PTS_LAT=-33.613297 | ||
| ./xmlchange RUN_STARTDATE=2012-12-31 | ||
| ./xmlchange DATM_YR_ALIGN=2013 | ||
| ./xmlchange DATM_YR_START=2013 | ||
| ./xmlchange DATM_YR_END=2018 | ||
| ./xmlchange START_TOD=46800 | ||
| ./xmlchange ATM_NCPL=48 | ||
|
|
||
| echo "CLM_USRDAT.PLUMBER2:datafiles='/glade/work/oleson/PLUMBER2/datm_files/AU-Cum/CLM1PT_data/CTSM_DATM_AU-Cum_2013-2018.nc '" >> 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=2013" >> 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=2013" >> 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=2013" >> user_nl_datm_streams | ||
|
|
||
| compset=`./xmlquery COMPSET --value` | ||
| CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value` | ||
| TEST=`./xmlquery TEST --value` | ||
|
|
||
| # For a transient case run the whole length and do not cycle | ||
| if [[ $compset =~ ^HIST ]]; then | ||
| # Number of years that can be run for the full transient case | ||
| if [[ $TEST != "TRUE" ]]; then | ||
| ./xmlchange STOP_N=6 | ||
| fi | ||
| fi | ||
|
|
||
| # Turn on LAI streams for a SP case | ||
| if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then | ||
| echo "stream_fldfilename_lai='/glade/work/oleson/PLUMBER2/input_files/${PLUMBER2SITE}/LAI_stream_${PLUMBER2SITE}_2013-2018.nc'" >> user_nl_clm | ||
| echo "model_year_align_lai=2013" >> user_nl_clm | ||
| echo "stream_year_first_lai=2013" >> user_nl_clm | ||
| echo "stream_year_last_lai=2018" >> user_nl_clm | ||
| fi |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../defaults |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| ./xmlchange PLUMBER2SITE=AU-DaP | ||
| ./xmlchange PTS_LON=131.3181 | ||
| ./xmlchange PTS_LAT=-14.0633 | ||
| ./xmlchange RUN_STARTDATE=2008-12-31 | ||
| ./xmlchange DATM_YR_ALIGN=2009 | ||
| ./xmlchange DATM_YR_START=2009 | ||
| ./xmlchange DATM_YR_END=2012 | ||
| ./xmlchange START_TOD=54000 | ||
| ./xmlchange ATM_NCPL=48 | ||
|
|
||
| echo "CLM_USRDAT.PLUMBER2:datafiles='/glade/work/oleson/PLUMBER2/datm_files/AU-DaP/CLM1PT_data/CTSM_DATM_AU-DaP_2009-2012.nc '" >> 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=2009" >> 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=2009" >> 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=2009" >> user_nl_datm_streams | ||
|
|
||
| compset=`./xmlquery COMPSET --value` | ||
| CLM_USRDAT_NAME=`./xmlquery CLM_USRDAT_NAME --value` | ||
| TEST=`./xmlquery TEST --value` | ||
|
|
||
| # For a transient case run the whole length and do not cycle | ||
| if [[ $compset =~ ^HIST ]]; then | ||
| # Number of years that can be run for the full transient case | ||
| if [[ $TEST != "TRUE" ]]; then | ||
| ./xmlchange STOP_N=4 | ||
| fi | ||
| fi | ||
|
|
||
| # Turn on LAI streams for a SP case | ||
| if [[ $compset =~ .*CLM[0-9]+%[^_]*SP.* ]]; then | ||
| echo "stream_fldfilename_lai='/glade/work/oleson/PLUMBER2/input_files/${PLUMBER2SITE}/LAI_stream_${PLUMBER2SITE}_2009-2012.nc'" >> user_nl_clm | ||
| echo "model_year_align_lai=2009" >> user_nl_clm | ||
| echo "stream_year_first_lai=2009" >> user_nl_clm | ||
| echo "stream_year_last_lai=2012" >> user_nl_clm | ||
| fi |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../defaults |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.