Skip to content

Commit

Permalink
Now use get_nearest_model_obs in model vs. obs plots
Browse files Browse the repository at this point in the history
gcpy/benchmark/modules/benchmark_models_vs_obs.py
- Remove imports for find_index, is_cubed_sphere functions
- Add import for get_nearest_model_data from gcpy.grid
- Updated Pydoc headers, make them more compact
- Replace functions get_nearest_model_data_to_obs_cs and
  get_nearest_model_data_to_obs_ll with get_nearest_model_data_to_obs.
  This uses the common functiong get_nearest_model_data from grid.py
- Rename gc_level_alts_m to gc_levels; also add "Altitude (m)" column
- Remove function "which_finder_function", it's not needed
- Remove **kwargs argument from calls to "prepare_data_for_plot"
  and "call_single_station"
- Update label of observations to "Surface O3 (EBAS, 2019)" for clarity
- Add code updates suggested by Pylint

Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
  • Loading branch information
yantosca committed Dec 4, 2023
1 parent 1046e14 commit 029af49
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 225 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to GCPy will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] - TBD
### Changed
- Script `benchmark_model_vs_obs.py` now uses grid inquiry functions from `grid.py` to return data nearest to a (lat,lon) location

## [1.4.0] - 2023-11-20
### Added
- Added C2H2 and C2H4 to `emission_species.yml`
Expand Down
Loading

0 comments on commit 029af49

Please sign in to comment.