Skip to content

Commit 5e888bd

Browse files
committed
ncclimo variable exclusions
1 parent 8ffc7b0 commit 5e888bd

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
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/run_20250324/E3SMv3/v3.LR.historical_eu11rc13
12-
www = /lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/run_20250324/E3SMv3_eu11rc13
11+
output = /lcrc/group/e3sm/ac.forsyth2/E3SMv3_20250325_try2/v3.LR.historical_0051
12+
www = /lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/E3SMv3_20250325_try2
1313
# Once E3SM Unified 1.11.0 is released, you can use this line instead:
1414
# environment_commands = "source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified_chrysalis.sh"
1515
environment_commands = "source /lcrc/soft/climate/e3sm-unified/test_e3sm_unified_1.11.0rc13_chrysalis.sh"
@@ -20,7 +20,7 @@ input = /lcrc/group/e3sm2/ac.wlin/E3SMv3/v3.LR.historical_0051
2020
partition = compute
2121

2222
[climo]
23-
active = True
23+
active = False
2424
walltime = "1:00:00"
2525
years = "1985:2014:30",
2626
# Another example of `years`:
@@ -57,7 +57,7 @@ years = "1985:2014:30",
5757
# 2 DEPRECATED PARAMETERS in zppy v3.0.0 (the new e3sm_to_cmip task renders these obsolete):
5858
# e3sm_to_cmip_environment_commands
5959
# ts_fmt (e.g., `ts_fmt = "cmip"`)
60-
active = True
60+
active = False
6161
walltime = "00:50:00"
6262
years = "1985:2014:30"
6363

@@ -105,6 +105,7 @@ years = "1985:2014:30"
105105
vars = "RIVER_DISCHARGE_OVER_LAND_LIQ"
106106

107107
[[ atm_monthly_glb ]]
108+
active = True
108109
# This subtask is a dependency for the global_time_series task.
109110
frequency = "monthly"
110111
input_files = "eam.h0"
@@ -113,6 +114,7 @@ years = "1985:2014:30"
113114

114115
[[ lnd_monthly_glb ]]
115116
# This subtask is a dependency for the global_time_series task.
117+
active = True
116118
frequency = "monthly"
117119
input_files = "elm.h0"
118120
input_subdir = "archive/lnd/hist"
@@ -123,7 +125,7 @@ years = "1985:2014:30"
123125
[e3sm_to_cmip]
124126
# This is a new task in zppy v3.0.0!
125127
# This task replaces the `ts_fmt = "cmip"` functionality previously found in the `ts` task.
126-
active = True
128+
active = False
127129
frequency = "monthly"
128130
# An alternative to setting `ts_grid` here is setting `ts_atm_grid` and `ts_land_grid` in the respective subtasks below.
129131
ts_grid = "180x360_aave"
@@ -149,12 +151,12 @@ years = "1985:2014:30"
149151
# This subtask is a dependency for the e3sm_diags task's atm_monthly_180x360_aave subtask.
150152
# 1 DEPRECATED PARAMETER in zppy v3.0.0:
151153
# scratch
152-
active = True
154+
active = False
153155
walltime = "02:00:00"
154156
years = "1985:2014:30",
155157

156158
[e3sm_diags]
157-
active = True
159+
active = False
158160
multiprocessing = True
159161
num_workers = 8
160162
ref_final_yr = 2014
@@ -280,7 +282,7 @@ years = "1985-2014",
280282

281283
[ilamb]
282284
# This task depends on the e3sm_to_cmip task's atm_monthly_180x360_aave and land_monthly subtasks.
283-
active = True
285+
active = False
284286
nodes = 1
285287
short_name = 'v3.LR.historical_0051'
286288
ts_num_years = 30

zppy/templates/ts.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ cat input.txt | ncclimo \
6666
-c {{ case }} \
6767
{%- if vars != '' %}
6868
-v ${vars} \
69+
{%- else %}
70+
--xcl_var -v PCT_LANDUNIT_tmp,TLAKE_tmp,LAKEICEFRAC_tmp,SOILLIQ_ICE_tmp,W_SCALAR_tmp,T_SCALAR_tmp,SOILICE_ICE_tmp,SOILPSI_tmp,O_SCALAR_tmp,H2OSOI_tmp \
6971
{%- endif %}
7072
--split \
7173
{%- if extra_vars != '' %}

zppy/ts.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ def ts(config: ConfigObj, script_dir: str, existing_bundles, job_ids_file):
3333
# --- Generate and submit ts scripts ---
3434
for c in tasks:
3535
set_mapping_file(c)
36+
# if c["mapping_file"] == "glb":
37+
# variables_3d = ["U","PCT_LANDUNIT_tmp","TLAKE_tmp,LAKEICEFRAC_tmp","SOILLIQ_ICE_tmp","W_SCALAR_tmp","T_SCALAR_tmp","SOILICE_ICE_tmp","SOILPSI_tmp","O_SCALAR_tmp","H2OSOI_tmp"]
38+
# var_list = c["vars"]
3639
set_grid(c)
3740
set_component_and_prc_typ(c)
3841
year_sets: List[Tuple[int, int]] = get_years(c["years"])

0 commit comments

Comments
 (0)