You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use species database info pertaining to Ref & Dev, and not the union
gcpy/benchmark/modules/benchmark_funcs.py
- Obtain separate species metadata from Ref & Dev for use in
in unit conversions (MW_g is the most relevant)
- Removed some superfluous error checks
- In routine make_benchark_operations_budget, use metadata from
from both Ref & Dev to determine if it is a wet depositing species
- Updated comments
gcpy/benchmark/modules/benchmark_utils.py
- Added constant SPECIES_DATABASE
- Use SPECIES_DATABASE constant when constructing file paths in
function get_species_database_files
gcpy/benchmark/modules/oh_metrics.py
gcpy/benchmark/modules/budget_tt.py
gcpy/benchmark/modules/benchmark_mass_cons_table.py
- For now, use only the Dev species metadata (e.g. mol. wt.)
gcpy/plot/compare_single_level.py
gcpy/plot/compare_zonal_mean.py
- Now obtain species metadata for Ref & Dev separately
- Now use molecular weights from the Ref and Dev species metadata
when converting units to ug/m3 (via get_molwt_from_metadata function)
gcpy/util.py
- In routine "read_species_metadata", reeturn Ref and Dev species
metadata separately instead of taking the union. If only one file
is passed, return the same metadata for Ref and Dev.
- Added routine "get_molwt_from_metadata"
CHANGELOG.md
- Updated accordingly
Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
16
16
- Added new constants for default lon/lat and stretched-grid settings in `gcpy/constants.py`
17
17
- Added PyDoc headers in routines where they were missing
18
18
- Added `examples/grids/display_gcclassic_grid_info.py` to display info about a GEOS-Chem Classic horizontal grid
19
-
- Added function`read_species_metadata` to `gcpy/util.py`
19
+
- Added functions `get_molwt_from_metadata` and`read_species_metadata` to `gcpy/util.py`
20
20
- Added function `get_species_database_files` to `gcpy/benchmark/modules/benchmark_utils.py`
21
-
- Added `species_metadata` YAML tags under `ref:gcc`, `ref:gchp`, `dev:gcc`, `dev:gchp` sections in benchmark configuration files
21
+
- Added constant `SPECIES_DATABASE` to `gcpy/benchmark/modules/benchmark_utils.py`
22
22
23
23
### Changed
24
24
- Modified criteria for terminating read of log files in `benchmark_scrape_gcclassic_timers.py` to avoid being spoofed by output that is attached by Intel VTune
@@ -42,7 +42,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
42
42
- Updated default GCPy Python environment to use Python 3.13 (instead of 3.12)
43
43
- Benchmark routines now look for `species_database.yml` in the `Ref` and `Dev` run directories
44
44
- Replaced `get_species_database_dir` with `get_species_database_files` in `gcpy/benchmark/modules/benchmark_funcs.py`
45
-
- Replaced `spcdb_dir` YAML tag with directory-specific `species_metadata` tags to specify paths to `species_database.yml` files
46
45
- Updated `gcpy/benchmark/modules/benchmark_scrape_gchp_timers.py` to look for GCHP timers in `allPEs.log` if not found in the log file
47
46
- Updated routine `make_benchmark_aerosol_tables` to include all dust species in the aerosol burdens table
0 commit comments