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

Neon updates #1872

Merged
merged 104 commits into from
Nov 20, 2022
Merged
Show file tree
Hide file tree
Changes from 73 commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
85f72cc
Fix albgrd_col value in SurfaceAlbedoType
ka7eh Jul 15, 2022
8606f39
Add error checking in ParitionWoodFluxes
ka7eh Jul 19, 2022
f0f28e7
python updates for #1871
wwieder Oct 14, 2022
c616dff
usermod changes for #1871
wwieder Oct 14, 2022
b9736eb
local gcs modifications
wwieder Oct 14, 2022
25b0a78
Merge tag 'ctsm5.1.dev112' into neon_updates
ekluzek Oct 16, 2022
ae3d8b3
modified path for uploading to GCS
wwieder Oct 16, 2022
39b3467
Merge branch 'neon_updates' of github.com:wwieder/CTSM into neon_updates
ekluzek Oct 17, 2022
3c9615b
Fix per comment
ka7eh Oct 18, 2022
8a7777c
Update neon_gcs_upload
wwieder Oct 19, 2022
1cf1d17
Update shell_commands
wwieder Oct 19, 2022
c2d185e
Update shell_commands
wwieder Oct 19, 2022
5f1d190
Update shell_commands
wwieder Oct 19, 2022
63dd779
Update shell_commands
wwieder Oct 19, 2022
b9acc52
Update shell_commands
wwieder Oct 19, 2022
d2f502a
Update shell_commands
wwieder Oct 19, 2022
eb288b3
Update shell_commands
wwieder Oct 19, 2022
9730442
Update shell_commands
wwieder Oct 19, 2022
d8b1d88
Update shell_commands
wwieder Oct 19, 2022
279a54d
Update shell_commands
wwieder Oct 19, 2022
06b4059
Update shell_commands
wwieder Oct 19, 2022
f9831ac
Update neon_gcs_upload
wwieder Oct 19, 2022
730bdbe
Update shell_commands
wwieder Oct 21, 2022
78cb00e
trying to address cases with non-standard start/end years
wwieder Oct 22, 2022
100f2aa
resolve conflicts
wwieder Oct 22, 2022
69d25d9
Correct the syntax so the bash if statements work
ekluzek Oct 22, 2022
7f839cc
additional modifications needed for usermods to work as intended
wwieder Oct 23, 2022
bcbc456
correction for DATM_YR_END in ad and postAD
wwieder Oct 23, 2022
8e7efb0
Working version of run_neon.py, I tried running shell_commands after …
ekluzek Oct 25, 2022
1c5e900
Remove some of the prints I added, and the shell_commands part I comm…
ekluzek Oct 26, 2022
13efae5
Use the compset to determine if this is a transient case or not
ekluzek Oct 26, 2022
6950b1f
Have the last year for the datm data be 2022, so that it will work fo…
ekluzek Oct 26, 2022
a5780c0
Set CLM streams to go until 2022 as well
ekluzek Oct 26, 2022
e51d3a4
Set the use-case by the type of compset
ekluzek Oct 26, 2022
3d45254
Add run_neon output directories to the git ignore
ekluzek Oct 27, 2022
6f64634
Add the neon listing to git ignore
ekluzek Oct 27, 2022
ae750e1
Add in 2018 and 2018-PD transient use cases
ekluzek Oct 27, 2022
8cc2405
CLM stream settings are now in the 2018 use cases
ekluzek Oct 27, 2022
b715fd1
Merge remote-tracking branch 'escomp/master' into neon_updates
ekluzek Nov 2, 2022
fcacc1c
Set urbantv start and end for 2018
ekluzek Nov 2, 2022
6d6a43d
2018 control needs to use future scenario data
ekluzek Nov 2, 2022
78ad4ae
Explicitly turn crop on for the two NEON AG sites fixing #1889
ekluzek Nov 2, 2022
0e09412
Fix a little glitch where run-length couldn't be set
ekluzek Nov 3, 2022
b2040f4
Make sure the compset type is correct for both basecase and case clon…
ekluzek Nov 4, 2022
b824c78
Always ensure to build/run single point NEON sites with mpi-serial ra…
ekluzek Nov 4, 2022
69b8e32
Add the header for user_nl_datm_streams, so that there are instructio…
ekluzek Nov 4, 2022
dbe02ed
Don't reapply user-mod in run_neon clone, and don't set DATM_YR_END
ekluzek Nov 4, 2022
222ba81
Add mesh file for reduced Lightning dataset
ekluzek Nov 4, 2022
e855ee4
Remove the PIO_REARRANGER setting, which is hopefully not needed with…
ekluzek Nov 4, 2022
4dd4a70
needed so cloned cases point to correct datm input directory
wwieder Nov 5, 2022
b1096d7
Add comment about needing to keep the user_mod_dirs argument in the c…
ekluzek Nov 5, 2022
1d6bb47
Add run_black target to not just check with black but to run it, add …
ekluzek Nov 6, 2022
4c7e793
force STOP_OPTION in transient run to nmonths
wwieder Nov 6, 2022
83f3304
modified for last month of DATM data at CPER
wwieder Nov 6, 2022
ba48af8
let usermods set start date for transient runs
wwieder Nov 6, 2022
457f508
modify shell comands to avoid cycling climte data for last month in t…
wwieder Nov 6, 2022
a262232
Get mock working for date, and use the way date was used in utils
ekluzek Nov 8, 2022
8958f12
Add some more tests
ekluzek Nov 8, 2022
cf5841e
Add test for domain file as well
ekluzek Nov 8, 2022
52a0179
Add ability of add_tag_to_filename to replace resolution for the surf…
ekluzek Nov 9, 2022
c40fcd5
Allow more characters for resolution in filename
ekluzek Nov 9, 2022
9dd2885
Add a landunit test for the replace_res option
ekluzek Nov 9, 2022
3781d6b
Add a test to loop over a list of surface dataset names
ekluzek Nov 9, 2022
363154c
Add more complex surface dataset names and make sure works
ekluzek Nov 9, 2022
5a4f415
Make sure works for a 4-digit year date string as well
ekluzek Nov 9, 2022
65e0c9a
Add note that 4-digit years are allowed and test for it
ekluzek Nov 9, 2022
96209ce
Replace the resolution in the surface and landuse.timeseries filenames
ekluzek Nov 9, 2022
a5dc3f4
Change NEON surface dataset name
ekluzek Nov 9, 2022
cc3770c
Add modules needed for neon_surf_wrapper
ekluzek Nov 9, 2022
beb002e
Update surface dataset names for NEON
ekluzek Nov 9, 2022
0c42f85
Merge branch 'neon_updates' of github.com:wwieder/CTSM into neon_updates
ekluzek Nov 9, 2022
e1459d4
Add python modules needed for neon_surf_wrapper to all conda requirem…
ekluzek Nov 10, 2022
134ec4e
updated path to surface datasets
wwieder Nov 11, 2022
74b9cd3
Replace notes about using ncar_pylib with running py_env_create
ekluzek Nov 11, 2022
4588f0c
Remove the toolchain files, this work was moved over to the ctsm5.2 b…
ekluzek Nov 11, 2022
5bf8499
Add note that start option is not functional and remove the code abou…
ekluzek Nov 12, 2022
71e322f
Merge remote-tracking branch 'ka7eh/add-error-checking-in-PartitionWo…
ekluzek Nov 12, 2022
b2d71ba
Merge remote-tracking branch 'ka7eh/fix-albgrd_col-value' into neon_u…
ekluzek Nov 12, 2022
f40d8fa
Update mosart to bring in direct_to_outlet fixes
ekluzek Nov 14, 2022
4e50858
Add a direction for the check_for_nans so that the direction the fiel…
ekluzek Nov 14, 2022
5769dd1
Update change files
ekluzek Nov 14, 2022
92b6899
change file updates, rm old neon_s3_upload as replaced by neon_gcs_up…
ekluzek Nov 14, 2022
ea4d150
rm old neon_s3_upload as replaced by neon_gcs_upload version
ekluzek Nov 14, 2022
deedb04
Fix for #1901
ekluzek Nov 14, 2022
bfb840d
Explicitly set the NEON site to run
ekluzek Nov 16, 2022
1ed3774
Move run of py_env_create to after CLM_ROOT is set and call it for al…
ekluzek Nov 16, 2022
a19f367
Merge branch 'neon_updates' of github.com:wwieder/CTSM into neon_updates
ekluzek Nov 16, 2022
c31e832
Update date for change files
ekluzek Nov 16, 2022
2e96793
Merge branch 'neon_updates' of github.com:wwieder/CTSM into neon_updates
ekluzek Nov 16, 2022
6450b8c
Fix syntax error
ekluzek Nov 17, 2022
be3a100
OK really fix the syntax for the comment
ekluzek Nov 17, 2022
a8630ad
Add some checks that directories are there as expected
ekluzek Nov 17, 2022
57e9d4e
Add some more checking that create_newcase exists as expected and tha…
ekluzek Nov 17, 2022
8b36987
Add a check that the main inputdata directory exists or not, and add …
ekluzek Nov 17, 2022
5381b91
Add inputdata-dir option
ekluzek Nov 17, 2022
a4ea6e8
Add a check that using command line argument to something that doesn'…
ekluzek Nov 17, 2022
c5c0548
Run black
ekluzek Nov 17, 2022
00d117a
Set inputdata option so testing can run on both cheyenne and izumi
ekluzek Nov 17, 2022
b5f153f
Add argument for inputdata-directory
ekluzek Nov 18, 2022
2c523aa
Set inputdata directory so can work on izumi
ekluzek Nov 18, 2022
2e122e0
Make datm forcing data under the inputdata-dir so doesn't need a sepe…
ekluzek Nov 18, 2022
6b017ae
Check if pandas is recent enough
ekluzek Nov 19, 2022
b8753eb
Fix the error, which was failing in writing an empty list
ekluzek Nov 19, 2022
01b4118
Update changelog
ekluzek Nov 20, 2022
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
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ unit_test_build
/tools/mkmapdata/regrid.o*
/tools/mkmapdata/map*.nc

# run_neon output directories
/tools/site_and_regional/listing.csv
/tools/site_and_regional/????/
/tools/site_and_regional/????.ad/
/tools/site_and_regional/????.postad/
/tools/site_and_regional/????.transient/

# build output
*.o
*.mod
Expand Down
2 changes: 2 additions & 0 deletions bld/CLMBuildNamelist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4560,6 +4560,8 @@ sub check_use_case_name {
} else {
$log->fatal_error($diestring);
}
} elsif ( $use_case =~ /^([0-9]+|PI)-PD_*($desc)_transient$/ ) {
# valid name
} elsif ( $use_case =~ /^([0-9]+)_*($desc)_control$/ ) {
# valid name
} elsif ( $use_case =~ /^($desc)_pd$/ ) {
Expand Down
16 changes: 16 additions & 0 deletions bld/namelist_files/namelist_defaults_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
<co2_ppmv sim_year="2000" >379.0</co2_ppmv>
<co2_ppmv sim_year="2010" >388.8</co2_ppmv>
<co2_ppmv sim_year="2015" >397.5</co2_ppmv>
<co2_ppmv sim_year="2018" >408.83</co2_ppmv>
<co2_ppmv sim_year="1850" >284.7</co2_ppmv>
<co2_ppmv sim_year="PtVg" >284.7</co2_ppmv>

Expand Down Expand Up @@ -1449,6 +1450,9 @@ lnd/clm2/surfdata_map/release-clm5.0.30/surfdata_ne0np4.CONUS.ne30x8_hist_78pfts
<stream_year_last_ndep phys="clm5_1" use_cn=".true." sim_year_range="1850-2100" >2101</stream_year_last_ndep>
<model_year_align_ndep phys="clm5_1" use_cn=".true." sim_year_range="1850-2100" >2015</model_year_align_ndep>

<stream_year_first_ndep use_cn=".true." sim_year="2018" >2018</stream_year_first_ndep>
<stream_year_last_ndep use_cn=".true." sim_year="2018" >2018</stream_year_last_ndep>

<stream_year_first_ndep use_cn=".true." sim_year="2010" >2010</stream_year_first_ndep>
<stream_year_last_ndep use_cn=".true." sim_year="2010" >2010</stream_year_last_ndep>

Expand Down Expand Up @@ -1601,6 +1605,9 @@ lnd/clm2/surfdata_map/release-clm5.0.30/surfdata_ne0np4.CONUS.ne30x8_hist_78pfts
<stream_year_last_popdens phys="clm5_1" cnfireson=".true." sim_year_range="1850-2100" >2100</stream_year_last_popdens>
<model_year_align_popdens phys="clm5_1" cnfireson=".true." sim_year_range="1850-2100" >2015</model_year_align_popdens>

<stream_year_first_popdens use_cn=".true." sim_year="2018" >2018</stream_year_first_popdens>
<stream_year_last_popdens use_cn=".true." sim_year="2018" >2018</stream_year_last_popdens>

<stream_year_first_popdens use_cn=".true." sim_year="2010" >2010</stream_year_first_popdens>
<stream_year_last_popdens use_cn=".true." sim_year="2010" >2010</stream_year_last_popdens>

Expand All @@ -1619,6 +1626,9 @@ lnd/clm2/surfdata_map/release-clm5.0.30/surfdata_ne0np4.CONUS.ne30x8_hist_78pfts
<stream_year_first_popdens use_cn=".true." sim_year="constant" sim_year_range="1000-1004" >2000</stream_year_first_popdens>
<stream_year_last_popdens use_cn=".true." sim_year="constant" sim_year_range="1000-1004" >2000</stream_year_last_popdens>

<stream_year_first_popdens use_fates=".true." sim_year="2018" >2018</stream_year_first_popdens>
<stream_year_last_popdens use_fates=".true." sim_year="2018" >2018</stream_year_last_popdens>

<stream_year_first_popdens use_fates=".true." sim_year="2010" >2010</stream_year_first_popdens>
<stream_year_last_popdens use_fates=".true." sim_year="2010" >2010</stream_year_last_popdens>

Expand Down Expand Up @@ -1706,6 +1716,12 @@ lnd/clm2/surfdata_map/release-clm5.0.30/surfdata_ne0np4.CONUS.ne30x8_hist_78pfts
<stream_year_last_urbantv phys="clm4_5" sim_year_range="1850-2100" >2106</stream_year_last_urbantv>
<model_year_align_urbantv phys="clm4_5" sim_year_range="1850-2100" >2015</model_year_align_urbantv>

<stream_year_first_urbantv sim_year="2018" >2018</stream_year_first_urbantv>
<stream_year_last_urbantv sim_year="2018" >2018</stream_year_last_urbantv>

<stream_year_first_urbantv sim_year="2010" >2010</stream_year_first_urbantv>
<stream_year_last_urbantv sim_year="2010" >2010</stream_year_last_urbantv>

<stream_year_first_urbantv sim_year="2000" >2000</stream_year_first_urbantv>
<stream_year_last_urbantv sim_year="2000" >2000</stream_year_last_urbantv>

Expand Down
2 changes: 1 addition & 1 deletion bld/namelist_files/namelist_definition_ctsm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2057,7 +2057,7 @@ If 1, turn on the MEGAN model for BVOC's (Biogenic Volitile Organic Compounds)

<entry id="sim_year" type="char*4" category="default_settings"
group="default_settings" valid_values=
"PtVg,1000,850,1100,1350,1600,1850,1855,1865,1875,1885,1895,1905,1915,1925,1935,1945,1955,1965,1975,1979,1980,1982,1985,1995,2000,2005,2010,2013,2015,2025,2035,2045,2055,2065,2075,2085,2095,2105">
"PtVg,1000,850,1100,1350,1600,1850,1855,1865,1875,1885,1895,1905,1915,1925,1935,1945,1955,1965,1975,1979,1980,1982,1985,1995,2000,2005,2010,2013,2015,2018,2025,2035,2045,2055,2065,2075,2085,2095,2105">
Year to simulate and to provide datasets for (such as surface datasets, initial conditions, aerosol-deposition, Nitrogen deposition rates etc.)
A sim_year of 1000 corresponds to data used for testing only, NOT corresponding to any real datasets.
A sim_year greater than 2015 corresponds to ssp_rcp scenario data
Expand Down
29 changes: 29 additions & 0 deletions bld/namelist_files/use_cases/2018-PD_transient.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0"?>

<namelist_defaults>

<use_case_desc>Simulate transient land-use, and aerosol deposition changes from 2018 to current day with a mix of historical data, and future scenario data</use_case_desc>

<!-- Have a minimal list of things set here, sim_year, sim_year_range, and ssp_rcp, other things should be dependent on these and
set in a namelist_defaults xml file -->

<sim_year>2018</sim_year>

<sim_year_range>1850-2100</sim_year_range>

<!-- Use future data as needed from the SSP3-7.0 scenario-->
<ssp_rcp>SSP3-7.0</ssp_rcp>

<stream_year_first_ndep use_cn=".true." >2018</stream_year_first_ndep>
<stream_year_last_ndep use_cn=".true." >2022</stream_year_last_ndep>
<model_year_align_ndep use_cn=".true." >2018</model_year_align_ndep>

<stream_year_first_popdens cnfireson=".true." >2018</stream_year_first_popdens>
<stream_year_last_popdens cnfireson=".true." >2022</stream_year_last_popdens>
<model_year_align_popdens cnfireson=".true." >2018</model_year_align_popdens>

<stream_year_first_urbantv >2018</stream_year_first_urbantv>
<stream_year_last_urbantv >2022</stream_year_last_urbantv>
<model_year_align_urbantv >2018</model_year_align_urbantv>

</namelist_defaults>
14 changes: 14 additions & 0 deletions bld/namelist_files/use_cases/2018_control.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0"?>

<namelist_defaults>

<use_case_desc>Conditions to simulate 2018 land-use</use_case_desc>

<sim_year>2018</sim_year>

<sim_year_range>constant</sim_year_range>

<!-- Use future data as needed from the SSP3-7.0 scenario-->
<ssp_rcp>SSP3-7.0</ssp_rcp>

</namelist_defaults>
5 changes: 5 additions & 0 deletions bld/namelist_files/use_cases/README
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Transient cases:

20thC$desc_transient (means nominal 1850-2000 although some datasets are 1850-2005)

or

yyyy-PD_$desc_transient (means nominal year yyyy through present day (PD) (with the year for PD advancing)

Control cases:

yyyy$desc_control
Expand All @@ -30,6 +34,7 @@ Where

yyyy = Simulation year (such as 1850 or 2000).
yyyy-yyyy = Range of simulation years to run over (i.e.. 1850-2000).
yyyy-PD = Range of simulation years to run over until present day (i.e.. 2018-2024).
$ssp_rcp = Shared Socieconomic Pathway (SSP) Representative concentration pathway (RCP) description string
for future scenarios:
SSP#-#.# (for example: SSP5-8.5, SSP1-2.6, SSP4-6.0
Expand Down
2 changes: 1 addition & 1 deletion bld/unit_testers/build-namelist_test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ sub cat_and_create_namelistinfile {
#
# Now run the site
#
my $options = "-res CLM_USRDAT -clm_usr_name NEON -no-megan -bgc bgc -sim_year 2000 -infile $namelistfile";
my $options = "-res CLM_USRDAT -clm_usr_name NEON -no-megan -bgc bgc -sim_year 2018 -infile $namelistfile";
eval{ system( "$bldnml -envxml_dir . $options > $tempfile 2>&1 " ); };
is( $@, '', "options: $options" );
$cfiles->checkfilesexist( "$options", $mode );
Expand Down
12 changes: 8 additions & 4 deletions cime_config/usermods_dirs/NEON/BARR/shell_commands
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/bin/bash

./xmlchange NEONSITE=BARR
./xmlchange PTS_LON=203.349781
./xmlchange PTS_LAT=71.281711
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019,DATM_YR_END=2022
./xmlchange STOP_N=39

./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019
# Different default start date and number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange STOP_N=39
fi
3 changes: 3 additions & 0 deletions cime_config/usermods_dirs/NEON/CPER/shell_commands
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
./xmlchange NEONSITE=CPER
./xmlchange PTS_LON=255.25545
./xmlchange PTS_LAT=40.81297
if [[ $compset =~ ^HIST ]]; then
./xmlchange STOP_N=50
fi
9 changes: 7 additions & 2 deletions cime_config/usermods_dirs/NEON/GUAN/shell_commands
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash

./xmlchange NEONSITE=GUAN
./xmlchange PTS_LON=293.13112
./xmlchange PTS_LAT=17.96882
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019
./xmlchange STOP_N=39
# Different default start date and number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange STOP_N=39
fi
4 changes: 4 additions & 0 deletions cime_config/usermods_dirs/NEON/KONA/shell_commands
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
./xmlchange NEONSITE=KONA
./xmlchange PTS_LON=263.38956
./xmlchange PTS_LAT=39.10828
# Setup to run with prognostic crops for this site
# If you want to explicitly run in SP mode or add other
# options you'll need to add that after this...
./xmlchange CLM_BLDNML_OPTS="--bgc bgc --crop"
8 changes: 6 additions & 2 deletions cime_config/usermods_dirs/NEON/LAJA/shell_commands
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/bin/bash
./xmlchange NEONSITE=LAJA
./xmlchange PTS_LON=292.92392
./xmlchange PTS_LAT=18.02184
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019
./xmlchange STOP_N=39
# Different default start date and number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange STOP_N=39
fi


9 changes: 7 additions & 2 deletions cime_config/usermods_dirs/NEON/LENO/shell_commands
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#!/bin/bash

./xmlchange NEONSITE=LENO
./xmlchange PTS_LON=271.83897
./xmlchange PTS_LAT=31.8531
./xmlchange RUN_STARTDATE=2021-01-01
./xmlchange DATM_YR_ALIGN=2021,DATM_YR_START=2021
./xmlchange STOP_N=15
# Different default start date and number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange RUN_STARTDATE=2021-01-01
./xmlchange STOP_N=15
fi

8 changes: 6 additions & 2 deletions cime_config/usermods_dirs/NEON/MLBS/shell_commands
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/bash
./xmlchange NEONSITE=MLBS
./xmlchange PTS_LON=279.47575
./xmlchange PTS_LAT=37.37783
./xmlchange STOP_N=24
./xmlchange DATM_YR_END=2019

# Different default number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange DATM_YR_END=2020
./xmlchange STOP_N=24
fi
12 changes: 7 additions & 5 deletions cime_config/usermods_dirs/NEON/MOAB/shell_commands
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/bash
./xmlchange NEONSITE=MOAB
./xmlchange PTS_LON=250.61118
./xmlchange PTS_LAT=38.25136
./xmlchange RUN_STARTDATE=2018-01-01
./xmlchange DATM_YR_ALIGN=2018,DATM_YR_START=2018,DATM_YR_END=2020
./xmlchange STOP_N=36


./xmlchange DATM_YR_END=2020
# Different default number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange DATM_YR_END=2021
./xmlchange STOP_N=36
fi
12 changes: 7 additions & 5 deletions cime_config/usermods_dirs/NEON/ONAQ/shell_commands
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/bash
./xmlchange NEONSITE=ONAQ
./xmlchange PTS_LON=276.49815
./xmlchange PTS_LAT=35.68839
./xmlchange RUN_STARTDATE=2018-01-01
./xmlchange DATM_YR_ALIGN=2018,DATM_YR_START=2018,DATM_YR_END=2019
./xmlchange STOP_N=24


./xmlchange DATM_YR_END=2019
# Different default number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange DATM_YR_END=2020
./xmlchange STOP_N=24
fi
9 changes: 6 additions & 3 deletions cime_config/usermods_dirs/NEON/SJER/shell_commands
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/bash
./xmlchange NEONSITE=SJER
./xmlchange PTS_LON=240.267
./xmlchange PTS_LAT=37.107117
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019
./xmlchange STOP_N=39
# Different default start date and number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange STOP_N=39
fi

#./xmlchange RUN_STARTDATE=2018-09-01
4 changes: 4 additions & 0 deletions cime_config/usermods_dirs/NEON/STER/shell_commands
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
./xmlchange NEONSITE=STER
./xmlchange PTS_LON=256.96992
./xmlchange PTS_LAT=40.45984
# Setup to run with prognostic crops for this site
# If you want to explicitly run in SP mode or add other
# # options you'll need to add that after this...
./xmlchange CLM_BLDNML_OPTS="--bgc bgc --crop"
11 changes: 7 additions & 4 deletions cime_config/usermods_dirs/NEON/TEAK/shell_commands
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash
./xmlchange NEONSITE=TEAK
./xmlchange PTS_LON=240.99424199999999
./xmlchange PTS_LAT=37.006472
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019
./xmlchange STOP_N=39

./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019
# Different default start date and number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange STOP_N=39
fi
10 changes: 6 additions & 4 deletions cime_config/usermods_dirs/NEON/TOOL/shell_commands
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/bash
./xmlchange NEONSITE=TOOL
./xmlchange PTS_LON=210.629872
./xmlchange PTS_LAT=68.66045
./xmlchange RUN_STARTDATE=2020-01-01
./xmlchange DATM_YR_ALIGN=2020,DATM_YR_START=2020
./xmlchange STOP_N=27


# Different default start date and number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange RUN_STARTDATE=2020-01-01
./xmlchange STOP_N=27
fi
7 changes: 7 additions & 0 deletions cime_config/usermods_dirs/NEON/WREF/shell_commands
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#!/bin/bash
./xmlchange NEONSITE=WREF
./xmlchange PTS_LON=238.04162
./xmlchange PTS_LAT=45.81637
./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019
# Different default start date and number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange STOP_N=39
fi
11 changes: 7 additions & 4 deletions cime_config/usermods_dirs/NEON/YELL/shell_commands
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash
./xmlchange NEONSITE=YELL
./xmlchange PTS_LON=249.45803999999998
./xmlchange PTS_LAT=44.95597
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019
./xmlchange STOP_N=39
# ./xmlchange RUN_STARTDATE=2018-08-01
./xmlchange DATM_YR_ALIGN=2019,DATM_YR_START=2019
# Different default start date and number of months to run for transient case
if [[ $compset =~ ^HIST ]]; then
./xmlchange RUN_STARTDATE=2019-01-01
./xmlchange STOP_N=39
fi
24 changes: 17 additions & 7 deletions cime_config/usermods_dirs/NEON/defaults/shell_commands
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
#!/bin/bash
./xmlchange CLM_USRDAT_NAME=NEON
./xmlchange RUN_STARTDATE=2018-01-01
./xmlchange CLM_NML_USE_CASE=1850-2100_SSP3-7.0_transient
./xmlchange CCSM_CO2_PPMV=408.83
# Set data forcing data to future scenario so will have data from 2018 to present-day
./xmlchange DATM_PRESAERO=SSP3-7.0
./xmlchange DATM_PRESNDEP=SSP3-7.0
./xmlchange DATM_PRESO3=SSP3-7.0
# Explicitly set the MPI library to mpi-serial so won't have the build/run complexity of a full MPI library
./xmlchange MPILIB=mpi-serial
# Set years to run forcing data over
./xmlchange DATM_YR_ALIGN=2018,DATM_YR_END=2021,DATM_YR_START=2018
compset=`./xmlquery COMPSET --value`
# For a transient case run the whole length and don't cycle
if [[ $compset =~ ^HIST ]]; then
./xmlchange DATM_YR_END=2022
./xmlchange RUN_STARTDATE=2018-01-01
# Number of months that can be run for the full transient case
./xmlchange STOP_OPTION="nmonths"
ekluzek marked this conversation as resolved.
Show resolved Hide resolved
./xmlchange STOP_N=51
./xmlchange CLM_NML_USE_CASE="2018-PD_transient"
else
./xmlchange CLM_NML_USE_CASE="2018_control"
fi

# Explicitly set PIO Type to NETCDF since this is a single processor case (should already be set this way)
./xmlchange PIO_TYPENAME=netcdf
# BD:05/06/2022 - The PIO_REARRANGER_LND value - for global runs, PIO_REARRANGER_LND = 1 is ideal
# and a value of 2 results in slow I/O. For point runs like these, a value of 1 results in a crash (PIO bug, probably),
# so we explicitly set a value of 2.
./xmlchange PIO_REARRANGER_LND=2

Loading