Skip to content

Ensure arguments to make_benchmark_operations_budget and make_benchmark_collection_*_var_plots are in the same order#409

Open
yantosca wants to merge 1 commit intomainfrom
bugfix/collection-var-plots
Open

Ensure arguments to make_benchmark_operations_budget and make_benchmark_collection_*_var_plots are in the same order#409
yantosca wants to merge 1 commit intomainfrom
bugfix/collection-var-plots

Conversation

@yantosca
Copy link
Contributor

@yantosca yantosca commented Feb 4, 2026

Name and Institution (Required)

Name: Bob Yantosca
Institution: Harvard + GCST

Describe the update

This PR does the following:

  1. Updates calls to make_benchmark_operations_budget in run_benchmark.py and run_1yr_fullchem_benchmark.py so that spcdb_files is passed as the 7th argument.

  2. Updates calls to make_benchmark_collection_2d_var_plots and make_benchmark_collection_3d_var_plots in run_benchmark.py so that colname is passed as the 5th argument.

  3. Removes a duplicate import of make_benchmark_operations_budget from run_benchmark.py

  4. Trims trailing whitespace in a few locations.

Expected changes

This will not affect GEOS-Chem benchmarks, as the operations budget and collections variable plots are typically not generated. However it will fix the code so that users who wish to use these routines will be able to do so.

@yantosca yantosca requested a review from msulprizio February 4, 2026 21:39
@yantosca yantosca self-assigned this Feb 4, 2026
@yantosca yantosca added topic: Benchmark Plots and Tables Issues pertaining to generating plots/tables from benchmark output category: Bug Fix Fixes a bug that was previously reported labels Feb 4, 2026
gcpy/benchmark/modules/run_1yr_fullchem_benchmark.py
- Make sure that "spcdb_files" is passed as the 7th argument to
  make_benchmark_operations_budget (following "dev_interval")
- Trimmed trailing whitespace

gcpy/benchmark/run_benchmark.py
- Pass "colname" as the 5th argument to routines
  "make_benchmark_collection_2d_var_plots" and
  "make_benchmark_collection_3d_var_plots" (preceding "spcdb_files")
- Make sure that "spcdb_files" is passed as the 7th argument to
  make_benchmark_operations_budget (following "dev_interval")
- Removed a duplicate import of "make_benchmark_operations_budget"
- Trimmed trailing whitespace

CHANGELOG.md
- Updated accordingly

Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
@yantosca yantosca force-pushed the bugfix/collection-var-plots branch from 5fbb1b3 to fd4bdec Compare February 5, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: Bug Fix Fixes a bug that was previously reported topic: Benchmark Plots and Tables Issues pertaining to generating plots/tables from benchmark output

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant