Skip to content

Commit 7c975a1

Browse files
Update example cfg (#721)
* update example cfg * add streamflow * fix pre-committing * update for v3.1.0 * inline doc updates * address review comment
1 parent 93cdf32 commit 7c975a1

File tree

1 file changed

+33
-24
lines changed

1 file changed

+33
-24
lines changed

examples/post.v3.LR.historical.zppy_v3.cfg

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
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.
1+
# This is an example zppy v3.1.0 configuration file for Chrysalis.
2+
# zppy v3.1.0 is included in E3SM Unified 1.12.
3+
#
4+
# NOTE: This configuration generates approximately 220 tasks/jobs when fully enabled.
5+
# Users should only enable the tasks and time periods they need based on their specific
6+
# analysis requirements to reduce computational load and queue time.
77

88
[default]
99
# Change these two paths to include your username instead
1010
# You can also change these to match your preferred directory structure
11-
output = /lcrc/group/e3sm/ac.forsyth2/zppy_example_v3/v3.LR.historical_0051
12-
www = /lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_example_v3
11+
output = /lcrc/group/e3sm/ac.zhang40/zppy_example_v3.1.0/v3.LR.historical_0051
12+
www = /lcrc/group/e3sm/public_html/diagnostic_output/zppy_example/v3.1.0
1313
# Other paths
1414
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"
15+
16+
# zppy auto-determines and sources latest e3sm-unified on each supported machine with environment_commands commented out.
17+
#environment_commands = "source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified_chrysalis.sh"
18+
# For testing Unified rc:
19+
#environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.12.0rc2_chrysalis.sh"
1620
# Other parameters:
1721
campaign = "water_cycle"
1822
case = v3.LR.historical_0051
@@ -58,7 +62,7 @@ years = "1985:2014:30",
5862
# ts_fmt (e.g., `ts_fmt = "cmip"`)
5963
active = True
6064
walltime = "00:50:00"
61-
years = "1985:2014:5"
65+
years = "1850:2014:5",
6266

6367
[[ atm_monthly_180x360_aave ]]
6468
# This subtask is a dependency for the e3sm_diags task's atm_monthly_180x360 and atm_monthly_180x360_aave_mvm subtasks.
@@ -69,7 +73,7 @@ years = "1985:2014:5"
6973
input_files = "eam.h0"
7074
input_subdir = "archive/atm/hist"
7175
mapping_file = 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"
76+
vars = "AODABS,AODALL,AODBC,AODDUST,AODPOM,AODSO4,AODSOA,AODSS,AODVIS,AREL,CLDHGH,CLDLOW,CLDMED,CLDTOT,CO_SRF,FLDS,FLNS,FLNSC,FLNT,FLUT,FLUTC,FSDS,FSDSC,FSNS,FSNSC,FSNT,FSNTOA,FSNTOAC,ICEFRAC,LANDFRAC,LHFLX,OCNFRAC,PRECC,PRECL,PRECSC,PRECSL,PS,PSL,QFLX,QREFHT,SCO,SHFLX,SOLIN,TAUX,TAUY,TCO,TGCLDCWP,TGCLDIWP,TMQ,TREFHT,TREFMNAV,TREFMXAV,TROP_P,TS,U10,U,T,O3,CLDICE,CLDLIQ"
7377
# Needed for mixed-phase partition:
7478
# vars = "LANDFRAC,CLDICE,CLDLIQ,T"
7579

@@ -118,8 +122,9 @@ years = "1985:2014:5"
118122
input_files = "elm.h0"
119123
input_subdir = "archive/lnd/hist"
120124
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. Note, including all variables will increase run time for [global_time_series] time (e.g., 7 hours for 30 years data).
125+
# 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"
126+
job_nbr = 50 # This reduces paralllel processes in ncclimo time-series splitting for memory management.
127+
vars = "" # This will tell zppy to use all available variables.
123128

124129
[e3sm_to_cmip]
125130
# This is a new task in zppy v3.0.0!
@@ -169,7 +174,7 @@ years = "1985:2014:30",
169174
# you can do something like the following:
170175
# environment_commands = "source /home/ac.zhang40/y/etc/profile.d/conda.sh; conda activate e3sm_diags_dev"
171176
# `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",
177+
sets="lat_lon","zonal_mean_xy","zonal_mean_2d","polar","cosp_histogram","meridional_mean_2d","annual_cycle_zonal_mean","enso_diags","qbo","diurnal_cycle","zonal_mean_2d_stratosphere","aerosol_aeronet","tropical_subseasonal","tc_analysis", "tropical_subseasonal","streamflow",
173178
# We can categorize e3sm_diags sets into 6 groups, based on dependencies.
174179
# Different e3sm_diags sets require different parameters to be set.
175180
#
@@ -181,19 +186,21 @@ years = "1985:2014:30",
181186
# 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.
182187
climo_diurnal_subsection = "atm_monthly_diurnal_8xdaily_180x360_aave"
183188
# 3. These sets depend on the ts task's atm_monthly_180x360_aave subtask:
184-
# "enso_diags" (not requested), "qbo", "area_mean_time_series" (not requested)
189+
# "enso_diags" , "qbo", "area_mean_time_series" (not requested)
185190
# 4. These sets depend on the ts task's atm_daily_180x360_aave subtask:
186191
# "tropical_subseasonal"
187192
ts_daily_subsection = "atm_daily_180x360_aave"
188193
# 5. These sets depend on the ts task's rof_monthly subtask:
189-
# "streamflow" (not requested)
194+
# "streamflow"
190195
# 6. These sets depend on the tc_analysis task:
191196
# "tc_analysis"
192197
# No extra parameters required for this set.
193198
#
194199
# Plus several other parameters:
195200
grid = '180x360_aave'
196201
short_name = 'v3.LR.historical_0051'
202+
# Save subplot in pdf format
203+
# output_format_subplot = "pdf",
197204

198205
[[atm_monthly_180x360_aave_mvm]]
199206
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",
@@ -251,13 +258,13 @@ years = "1985:2014:30",
251258

252259
[mpas_analysis]
253260
active = True
254-
anomalyRefYear = 1985
261+
anomalyRefYear = 1850
255262
climo_years = "1985-2014",
256-
enso_years = "1985-2014",
263+
enso_years = "1850-2014",
257264
mesh = "IcoswISC30E3r5"
258265
parallelTaskCount = 6
259266
shortTermArchive = True
260-
ts_years = "1985-2014",
267+
ts_years = "1850-2014",
261268
walltime = "4:00:00"
262269

263270
[global_time_series]
@@ -266,18 +273,19 @@ walltime = "4:00:00"
266273
# atmosphere_only (now just remove the ocean plots when setting plots_original)
267274
# plot_names (plot names should now be explicitly set via the plots_atm/ice/lnd/ocn parameters)
268275
active = True
269-
climo_years ="1985-2014",
270276
experiment_name = "v3.LR.historical_0051"
277+
climo_years ="1985-2014", # Matches mpas_analysis climo_years for dependency tracking
278+
ts_years ="1850-2014", # Matches mpas_analysis ts_years
279+
moc_file = "mocTimeSeries_1850-2014.nc" # Matches mpas_analysis ts_years
271280
figstr = "v3.LR.historical_0051"
272281
make_viewer = True
273-
moc_file = "mocTimeSeries_1985-2014.nc"
274282
plots_atm = "TREFHT" # This will plot in the atm component; it has no effect on the original plots
275-
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
283+
#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
284+
plots_lnd = "all"
276285
# plots_original isn't set and so will default to the original 8 plots.
277286
ts_num_years = 5
278-
ts_years ="1985-2014",
287+
years = "1850-2014", # The years to be plotted
279288
walltime = "10:00:00"
280-
years = "1985-2014",
281289

282290
[ilamb]
283291
# This task depends on the e3sm_to_cmip task's atm_monthly_180x360_aave and land_monthly subtasks.
@@ -286,4 +294,5 @@ nodes = 1
286294
short_name = 'v3.LR.historical_0051'
287295
ts_num_years = 5
288296
walltime = "2:00:00"
297+
cfg = "inclusions/ilamb/cmip.cfg"
289298
years = "1985:2014:30"

0 commit comments

Comments
 (0)