18 lines
582 B
Bash
18 lines
582 B
Bash
#!/bin/bash
|
|
./xmlchange NEONSITE=TEAK
|
|
./xmlchange PTS_LON=240.99424199999999
|
|
./xmlchange PTS_LAT=37.006472
|
|
./xmlchange DATM_YR_ALIGN=2019
|
|
# NEON precipitation data for this site is missing so end early
|
|
# If CLM_USRDAT_NAME is NEON.PRISM you can run to the end of the data
|
|
if [[ $CLM_USRDAT_NAME == 'NEON' ]]; then
|
|
./xmlchange 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
|
|
if [[ $TEST != "TRUE" ]]; then
|
|
./xmlchange STOP_N=39
|
|
fi
|
|
fi
|
|
fi
|