Skip to content

Commit c38687a

Browse files
Second test for the hostical simulations
1 parent 8c2c722 commit c38687a

File tree

1 file changed

+100
-114
lines changed

1 file changed

+100
-114
lines changed
Lines changed: 100 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
1-
# To run:
2-
# `pip install .` the zppy-interfaces changes into the `zi-pcmdi-20250529` environment
3-
# Update unique_id in output, www below
4-
# Be in the zppy-pr719-dev-20250612 environment
5-
# > pip install . && zppy -c examples/post.v3.LR.historical.0101.cfg
6-
71
[default]
8-
input = /lcrc/group/e3sm2/ac.wlin/E3SMv3/AMIP/v3.LR.historical_0101
9-
output = /lcrc/group/e3sm/ac.szhang/acme_scratch/e3sm_project/zppy/zppy_pr719_output/unique_id_21/v3.LR.historical_0101
10-
www = /lcrc/group/e3sm/public_html/diagnostic_output/ac.szhang/zppy_pr719_output/unique_id_21
2+
input = /lcrc/group/e3sm2/ac.wlin/E3SMv3/v3.LR.historical_0101
3+
output = /lcrc/group/e3sm/ac.szhang/acme_scratch/e3sm_project/zppy/zppy_pr719_output/unique_id_56/v3.LR.historical_0101
4+
www = /lcrc/group/e3sm/public_html/diagnostic_output/ac.szhang/zppy_pr719_output/unique_id_56
115
campaign = "water_cycle"
126
case = v3.LR.historical_0101
13-
debug = True
7+
debug = False
148
environment_commands = "source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified_chrysalis.sh"
15-
partition = debug #compute
9+
#partition = debug #compute
10+
partition = priority
11+
account = priority
1612

1713
[ts]
1814
active = True
@@ -30,14 +26,14 @@ years = "2005:2015:5"
3026
[e3sm_to_cmip]
3127
active = True
3228
frequency = "monthly"
33-
grid = "180x360_aave"
3429
ts_grid = "180x360_aave"
3530
ts_num_years=5
3631
walltime = "00:10:00"
3732
years = "2005:2015:5"
3833

3934
[[ atm_monthly_180x360_aave ]]
4035
# list of variables to be interpolated to pressure level; see e3sm_to_cmip/vrt_remap_plev19.nc
36+
# This defaults to cmip_plevdata = string(default="inclusions/e3sm_to_cmip/vrt_remap_plev19.nc")
4137
cmip_plevdata = /lcrc/group/e3sm/ac.szhang/acme_scratch/e3sm_project/zppy/zppy/templates/inclusions/e3sm_to_cmip/vrt_remap_plev19.nc
4238
input_files = "eam.h0"
4339
interp_vars = "U,V,T,Z3"
@@ -46,140 +42,130 @@ years = "2005:2015:5"
4642

4743
[pcmdi_diags]
4844
active = True
49-
multiprocessing = True
45+
environment_commands = "source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified_chrysalis.sh"
46+
environment_commands_secondary = "source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified_chrysalis.sh; conda activate zi-pcmdi-diags-20250730"
5047
nodes = 1
48+
walltime = "4:00:00"
49+
figure_format = "png"
50+
run_type = "model_vs_obs"
51+
# Create rules to construct cmip-like datasets with a string constructed as
52+
# "mip.exp.product.realization", where "."is used as the delimiter (mandatory)
53+
model_name = 'e3sm.historical.v3-LR.0101'
54+
model_tableID = 'Amon'
55+
multiprocessing = True
5156
num_workers = 24
52-
#observational data
57+
# Observational data
5358
obs_ts = '/lcrc/soft/climate/e3sm_diags_data/obs_for_e3sm_diags/time-series'
5459
pcmdi_debug = False
55-
run_type = "model_vs_obs"
56-
reference_data_path = ""
57-
reference_data_path_ts = ""
58-
ts_grid = "180x360_aave"
59-
walltime = "4:00:00"
60-
environment_commands = "source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified_chrysalis.sh"
60+
ts_years = "2005-2014",
6161

6262
[[ mean_climate ]]
6363
active = True
64-
##################################################################################
65-
#create rules to construct cmip-like datasets with a string constructed as
66-
#"mip.exp.product.realization", where "."is used as the delimiter (mandatary)
67-
ts_years = "2005-2014",
68-
ts_num_years = 5
69-
ref_years = "2005-2014",
70-
ref_start_yr = 1979
71-
ref_final_yr = 2018
72-
model_name = 'e3sm.historical.v3-LR.0101'
73-
model_tableID = 'Amon'
74-
##################################################################################
75-
#location: /lcrc/group/e3sm/diagnostics/pcmdi_data/metrics_data/mean_climate/cmip6/historical
76-
cmip_clim_set = "cmip6.historical.v20250707"
77-
##################################################################################
78-
#variables in current pcmdi-cmip list
79-
#note: rltcre and rstcre are derived variables as they are not included in cmip_ts
80-
vars = "pr,prw,psl,rlds,rldscs,rltcre,rstcre,rsus,rsuscs,rlus,rlut,rlutcs,rsds,rsdscs,rsdt,rsut,rsutcs,rtmt,sfcWind,tas,tauu,tauv,ts,ta-200,ta-850,ua-200,ua-850,va-200,va-850,zg-500"
81-
#default for all variables or specify source for each variable separately.
64+
# Default for all variables or specify source for each variable separately.
8265
obs_sets = "default"
83-
#see zppy/templates/pcmdi_diags/regions_specs.json for options of all regions
84-
#below is default setup for global/regional mean climate metrics
85-
regions = "global,ocean,land,NHEX,SHEX,TROPICS"
66+
ref_final_yr = 2018
67+
ref_start_yr = 1979
68+
ref_years = "2005-2014",
69+
# Variables in current pcmdi-cmip list
70+
# rltcre and rstcre are derived variables as they are not included in cmip_ts
71+
# define a new variable name to be flexible
72+
clim_vars = "pr,prw,psl,rlds,rldscs,rltcre,rstcre,rsus,rsuscs,rlus,rlut,rlutcs,rsds,rsdscs,rsdt,rsut,rsutcs,rtmt,sfcWind,tas,tauu,tauv,ts,ta-200,ta-850,ua-200,ua-850,va-200,va-850,zg-500"
73+
# See zppy/templates/pcmdi_diags/regions_specs.json for options of all regions
74+
# Below is default setup for global/regional mean climate metrics
75+
clim_regions = "global,ocean,land,Tropics,NHEX,SHEX"
8676
target_grid = "2.5x2.5"
8777
target_grid_string = "2p5x2p5"
8878

8979
[[ variability_modes_cpl ]]
9080
active = True
91-
##################################################################################
92-
ts_years = "2005-2014",
93-
ts_num_years = 5
94-
ref_years = "2005-2014",
95-
ref_start_yr = 1870
81+
# See zppy/templates/pcmdi_diags/reference_alias.json for options
82+
obs_sets = "alternate1" #"default"
9683
ref_final_yr = 2019
97-
#create rules to construct cmip-like datasets with a string constructed as
98-
#"mip.exp.product.realization", where "."is used as the delimiter (mandatary)
99-
model_name = 'e3sm.historical.v3-LR.0101'
100-
model_tableID = 'Amon'
101-
##################################################################################
102-
#location: /lcrc/group/e3sm/diagnostics/pcmdi_data/metrics_data/variability_modes/cmip6/historical
103-
cmip_movs_set = "cmip6.historical.v20220825"
104-
##################################################################################
105-
grid = '180x360_aave'
106-
vars = "ts"
84+
ref_start_yr = 1870
85+
ref_years = "2005-2014",
86+
movc_vars = "ts"
87+
movc_years = "2005-2014"
88+
# Name of modes varibility
89+
movc_modes = "PDO,NPGO,AMO"
10790
frequency = 'mo'
108-
ModUnitsAdjust = '(True,"subtract",273.15)'
10991
landmask = True
110-
#see zppy/templates/pcmdi_diags/reference_alias.json for options
111-
obs_sets = "alternate1" #"default"
92+
ModUnitsAdjust = '(True,"subtract",273.15)'
11293
ObsUnitsAdjust = '(True,"subtract",273.15)'
113-
#name of modes varibility
114-
cpl_modes = "PDO,NPGO,AMO"
115-
#options specific for mode varibility metrics in pcmdi
11694
seasons = "yearly,monthly"
117-
figure_format = "png"
11895

11996
[[ variability_modes_atm ]]
12097
active = True
121-
##################################################################################
122-
ts_years = "2005-2014",
123-
ts_num_years = 5
124-
ref_years = "2005-2014",
125-
ref_start_yr = 1853
98+
# See zppy/templates/pcmdi_diags/reference_alias.json for options
99+
# Default for all variables
100+
obs_sets = "alternate2" # "default"
126101
ref_final_yr = 2015
127-
#create rules to construct cmip-like datasets with a string constructed as
128-
#"mip.exp.product.realization", where "." is used as the delimiter (mandatary)
129-
model_name = 'e3sm.historical.v3-LR.0101'
130-
model_tableID = 'Amon'
131-
##################################################################################
132-
#location: /lcrc/group/e3sm/diagnostics/pcmdi_data/metrics_data/variability_modes/cmip6/historical
133-
cmip_movs_set = "cmip6.historical.v20220825"
134-
##################################################################################
135-
grid = '180x360_aave'
136-
vars = "psl"
137-
landmask = False
102+
ref_start_yr = 1853
103+
ref_years = "2005-2014",
104+
mova_vars = "psl"
105+
mova_years = "2005-2014"
106+
# Varibility modes
107+
mova_modes = "NAM,NAO,PNA,NPO,SAM,PSA1,PSA2"
138108
frequency = 'mo'
109+
landmask = False
139110
ModUnitsAdjust = '(True,"divide",100.0)'
140-
#observational data
141-
obs_ts = '/lcrc/soft/climate/e3sm_diags_data/obs_for_e3sm_diags/time-series'
142-
#see zppy/templates/pcmdi_diags/reference_alias.json for options
143-
#default for all variables
144-
obs_sets = "alternate2" # "default"
145111
ObsUnitsAdjust = '(True,"divide",100.0)'
146-
#varibility modes
147-
atm_modes = "NAM,NAO,PNA,NPO,SAM,PSA1,PSA2"
148-
#options specific for mode varibility metrics in pcmdi
149112
seasons = "DJF,MAM,JJA,SON,yearly,monthly"
150-
figure_format = "png"
151113

152114
[[ enso ]]
153-
active = True
154-
##################################################################################
155-
ts_years = "2005-2014",
156-
ts_num_years = 5
157-
ref_years = "2005-2014",
158-
ref_start_yr = 1979
159-
ref_final_yr = 2018
160-
#create rules to construct cmip-like datasets with a string constructed as
161-
#"mip.exp.product.realization", where "."is used as the delimiter (mandatary)
162-
model_name = 'e3sm.historical.v3-LR.0101'
163-
model_tableID = 'Amon'
164-
##################################################################################
165-
#location: /lcrc/group/e3sm/diagnostics/pcmdi_data/metrics_data/enso_metric/cmip6/historical
166-
cmip_enso_set = "cmip6.historical.v20210620"
167-
##################################################################################
168-
#see zppy/templates/pcmdi_diags/reference_alias.json for options
169-
customized_cmor_obs = True
170-
vars = "psl,pr,prsn,ts,tas,tauu,tauv,hfls,hfss,rlds,rsds,rlus,rlut,rsdt"
115+
active = False
171116
# For enso, the obs_sets is explicitely set for each variable to ensure that
172117
# they are from the same source, below are setup to used ERA5 reanalysis.
173118
obs_sets = "default,alternate2,default,default,default,default,default,default,default,alternate2,alternate2,alternate2,alternate2,alternate2"
174-
#see zppy/templates/pcmdi_diags/reference_alias.json for options
119+
ref_final_yr = 2018
120+
ref_start_yr = 1979
121+
ref_years = "2005-2014",
122+
enso_vars = "psl,pr,prsn,ts,tas,tauu,tauv,hfls,hfss,rlds,rsds,rlus,rlut,rsdt"
123+
enso_years = "2005-2014"
124+
# See zppy/templates/pcmdi_diags/reference_alias.json for options
175125
enso_groups = "ENSO_perf,ENSO_proc,ENSO_tel"
176-
figure_format = "png"
177126

178127
[[ synthetic_plots ]]
179128
active = True
180-
model_name = 'e3sm.historical.v3-LR.0101'
181-
model_tableID = 'Amon'
182-
synthetic_sets = "portrait,parcoord"
183-
figure_sets = "mean_climate,variability_modes,enso_metric"
184-
figure_sets_period = "2005-2014,2005-2014,2005-2014"
185-
figure_format = "png"
129+
130+
# mean climate
131+
clim_viewer = True
132+
# use subset regions for viewer
133+
clim_regions = "global,ocean,land"
134+
# use subset variables for viewer
135+
clim_vars = "pr,prw,psl,rlds,rldscs,ua-200,zg-500"
136+
# period to be plotted and shown on webpage
137+
# note that the previous sections allows multiple ts_years periods for processing, while
138+
# the viewer page focused on period customized by user
139+
clim_years = "2005-2014"
140+
141+
# Location: /lcrc/group/e3sm/diagnostics/pcmdi_data/metrics_data/mean_climate/cmip6/historical
142+
cmip_clim_set = "cmip6.historical.v20250707"
143+
144+
# modes variability (atmosphere)
145+
mova_viewer = True
146+
# use subset modes for viewer
147+
mova_modes = "NAM,NAO,PNA,NPO,SAM"
148+
# period to be plotted and shown on webpage
149+
# note that the previous sections allows multiple ts_years periods for processing, while
150+
# the viewer page focused on period customized by user
151+
mova_years = "2005-2014"
152+
153+
# modes variability (coupled)
154+
movc_viewer = True
155+
# use subset modes for viewer
156+
movc_modes = "PDO,NPGO"
157+
# period to be plotted and shown on webpage
158+
# note that the previous sections allows multiple ts_years periods for processing, while
159+
# the viewer page focused on period customized by user
160+
movc_years = "2005-2014"
161+
162+
# Location: /lcrc/group/e3sm/diagnostics/pcmdi_data/metrics_data/variability_modes/cmip6/historical
163+
cmip_movs_set = "cmip6.historical.v20220825"
164+
165+
# enso
166+
enso_viewer = False
167+
enso_years = ""
168+
169+
# Location: /lcrc/group/e3sm/diagnostics/pcmdi_data/metrics_data/enso_metric/cmip6/historical
170+
# There is no enso metric for CMIP6 AMIP, so use historical instead
171+
cmip_enso_set = "cmip6.historical.v20210620"

0 commit comments

Comments
 (0)