Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
forsyth2 committed Nov 7, 2023
1 parent a8c6931 commit 022af3e
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 7 deletions.
38 changes: 37 additions & 1 deletion tests/integration/generated/test_complete_run_chrysalis.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ years = "1850:1854:2",
input_subdir = "archive/atm/hist"
vars = "PRECT"

[[ atm_monthly_glb ]]
frequency = "monthly"
input_files = "eam.h0"
input_subdir = "archive/atm/hist"
mapping_file = "glb"
years = "1850:1860:5",

[[ land_monthly ]]
extra_vars = "landfrac"
frequency = "monthly"
Expand All @@ -68,7 +75,6 @@ years = "1850:1854:2",
[e3sm_diags]
active = True
grid = '180x360_aave'
keep_mvm_case_name_in_fig = True
ref_final_yr = 2014
ref_start_yr = 1985
# TODO: this directory is missing OMI-MLS
Expand Down Expand Up @@ -117,3 +123,33 @@ years = "1850:1854:2", "1850:1854:4",
ts_subsection = "atm_monthly_180x360_aave"
walltime = "5:00:00"
years = "1852-1853",

[mpas_analysis]
active = True
anomalyRefYear = 1850
climo_years ="1850-1854", "1855-1860",
enso_years = "1850-1854", "1855-1860",
mesh = "EC30to60E2r2"
parallelTaskCount = 6
partition = "compute"
qos = "regular"
ts_years = "1850-1854", "1850-1860",
walltime = "00:30:00"

[global_time_series]
active = True
climo_years ="1850-1854", "1855-1860",
experiment_name = "v2.LR.historical_0201"
figstr = "v2_historical_0201"
moc_file=mocTimeSeries_1850-1860.nc
ts_num_years = 5
ts_years = "1850-1854", "1850-1860",
walltime = "00:30:00"
years = "1850-1860",

[ilamb]
active = True
grid = '180x360_aave'
short_name = 'v2.LR.historical_0201'
ts_num_years = 2
years = "1850:1854:2",
38 changes: 37 additions & 1 deletion tests/integration/template_complete_run.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ years = "1850:1854:2",
input_subdir = "archive/atm/hist"
vars = "PRECT"

[[ atm_monthly_glb ]]
frequency = "monthly"
input_files = "eam.h0"
input_subdir = "archive/atm/hist"
mapping_file = "glb"
years = "1850:1860:5",

[[ land_monthly ]]
extra_vars = "landfrac"
frequency = "monthly"
Expand All @@ -68,7 +75,6 @@ years = "1850:1854:2",
[e3sm_diags]
active = True
grid = '180x360_aave'
keep_mvm_case_name_in_fig = True
ref_final_yr = 2014
ref_start_yr = 1985
# TODO: this directory is missing OMI-MLS
Expand Down Expand Up @@ -117,3 +123,33 @@ years = "1850:1854:2", "1850:1854:4",
ts_subsection = "atm_monthly_180x360_aave"
walltime = "#expand diags_walltime#"
years = "1852-1853",

[mpas_analysis]
active = True
anomalyRefYear = 1850
climo_years ="1850-1854", "1855-1860",
enso_years = "1850-1854", "1855-1860",
mesh = "EC30to60E2r2"
parallelTaskCount = 6
partition = "#expand partition_long#"
qos = "#expand qos_long#"
ts_years = "1850-1854", "1850-1860",
walltime = "#expand mpas_analysis_walltime#"

[global_time_series]
active = True
climo_years ="1850-1854", "1855-1860",
experiment_name = "v2.LR.historical_0201"
figstr = "v2_historical_0201"
moc_file=mocTimeSeries_1850-1860.nc
ts_num_years = 5
ts_years = "1850-1854", "1850-1860",
walltime = "00:30:00"
years = "1850-1860",

[ilamb]
active = True
grid = '180x360_aave'
short_name = 'v2.LR.historical_0201'
ts_num_years = 2
years = "1850:1854:2",
4 changes: 2 additions & 2 deletions zppy/templates/default.ini
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ dc_obs_climo = string(default="")
# See https://e3sm-project.github.io/e3sm_diags/_build/html/master/available-parameters.html
# Required for run_type="model_vs_model"
diff_title = string(default="Model - Observations")
# Set this to True if the E3SM Diags model-vs-model output path should include the case name.
keep_mvm_case_name_in_fig = boolean(default=False)
# Set this to False if the E3SM Diags model-vs-model output path should exclude the case name.
keep_mvm_case_name_in_fig = boolean(default=True)
# See https://e3sm-project.github.io/e3sm_diags/_build/html/master/available-parameters.html
# Required for run_type="model_vs_model" "streamflow" runs
gauges_path = string(default="")
Expand Down
3 changes: 0 additions & 3 deletions zppy/templates/e3sm_diags.bash
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,12 @@ create_links_ts_rof ${ts_rof_dir_source} ${ts_rof_dir_ref} ${ref_Y1} ${ref_Y2} 8
{%- endif %}

{% if run_type == "model_vs_obs" %}
echo "A"
ref_name={{ ref_name }}
{%- endif %}
{% if (run_type == "model_vs_model") and keep_mvm_case_name_in_fig %}
echo "B"
ref_name={{ ref_name }}
{%- endif %}
{% if (run_type == "model_vs_model") and not keep_mvm_case_name_in_fig %}
echo "C"
ref_name=""
{%- endif %}

Expand Down

0 comments on commit 022af3e

Please sign in to comment.