Add scripts to plot vertical profiles from the KPP-Standalone box model #346
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Name and Institution (Required)
Name: Bob Yantosca
Institution: Harvard + GCST
Describe the update
We have added Python scripts to plot vertical profiles to the
gcpy/kpp
folder. These scripts arekppsa_utils.py
kppsa_quick_look.py
kppsa_plot_sites.py
Expected changes
This update is zero-diff w/r/t the GEOS-Chem benchmark plots & tables.
Quick-look plots:
This command
produces this "quick-look" plot for a single box model output site and species.
![kppsa_quick](https://private-user-images.githubusercontent.com/5880296/394948759-30496dc8-9a77-41ba-b0ef-a69120982d0b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTk1OTcsIm5iZiI6MTczOTY5OTI5NywicGF0aCI6Ii81ODgwMjk2LzM5NDk0ODc1OS0zMDQ5NmRjOC05YTc3LTQxYmEtYjBlZi1hNjkxMjA5ODJkMGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDk0ODE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGI2OTcyNzY1NWM0NmNiZWJlMjNmYWY4MWQxNDE1YWI4ZDJkYmRmNmM3NjFlNGRkNjA2M2Y5ZGU5MzY4MWJkYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ._nm-j4klqrp8L0-4Kh9TLDG9wS0OmVlCcbPE9yDS-6Q)
Vertical profiles of a given species at several sites
This command
produces a PDF file containing vertical profiles for O3 at several box model output locations. Each page will look similar to this:
![kppsa_sites](https://private-user-images.githubusercontent.com/5880296/394949486-6ab928ce-6cde-43f0-8a64-c14f11847d69.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTk1OTcsIm5iZiI6MTczOTY5OTI5NywicGF0aCI6Ii81ODgwMjk2LzM5NDk0OTQ4Ni02YWI5MjhjZS02Y2RlLTQzZjAtOGE2NC1jMTRmMTE4NDdkNjkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDk0ODE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTFmMWI0YWMwZmEwNjgxYjhhODk3NmMwMzJjZjgxMWFjMGJiOGY0ZDgxNjIzYTY1NzJmZWY4ZjgwMTEwN2U3MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.3SH9LRFcA9vSsHhF2Oss7Pjqh0AevutQERJ0MGf0qBE)
NOTE: I chose the range 1000..500 hPa to highlight the area of greatest interest. Above this the profiles look mostly identical.
Related Github Issue
Tagging @lizziel @obin1 @viral211