-
Notifications
You must be signed in to change notification settings - Fork 153
Adding basic impact diagnostics #4427
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
lauracasp
wants to merge
40
commits into
main
Choose a base branch
from
impact_diagnostics
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
40 commits
Select commit
Hold shift + click to select a range
cd7be37
first draft of impact diagnostics
lauracasp 5b0ef7d
branches fixed
lauracasp 5d2f160
Merge branch 'main' into impact_diagnostics
lauracasp 7b102fc
Added new default style for timeseries plots
lauracasp ffa54e8
Added ORAS5 Observations to mixed layer depth diagnostic
lauracasp 35f3807
Fixing implementation of thermosteric sea level change
lauracasp 92a2436
Fixing multiple dataset issue and cleanup
lauracasp 4526224
Adding ESACCI-SNOW dataset
lauracasp ff18894
Updated style of 1d plots
lauracasp 97795e5
Improving code quality with anchors and additional function
lauracasp 62ed322
Fixing labels of colorbar and y-axis
lauracasp c9cfc86
Fixing issue saving 1D-datasets
lauracasp 2bb2696
Merge branch 'main' of github.com:esmvalgroup/esmvaltool into impact_…
lauracasp e65a331
Adding ERA5 Observations to the recipes
lauracasp 74b2148
Improving code quality with codacy
lauracasp 2e04bef
Improving code quality with codacy
lauracasp f9e618d
Improving code quality with pre-commit
lauracasp e7e07b8
Adding check for no partial year timeframes
lauracasp de326f4
Fixing issues with customizing linestyles/colors and checking the tim…
lauracasp 399086d
Improving code quality with Codacy
lauracasp 412bcbf
Adding usage of class MultiDatasets
lauracasp 6fd7ede
Adding documentation
lauracasp 9015cd9
Merge branch 'main' into impact_diagnostics
lauracasp 5570871
Fixing CFF error
lauracasp 10052ff
Fixing filepaths
lauracasp 07c0dbd
Changing thermosteric sea level diagnostic
lauracasp 887a9cb
Cleaning up code
lauracasp dfbd8b8
Update documentation
lauracasp 7051c23
Fixing documentation
lauracasp 8c20aba
Fixing documentation
lauracasp 0573e25
Cleaning up code
lauracasp 683e891
Merge branch 'main' of github.com:esmvalgroup/esmvaltool into impact_…
lauracasp f459fe2
Implementing suggestions from review
lauracasp 921901d
Merge branch 'main' into impact_diagnostics
LisaBock f2865c6
Fixing citation file
lauracasp 9b6d16d
Merge branch 'impact_diagnostics' of github.com:esmvalgroup/esmvaltoo…
lauracasp 8731af6
Restoring ERA5 CMORizer file
lauracasp 0a470e2
Adjust thermosteric sea level diagnostic
lauracasp 1fb4f55
Resolving codacy and docs issues
lauracasp 3ea286c
Fixing zenodo file
lauracasp 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
Binary file added
BIN
+458 KB
doc/sphinx/source/recipes/figures/climatic_impact-drivers/map_pr_day.png
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
+206 KB
...sphinx/source/recipes/figures/climatic_impact-drivers/timeseries_tasmax_day.png
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
91 changes: 91 additions & 0 deletions
91
doc/sphinx/source/recipes/recipe_climatic_impact-drivers.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,91 @@ | ||
| .. _recipe_climatic_impact-drivers: | ||
|
|
||
| Climatic Impact-Drivers | ||
| ======================= | ||
|
|
||
| Overview | ||
| -------- | ||
|
|
||
| These recipes and the corresponding diagnostic provide plotting routine for a | ||
| selection of the Climatic Impact-Drivers defined in Elling et al. (2026). For | ||
| each of these variables the model output is compared to observational datasets. | ||
|
|
||
|
|
||
| Available recipes and diagnostics | ||
| --------------------------------- | ||
|
|
||
| Recipes are stored in `recipes/climatic_impact-drivers` | ||
|
|
||
| * recipe_impacts_map.yml | ||
| * recipe_impacts_timeseries.yml | ||
|
|
||
| Diagnostics are stored in `diag_scripts/climatic_impact-drivers` | ||
|
|
||
| * multi_datasets_with_threshold.py: Monitoring diagnostic to optionally count days exceeding some threshold and plot multiple datasets on a map or timeseries. | ||
|
|
||
|
|
||
| User settings in recipe | ||
| ----------------------- | ||
|
|
||
| A full list of all possible configuration options that can be specified in the | ||
| recipe is given at the beginning of the diagnostic script (see previous section). | ||
|
|
||
| The most relevant configuration options include: | ||
|
|
||
| *Required settings* | ||
|
|
||
| * plots: type of plot that is created (map, timeseries) | ||
|
|
||
| *Optional settings* | ||
|
|
||
| * options: additional pre-processing options that are applied. Available are: | ||
|
|
||
| * threshold_conversion: Option to count the number of days on which a variable exceeds a certain threshold value. Requires the argument 'threshold' with the threshold that should be exceeded within this option. Allows additionally the argument 'inverted' to count the number of days where the variable attains a value below the given threshold and the argument 'accumulated' to correctly count the number of days if the given dataset is not daily and the given variable is accumulating over time. | ||
|
|
||
|
|
||
| Variables | ||
| --------- | ||
|
|
||
| Any possible, but mainly designed for tasmin, tasmax, pr, snw, zostoga, tos, mlotst, rsds: | ||
|
|
||
| * mlotst (ocean, monthly mean, longitude latitude time) | ||
| * pr (atmos, daily mean, longitude latitude time) | ||
| * rsds (atmos, daily mean, longitude latitude time) | ||
| * snw (atmos, daily mean, longitude latitude time) | ||
| * tasmax (atmos, daily max, longitude latitude time) | ||
| * tasmin (atmos, daily min, longitude latitude time) | ||
| * tos (ocean, monthly mean, longitude latitude time) | ||
| * zostoga (ocean, monthly mean, longitude latitude time) | ||
|
|
||
|
|
||
| Observations and reformat scripts | ||
| --------------------------------- | ||
|
|
||
| * ESACCI-SNOW (snw) | ||
| * ERA5 (tasmin, tasmax, pr, rsds - esmvaltool/recipes/cmorizers/recipe_daily_era5.yml) | ||
| * ORAS5 (tos, mlotst) | ||
|
|
||
|
|
||
| References | ||
| ---------- | ||
|
|
||
| * Elling, M.T., Ruane, A.C., De Mel, M. et al. An impact-driven framework for climate model evaluation. Climatic Change 179, 65 (2026). https://doi.org/10.1007/s10584-026-04157-w | ||
|
|
||
|
|
||
| Example plots | ||
| ------------- | ||
|
|
||
| .. _fig_tasmax_exceeds_climatology: | ||
| .. figure:: /recipes/figures/climatic_impact-drivers/timeseries_tasmax_day.png | ||
| :align: center | ||
| :width: 14cm | ||
|
|
||
| Global climatology of the number of days on which tasmax exceeds 40°C. | ||
|
|
||
| .. _fig_pr_exceeds_map: | ||
| .. figure:: /recipes/figures/climatic_impact-drivers/map_pr_day.png | ||
| :align: center | ||
| :width: 14cm | ||
|
|
||
| Global map of the average number of days per year on which the precipitation | ||
| exceeds 10 mm. |
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 @@ | ||
| """Climatic Impact-Drivers diagnostics recipe for ESMValTool.""" |
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.