-
Notifications
You must be signed in to change notification settings - Fork 153
Cold-Point Tropopause (CTP) diagnostic and sample recipe #4565
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
Open
aoifemcquaid
wants to merge
9
commits into
main
Choose a base branch
from
EVA_convection_diagnostics_CTP
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
5e6853b
Adding inital CPT recipe and diagnostic. Initially hardcoded for ICON…
aoifemcquaid 04f6de2
adding name to references
aoifemcquaid 9ea83ca
Restructure the tropical CPT Hovmoeller diagnostic and recipe:
aoifemcquaid 437cc96
adding name reference
aoifemcquaid e79b3ae
removing ICON data handling
aoifemcquaid 6edec7c
adding docs for tropical cpt hovmoeller plots
aoifemcquaid 93dae1b
Merge branch 'main' into EVA_convection_diagnostics_CTP
aoifemcquaid 8b8763f
Fix Codacy findings in tropical CPT Hovmoeller diagnostic
aoifemcquaid cef1744
Merge remote-tracking branch 'origin/EVA_convection_diagnostics_CTP' …
aoifemcquaid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
doc/sphinx/source/api/esmvaltool.diag_scripts.tropopause.cpt_hovmoeller.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| .. _api.esmvaltool.diag_scripts.tropopause.cpt_hovmoeller: | ||
|
|
||
| Tropical CPT Hovmoeller Diagnostic | ||
| =================================== | ||
|
|
||
| .. automodule:: esmvaltool.diag_scripts.tropopause.cpt_hovmoeller | ||
| :no-members: | ||
| :no-inherited-members: | ||
| :no-show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+104 KB
doc/sphinx/source/recipes/figures/tropical_cpt_hovmoeller/era5_temperature_lat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+141 KB
doc/sphinx/source/recipes/figures/tropical_cpt_hovmoeller/era5_temperature_lon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
doc/sphinx/source/recipes/recipe_tropical_cpt_hovmoeller.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| .. _recipes_tropical_cpt_hovmoeller: | ||
|
|
||
| Tropical Cold-Point Tropopause (CPT) Hovmoeller Diagnostic | ||
| ============================================================ | ||
|
|
||
| Overview | ||
| -------- | ||
|
|
||
| This recipe evaluates the structure of the tropical (20°S-20°N) | ||
| cold-point tropopause (CPT) using Hovmoeller-style plots. The CPT is defined, | ||
| at each grid point and time step, as the pressure level of minimum | ||
| temperature between 500 hPa and 10 hPa. For each dataset, the diagnostic | ||
| produces one standalone figure per variable, in two views: | ||
|
|
||
| * longitude-time (mean over the tropical latitude band, full longitude | ||
| range) | ||
| * latitude-time (restricted to the tropical latitude band, mean over the | ||
| full longitude range) | ||
|
|
||
| In both views, filled colors always show CPT pressure, and line contours | ||
| show one of CPT temperature, CPT specific humidity, or CPT relative | ||
| humidity over ice (computed from CPT temperature, specific humidity and | ||
| pressure). | ||
|
|
||
|
|
||
| Available recipes and diagnostics | ||
| ---------------------------------- | ||
|
|
||
| Recipes are stored in recipes/ | ||
|
|
||
| * recipe_tropical_cpt_hovmoeller.yml | ||
|
|
||
| Diagnostics are stored in diag_scripts/tropopause/ | ||
|
|
||
| * :ref:`cpt_hovmoeller.py <api.esmvaltool.diag_scripts.tropopause.cpt_hovmoeller>` | ||
|
|
||
|
|
||
| Variables | ||
| --------- | ||
|
|
||
| * ta (atmos, monthly mean, longitude latitude level time) | ||
| * hus (atmos, monthly mean, longitude latitude level time) | ||
|
|
||
| An optional geopotential height variable (``zg``) is also read, if present | ||
| in the input data, to additionally save the CPT geopotential height; it is | ||
| not required and is not plotted. | ||
|
|
||
|
|
||
| Observations and reformat scripts | ||
| ----------------------------------- | ||
|
|
||
| * ERA5 (native6 project, tier 3) | ||
|
|
||
| Any other model or observational dataset providing ``ta`` and ``hus`` on | ||
| pressure or model levels can be used in place of, or in addition to, the | ||
| datasets configured in the example recipe. | ||
|
|
||
|
|
||
| Example plots | ||
| -------------- | ||
|
|
||
| .. _fig_tropical_cpt_hovmoeller_1: | ||
| .. figure:: /recipes/figures/tropical_cpt_hovmoeller/era5_temperature_lon.jpg | ||
| :align: center | ||
| :width: 50% | ||
|
|
||
| Tropical CPT longitude-time Hovmoeller for ERA5: colors show CPT | ||
| pressure, contours show CPT temperature. | ||
|
|
||
| .. _fig_tropical_cpt_hovmoeller_2: | ||
| .. figure:: /recipes/figures/tropical_cpt_hovmoeller/era5_temperature_lat.jpg | ||
| :align: center | ||
| :width: 50% | ||
|
|
||
| Tropical CPT latitude-time Hovmoeller for ERA5: colors show CPT | ||
| pressure, contours show CPT temperature. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| """Tropopause diagnostics.""" |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any idea where that 110/120 in the colorbar comes from? It looks like this is a linear scale, so there should not be any label at this position. Same for the other example plot:
EDIT: I guess I found it, see my comment below.