Skip to content

Commit 684512d

Browse files
authored
Merge pull request #694 from E3SM-Project/add_example_cfg_iss_692
add example cfg for v3.LR.historical run on LCRC
2 parents e908868 + bcad046 commit 684512d

File tree

1 file changed

+290
-0
lines changed

1 file changed

+290
-0
lines changed
Lines changed: 290 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,290 @@
1+
# This is an example zppy v3.0.0 configuration file for Chrysalis.
2+
# v3.0.0 has several non-backward compatible ("breaking") changes.
3+
# These are described here.
4+
# In particular, there are a total of 5 deprecated parameters.
5+
# (Search for "DEPRECATED" in this file to find them.)
6+
# zppy v3.0.0 is included in E3SM Unified 1.11.0.
7+
8+
[default]
9+
# Change these two paths to include your username instead
10+
# You can also change these to match your preferred directory structure
11+
output = /lcrc/group/e3sm/ac.forsyth2/example_v3/v3.LR.historical_0051
12+
www = /lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/example_v3
13+
# Other paths
14+
input = /lcrc/group/e3sm2/ac.wlin/E3SMv3/v3.LR.historical_0051
15+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified_chrysalis.sh"
16+
# Other parameters:
17+
campaign = "water_cycle"
18+
case = v3.LR.historical_0051
19+
partition = compute
20+
21+
[climo]
22+
active = True
23+
walltime = "1:00:00"
24+
years = "1985:2014:30",
25+
# Another example of `years`:
26+
# years = "1985:2014:30", "1985:2014:15"
27+
28+
[[ atm_monthly_180x360_aave ]]
29+
# This subtask is a dependency for the e3sm_diags task's atm_monthly_180x360_aave and atm_monthly_180x360_aave_mvm subtasks.
30+
# The following e3sm_diags sets require it:
31+
# "lat_lon", "zonal_mean_xy", "zonal_mean_2d", "polar", "cosp_histogram", "meridional_mean_2d", "annual_cycle_zonal_mean", "zonal_mean_2d_stratosphere" "aerosol_aeronet", "aerosol_budget"
32+
frequency = "monthly"
33+
input_subdir = "archive/atm/hist"
34+
mapping_file = map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
35+
36+
[[ atm_monthly_diurnal_8xdaily_180x360_aave ]]
37+
# This subtask is a dependency for the e3sm_diags task's atm_monthly_180x360 and atm_monthly_180x360_aave_mvm subtasks.
38+
# The following e3sm_diags sets require it:
39+
# "diurnal_cycle"
40+
frequency = "diurnal_8xdaily"
41+
input_files = "eam.h3"
42+
input_subdir = "archive/atm/hist"
43+
mapping_file = map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
44+
vars = "PRECT"
45+
46+
[[ land_monthly_climo ]]
47+
# This subtask is a dependency for the e3sm_diags task's lnd_monthly_mvm_lnd subtask.
48+
# The following e3sm_diags sets require it:
49+
# "lat_lon_land",
50+
frequency = "monthly"
51+
input_files = "elm.h0"
52+
input_subdir = archive/lnd/hist
53+
vars = "" # Setting this as "" will tell zppy to use ALL variables
54+
55+
[ts]
56+
# 2 DEPRECATED PARAMETERS in zppy v3.0.0 (the new e3sm_to_cmip task renders these obsolete):
57+
# e3sm_to_cmip_environment_commands
58+
# ts_fmt (e.g., `ts_fmt = "cmip"`)
59+
active = True
60+
walltime = "00:50:00"
61+
years = "1985:2014:5"
62+
63+
[[ atm_monthly_180x360_aave ]]
64+
# This subtask is a dependency for the e3sm_diags task's atm_monthly_180x360 and atm_monthly_180x360_aave_mvm subtasks.
65+
# The following e3sm_diags sets require it:
66+
# "enso_diags", "qbo", "area_mean_time_series"
67+
# This subtask is also a dependency for the e3sm_to_cmip task's atm_monthly_180x360_aave subtask.
68+
frequency = "monthly"
69+
input_files = "eam.h0"
70+
input_subdir = "archive/atm/hist"
71+
mapping_file = /home/ac.zender/data/maps/map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
72+
vars = "FSNTOA,FLUT,FSNT,FLNT,FSNS,FLNS,SHFLX,QFLX,TAUX,TAUY,PRECC,PRECL,PRECSC,PRECSL,TS,TREFHT,CLDTOT,CLDHGH,CLDMED,CLDLOW,U,ICEFRAC,LANDFRAC,OCNFRAC,PS,CLDICE,CLDLIQ,T,AODDUST,PSL,U10,QREFHT,LHFLX,FLDS,TGCLDIWP,TGCLDCWP,TMQ,FLNSC,FLUTC,FSDS,FSDSC,SOLIN,FSNSC,FSNTOAC,AODABS,AODVIS,AREL,TREFMNAV,TREFMXAV"
73+
# Needed for mixed-phase partition:
74+
# vars = "LANDFRAC,CLDICE,CLDLIQ,T"
75+
76+
[[ land_monthly ]]
77+
# This subtask is a dependency for the e3sm_to_cmip task's land_monthly subtask.
78+
frequency = "monthly"
79+
input_files = "elm.h0"
80+
input_subdir = "archive/lnd/hist"
81+
mapping_file = map_r05_to_cmip6_180x360_aave.20231110.nc
82+
# Variables:
83+
vars = "FSH,RH2M,LAISHA,LAISUN,QINTR,QOVER,QRUNOFF,QSOIL,QVEGE,QVEGT,SOILICE,SOILLIQ,SOILWATER_10CM,TSA,TSOI,H2OSNO,TOTLITC,CWDC,SOIL1C,SOIL2C,SOIL3C,SOIL4C,WOOD_HARVESTC,TOTVEGC,NBP,GPP,AR,HR"
84+
extra_vars = "landfrac"
85+
86+
[[ atm_daily_180x360_aave ]]
87+
# This subtask is a dependency for the e3sm_diags task's atm_monthly_180x360 subtask.
88+
# The following e3sm_diags sets require it:
89+
# "tropical_subseasonal"
90+
frequency = "daily"
91+
input_files = "eam.h1"
92+
input_subdir = "archive/atm/hist"
93+
mapping_file = /home/ac.zender/data/maps/map_ne30pg2_to_cmip6_180x360_aave.20200201.nc
94+
# Needed for Wheeler Kiladis
95+
vars = "FLUT,PRECT,U850"
96+
97+
[[ rof_monthly ]]
98+
# The following e3sm_diags sets require it:
99+
# "streamflow"
100+
frequency = "monthly"
101+
input_files = "mosart.h0"
102+
input_subdir = "archive/rof/hist"
103+
mapping_file = ""
104+
# Variables:
105+
vars = "RIVER_DISCHARGE_OVER_LAND_LIQ"
106+
extra_vars = 'areatotal2'
107+
108+
[[ atm_monthly_glb ]]
109+
# This subtask is a dependency for the global_time_series task.
110+
frequency = "monthly"
111+
input_files = "eam.h0"
112+
input_subdir = "archive/atm/hist"
113+
mapping_file = "glb"
114+
115+
[[ lnd_monthly_glb ]]
116+
# This subtask is a dependency for the global_time_series task.
117+
frequency = "monthly"
118+
input_files = "elm.h0"
119+
input_subdir = "archive/lnd/hist"
120+
mapping_file = "glb"
121+
vars = "FSH,RH2M,LAISHA,LAISUN,QINTR,QOVER,QRUNOFF,QSOIL,QVEGE,QVEGT,SOILWATER_10CM,TSA,H2OSNO,TOTLITC,CWDC,SOIL1C,SOIL2C,SOIL3C,SOIL4C,WOOD_HARVESTC,TOTVEGC,NBP,GPP,AR,HR"
122+
#vars = "" # This will tell zppy to use all available variables.
123+
124+
[e3sm_to_cmip]
125+
# This is a new task in zppy v3.0.0!
126+
# This task replaces the `ts_fmt = "cmip"` functionality previously found in the `ts` task.
127+
active = True
128+
frequency = "monthly"
129+
# An alternative to setting `ts_grid` here is setting `ts_atm_grid` and `ts_land_grid` in the respective subtasks below.
130+
ts_grid = "180x360_aave"
131+
ts_num_years = 5
132+
walltime = "00:50:00"
133+
years = "1985:2014:5"
134+
135+
[[ atm_monthly_180x360_aave ]]
136+
# This subtask is a dependency for the ilamb task.
137+
# This subtask depends on the ts task's atm_monthly_180x360_aave subtask.
138+
# Notice this subtask name matches a subtask in the `ts` task.
139+
# If it did not, then the `ts_atm_subsection` parameter would be required here to tell zppy which subtask to use.
140+
input_files = "eam.h0"
141+
142+
[[ land_monthly ]]
143+
# This subtask is a dependency for the ilamb task.
144+
# This subtask depends on the ts task's land_monthly subtask.
145+
# Notice this subtask name matches a subtask in the `ts` task.
146+
# If it did not, then the `ts_land_subsection` parameter would be required here to tell zppy which subtask to use.
147+
input_files = "elm.h0"
148+
149+
[tc_analysis]
150+
# This subtask is a dependency for the e3sm_diags task's atm_monthly_180x360_aave subtask.
151+
# 1 DEPRECATED PARAMETER in zppy v3.0.0:
152+
# scratch
153+
active = True
154+
walltime = "02:00:00" # Example elapsed time: 3296 seconds (55 minutes)
155+
years = "1985:2014:30",
156+
157+
[e3sm_diags]
158+
active = True
159+
multiprocessing = True
160+
num_workers = 8
161+
ref_final_yr = 2014
162+
ref_start_yr = 1985
163+
ts_num_years = 5
164+
walltime = "4:00:00"
165+
years = "1985:2014:30",
166+
167+
[[ atm_monthly_180x360_aave ]]
168+
# NOTE: If you want to use the latest development environment of e3sm_diags,
169+
# you can do something like the following:
170+
# environment_commands = "source /home/ac.zhang40/y/etc/profile.d/conda.sh; conda activate e3sm_diags_dev"
171+
# `e3sm_diags` is largely driven by which e3sm_diags sets are requested:
172+
sets="lat_lon","zonal_mean_xy","zonal_mean_2d","polar","cosp_histogram","meridional_mean_2d","annual_cycle_zonal_mean","qbo","diurnal_cycle","zonal_mean_2d_stratosphere","aerosol_aeronet","tropical_subseasonal","tc_analysis", "tropical_subseasonal",
173+
# We can categorize e3sm_diags sets into 6 groups, based on dependencies.
174+
# Different e3sm_diags sets require different parameters to be set.
175+
#
176+
# 1. These sets depend on the climo's task's atm_monthly_180x360_aave subtask:
177+
# "lat_lon", "zonal_mean_xy", "zonal_mean_2d", "polar", "cosp_histogram", "meridional_mean_2d", "annual_cycle_zonal_mean", "zonal_mean_2d_stratosphere" "aerosol_aeronet", "aerosol_budget" (not requested)
178+
dc_obs_climo = '/lcrc/group/e3sm/public_html/e3sm_diags_test_data/unit_test_complete_run/obs/climatology'
179+
# 2. These sets depend on the climo's task's atm_monthly_diurnal_8xdaily_180x360_aave subtask:
180+
# "diurnal_cycle"
181+
climo_diurnal_frequency = "diurnal_8xdaily"
182+
# The name of this subtask doesn't match up with the name of the subtask for diurnal data in the `climo` task. We therefore need to explicitly tell zppy which subtask to use.
183+
climo_diurnal_subsection = "atm_monthly_diurnal_8xdaily_180x360_aave"
184+
# 3. These sets depend on the ts task's atm_monthly_180x360_aave subtask:
185+
# "enso_diags" (not requested), "qbo", "area_mean_time_series" (not requested)
186+
obs_ts = '/lcrc/soft/climate/e3sm_diags_data/obs_for_e3sm_diags/time-series'
187+
# 4. These sets depend on the ts task's atm_daily_180x360_aave subtask:
188+
# "tropical_subseasonal"
189+
ts_daily_subsection = "atm_daily_180x360_aave"
190+
# 5. These sets depend on the ts task's rof_monthly subtask:
191+
# "streamflow" (not requested)
192+
# 6. These sets depend on the tc_analysis task:
193+
# "tc_analysis"
194+
# No extra parameters required for this set.
195+
#
196+
# Plus several other parameters:
197+
grid = '180x360_aave'
198+
reference_data_path = '/lcrc/soft/climate/e3sm_diags_data/obs_for_e3sm_diags/climatology'
199+
short_name = 'v3.LR.historical_0051'
200+
201+
[[atm_monthly_180x360_aave_mvm]]
202+
sets="lat_lon","zonal_mean_xy","zonal_mean_2d","polar","cosp_histogram","meridional_mean_2d","annual_cycle_zonal_mean","qbo","diurnal_cycle","zonal_mean_2d_stratosphere",
203+
# Using the groups from above:
204+
# Group 1: climo atm monthly
205+
# "lat_lon", "zonal_mean_xy", "zonal_mean_2d", "polar", "cosp_histogram", "meridional_mean_2d", "annual_cycle_zonal_mean", "zonal_mean_2d_stratosphere" "aerosol_aeronet" (not requested), "aerosol_budget" (not requested)
206+
climo_subsection = "atm_monthly_180x360_aave"
207+
reference_data_path = '/lcrc/group/e3sm2/ac.zhang40/E3SMv3/v3.LR.piControl_451-500/post/atm/180x360_aave/clim'
208+
# Group 2: climo atm diurnal
209+
# "diurnal_cycle"
210+
climo_diurnal_frequency = "diurnal_8xdaily"
211+
climo_diurnal_subsection = "atm_monthly_diurnal_8xdaily_180x360_aave"
212+
# Group 3: ts atm monthly
213+
# "enso_diags" (not requested), "qbo", "area_mean_time_series" (not requested)
214+
ts_num_years = 5
215+
ts_num_years_ref = 50
216+
ts_subsection = "atm_monthly_180x360_aave"
217+
# Group 4: ts atm daily
218+
# "tropical_subseasonal" (not requested)
219+
# Group 5: ts rof monthly
220+
# "streamflow" (not requested)
221+
# Group 6: tc_analysis
222+
# "tc_analysis" (not requested)
223+
# Other parameters:
224+
diff_title = 'Difference'
225+
grid = '180x360_aave'
226+
ref_name = 'v3.LR.piControl'
227+
ref_start_yr = 451
228+
ref_final_yr = 500
229+
ref_years = "451-500",
230+
run_type = "model_vs_model"
231+
short_name = 'v3.LR.historical'
232+
short_ref_name = 'v3.LR.piControl'
233+
tag = 'model_vs_model'
234+
235+
[[ lnd_monthly_mvm_lnd ]]
236+
# Depends on the climo task's land_monthly_climo subtask.
237+
sets = "lat_lon_land",
238+
climo_subsection = "land_monthly_climo"
239+
# Other parameters:
240+
diff_title = "Difference"
241+
grid = 'native'
242+
reference_data_path = "/lcrc/group/e3sm2/ac.zhang40/E3SMv3/v3.LR.piControl_451-500/post/lnd/native/clim"
243+
ref_name = "v3.LR.piControl"
244+
ref_final_yr = 451
245+
ref_start_yr = 500
246+
ref_years = "451-500",
247+
run_type = "model_vs_model"
248+
short_ref_name = "v3.LR.piControl"
249+
short_name = v3.LR.historical_0051
250+
swap_test_ref = False
251+
tag = "model_vs_model"
252+
253+
[mpas_analysis]
254+
active = True
255+
anomalyRefYear = 1985
256+
climo_years = "1985-2014",
257+
enso_years = "1985-2014",
258+
mesh = "IcoswISC30E3r5"
259+
parallelTaskCount = 6
260+
shortTermArchive = True
261+
ts_years = "1985-2014",
262+
walltime = "4:00:00"
263+
264+
[global_time_series]
265+
# This task depends on the mpas_analysis task and the ts task's atm_monthly_glb and lnd_monthly_glb subtasks.
266+
# 2 DEPRECATED PARAMETERS in zppy v3.0.0 :
267+
# atmosphere_only (now just remove the ocean plots when setting plots_original)
268+
# plot_names (plot names should now be explicitly set via the plots_atm/ice/lnd/ocn parameters)
269+
active = True
270+
climo_years ="1985-2014",
271+
experiment_name = "v3.LR.historical_0051"
272+
figstr = "v3.LR.historical_0051"
273+
make_viewer = True
274+
moc_file = "mocTimeSeries_1985-2014.nc"
275+
plots_atm = "TREFHT" # This will plot in the atm component; it has no effect on the original plots
276+
plots_lnd = "FSH,RH2M,LAISHA,LAISUN,QINTR,QOVER,QRUNOFF,QSOIL,QVEGE,QVEGT,SOILWATER_10CM,TSA,H2OSNO,TOTLITC,CWDC,SOIL1C,SOIL2C,SOIL3C,SOIL4C,WOOD_HARVESTC,TOTVEGC,NBP,GPP,AR,HR" # Set this to "all" to plot all land variables
277+
# plots_original isn't set and so will default to the original 8 plots.
278+
ts_num_years = 5
279+
ts_years ="1985-2014",
280+
walltime = "10:00:00"
281+
years = "1985-2014",
282+
283+
[ilamb]
284+
# This task depends on the e3sm_to_cmip task's atm_monthly_180x360_aave and land_monthly subtasks.
285+
active = True
286+
nodes = 1
287+
short_name = 'v3.LR.historical_0051'
288+
ts_num_years = 5
289+
walltime = "2:00:00"
290+
years = "1985:2014:30"

0 commit comments

Comments
 (0)