Skip to content

Commit 6c1cc2d

Browse files
committed
CTSM5.4 updates to default_data_[1850,2000].cfg & modify_smallville.sh
1 parent 7e9c184 commit 6c1cc2d

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

tools/modify_input_files/modify_smallville.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ module load nco
77
# This script runs from the mksurfdata_esmf/Makefile.
88
# When running standalone, it may need "subset_data_single_point/" in front
99
# of each landuse.timeseries file name.
10-
file_to_2100="landuse.timeseries_1x1_smallvilleIA_SSP2-4.5_1850-2100_78pfts_c$(date +%y%m%d).nc"
11-
file_to_1855="landuse.timeseries_1x1_smallvilleIA_SSP2-4.5_1850-1855_78pfts_c$(date +%y%m%d).nc"
12-
file_lake="landuse.timeseries_1x1_smallvilleIA_SSP2-4.5_1850-1855_78pfts_dynLakes_c$(date +%y%m%d).nc"
13-
file_urban="landuse.timeseries_1x1_smallvilleIA_SSP2-4.5_1850-1855_78pfts_dynUrban_c$(date +%y%m%d).nc"
14-
file_pft="landuse.timeseries_1x1_smallvilleIA_SSP2-4.5_1850-1855_78pfts_dynPft_c$(date +%y%m%d).nc"
10+
file_whole="landuse.timeseries_1x1_smallvilleIA_hist_1850-2023_78pfts_c$(date +%y%m%d).nc"
11+
file_to_1855="landuse.timeseries_1x1_smallvilleIA_synth_hist_1850-1855_78pfts_c$(date +%y%m%d).nc"
12+
file_lake="landuse.timeseries_1x1_smallvilleIA_synth_hist_1850-1855_78pfts_dynLakes_c$(date +%y%m%d).nc"
13+
file_urban="landuse.timeseries_1x1_smallvilleIA_synth_hist_1850-1855_78pfts_dynUrban_c$(date +%y%m%d).nc"
14+
file_pft="landuse.timeseries_1x1_smallvilleIA_synth_hist_1850-1855_78pfts_dynPft_c$(date +%y%m%d).nc"
1515

1616
# Trim the file to just the years 1850-1855
17-
ncks -d time,0,5 $file_to_2100 $file_to_1855
17+
ncks -d time,0,5 $file_whole $file_to_1855
1818

1919
# Replace all values in the LAKE and CROP variables
2020
ncap2 -s "PCT_LAKE=array(0.,0.,PCT_CROP); PCT_LAKE={0.,50.,25.,25.,25.,25.} ; PCT_LAKE_MAX=array(50.,50.,PCT_CROP_MAX); PCT_CROP=array(0.,0.,PCT_LAKE); PCT_CROP={0.,25.,12.,12.,12.,12.}; PCT_CROP_MAX=array(25.,25.,PCT_LAKE_MAX)" $file_to_1855 $file_lake

tools/site_and_regional/default_data_1850.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ precname = CLMCRUJRA2024.Precip
1515
tpqwname = CLMCRUJRA2024.TPQW
1616

1717
[surfdat]
18-
dir = lnd/clm2/surfdata_esmf/ctsm5.3.0
19-
surfdat_78pft = surfdata_0.9x1.25_hist_1850_78pfts_c240908.nc
18+
dir = lnd/clm2/surfdata_esmf/ctsm5.4.0
19+
surfdat_78pft = surfdata_0.9x1.25_hist_1850_78pfts_c251022.nc
2020

2121
[landuse]
22-
dir = lnd/clm2/surfdata_esmf/ctsm5.3.0
23-
landuse_78pft = landuse.timeseries_0.9x1.25_SSP2-4.5_1850-2100_78pfts_c240908.nc
22+
dir = lnd/clm2/surfdata_esmf/ctsm5.4.0
23+
landuse_78pft = landuse.timeseries_0.9x1.25_hist_1850-2023_78pfts_c251022.nc
2424

2525
[domain]
2626
file = share/domains/domain.lnd.fv0.9x1.25_gx1v7.151020.nc

tools/site_and_regional/default_data_2000.cfg

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[main]
2-
clmforcingindir = /glade/campaign/cesm/cesmdata/cseg/inputdata
2+
clmforcingindir = /glade/campaign/cesm/cesmdata/inputdata
33

44
[datm]
55
dir = atm/datm7/atm_forcing.datm7.CRUJRA.0.5d.c20241231/three_stream
@@ -15,16 +15,16 @@ precname = CLMCRUJRA2024.Precip
1515
tpqwname = CLMCRUJRA2024.TPQW
1616

1717
[surfdat]
18-
dir = lnd/clm2/surfdata_esmf/ctsm5.3.0
19-
surfdat_16pft = surfdata_0.9x1.25_hist_2000_16pfts_c240908.nc
20-
surfdat_78pft = surfdata_0.9x1.25_hist_2000_78pfts_c240908.nc
18+
dir = lnd/clm2/surfdata_esmf/ctsm5.4.0
19+
surfdat_16pft = surfdata_0.9x1.25_hist_2000_16pfts_c251022.nc
20+
surfdat_78pft = surfdata_0.9x1.25_hist_2000_78pfts_c251022.nc
2121
mesh_dir = share/meshes/
2222
mesh_surf = fv0.9x1.25_141008_ESMFmesh.nc
2323

2424
[landuse]
25-
dir = lnd/clm2/surfdata_esmf/ctsm5.3.0
26-
landuse_16pft = landuse.timeseries_0.9x1.25_SSP2-4.5_1850-2100_78pfts_c240908.nc
27-
landuse_78pft = landuse.timeseries_0.9x1.25_SSP2-4.5_1850-2100_78pfts_c240908.nc
25+
dir = lnd/clm2/surfdata_esmf/ctsm5.4.0
26+
landuse_16pft = landuse.timeseries_0.9x1.25_hist_1850-2023_78pfts_c251022.nc
27+
landuse_78pft = landuse.timeseries_0.9x1.25_hist_1850-2023_78pfts_c251022.nc
2828

2929
[domain]
3030
file = share/domains/domain.lnd.fv0.9x1.25_gx1v7.151020.nc

0 commit comments

Comments
 (0)