+
Skip to content

Allow for other benchmark types for GCHP plotting as well #213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion benchmark/modules/run_1yr_fullchem_benchmark.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python
"""
run_1yr_fullchem_benchmark.py:
Driver script for creating benchmark plots and testing gcpy
Expand Down Expand Up @@ -962,6 +962,7 @@ def gcc_vs_gcc_ops_budg(m):
"plot_options"]["by_spc_cat"],
plot_by_hco_cat=config["options"]["outputs"][
"plot_options"]["by_hco_cat"],
benchmark_type=bmk_type,
overwrite=True,
spcdb_dir=spcdb_dir,
)
Expand All @@ -986,6 +987,7 @@ def gcc_vs_gcc_ops_budg(m):
"plot_options"]["by_spc_cat"],
plot_by_hco_cat=config["options"]["outputs"][
"plot_options"]["by_hco_cat"],
benchmark_type=bmk_type,
overwrite=True,
spcdb_dir=spcdb_dir,
)
Expand Down Expand Up @@ -1020,6 +1022,7 @@ def gcc_vs_gcc_ops_budg(m):
dst=gchp_vs_gcc_resultsdir,
ref_interval=sec_per_month_ref,
dev_interval=sec_per_month_dev,
benchmark_type=bmk_type,
overwrite=True,
spcdb_dir=spcdb_dir,
)
Expand Down Expand Up @@ -1508,6 +1511,7 @@ def gchp_vs_gcc_ops_budg(m):
"plot_options"]["by_spc_cat"],
plot_by_hco_cat=config["options"]["outputs"][
"plot_options"]["by_hco_cat"],
benchmark_type=bmk_type,
overwrite=True,
spcdb_dir=spcdb_dir,
)
Expand All @@ -1533,6 +1537,7 @@ def gchp_vs_gcc_ops_budg(m):
"plot_options"]["by_spc_cat"],
plot_by_hco_cat=config["options"]["outputs"][
"plot_options"]["by_hco_cat"],
benchmark_type=bmk_type,
overwrite=True,
spcdb_dir=spcdb_dir,
)
Expand Down Expand Up @@ -1570,6 +1575,7 @@ def gchp_vs_gcc_ops_budg(m):
dst=gchp_vs_gchp_resultsdir,
ref_interval=sec_per_month_ref,
dev_interval=sec_per_month_dev,
benchmark_type=bmk_type,
overwrite=True,
spcdb_dir=spcdb_dir,
)
Expand Down
7 changes: 7 additions & 0 deletions benchmark/run_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ def run_benchmark_default(config):
weightsdir=config["paths"]["weights_dir"],
plot_by_spc_cat=config["options"]["outputs"]["plot_options"][
"by_spc_cat"
benchmark_type=config["options"]["bmk_type"],
],
overwrite=True,
sigdiff_files=gchp_vs_gcc_sigdiff,
Expand Down Expand Up @@ -829,6 +830,7 @@ def run_benchmark_default(config):
plot_by_hco_cat=config["options"]["outputs"]["plot_options"][
"by_hco_cat"
],
benchmark_type=config["options"]["bmk_type"],
overwrite=True,
sigdiff_files=gchp_vs_gcc_sigdiff,
spcdb_dir=spcdb_dir,
Expand Down Expand Up @@ -859,6 +861,7 @@ def run_benchmark_default(config):
dst=gchp_vs_gcc_resultsdir,
ref_interval=[gcc_dev_sec_diff],
dev_interval=[gchp_dev_sec_diff],
benchmark_type=config["options"]["bmk_type"],
overwrite=True,
devmet=devmet,
spcdb_dir=spcdb_dir,
Expand Down Expand Up @@ -1148,6 +1151,7 @@ def run_benchmark_default(config):
weightsdir=config["paths"]["weights_dir"],
plot_by_spc_cat=config["options"]["outputs"]["plot_options"][
"by_spc_cat"
benchmark_type=config["options"]["bmk_type"],
],
overwrite=True,
sigdiff_files=gchp_vs_gchp_sigdiff,
Expand Down Expand Up @@ -1190,6 +1194,7 @@ def run_benchmark_default(config):
plot_by_hco_cat=config["options"]["outputs"]["plot_options"][
"by_hco_cat"
],
benchmark_type=config["options"]["bmk_type"],
overwrite=True,
sigdiff_files=gchp_vs_gchp_sigdiff,
spcdb_dir=spcdb_dir,
Expand Down Expand Up @@ -1226,6 +1231,7 @@ def run_benchmark_default(config):
dst=gchp_vs_gchp_resultsdir,
ref_interval=[gchp_ref_sec_diff],
dev_interval=[gchp_dev_sec_diff],
benchmark_type=config["options"]["bmk_type"],
overwrite=True,
refmet=refmet,
devmet=devmet,
Expand Down Expand Up @@ -1486,6 +1492,7 @@ def run_benchmark_default(config):
diff_of_diffs_devstr,
dst=diff_of_diffs_resultsdir,
weightsdir=config["paths"]["weights_dir"],
benchmark_type=config["options"]["bmk_type"],
overwrite=True,
use_cmap_RdBu=True,
second_ref=gcc_dev,
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载