Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0797796
Added sterodynamic patterns code + recipe
gregrmunday May 20, 2025
edf0bdb
Updated some functions
gregrmunday May 21, 2025
ee25f14
Add documentation+
gregrmunday May 23, 2025
ae2d52e
Codacy updates
gregrmunday May 23, 2025
9c4b97e
Codacy updates
gregrmunday May 23, 2025
bb580ca
Codacy updates
gregrmunday May 23, 2025
b147484
Codacy updates
gregrmunday May 23, 2025
f44596a
Codacy updates
gregrmunday May 23, 2025
b70c80b
Codacy updates
gregrmunday May 23, 2025
4ae1e9f
Codacy update
gregrmunday May 23, 2025
035f329
Codacy update
gregrmunday May 23, 2025
ac0eacd
Merge branch 'main' into steric_patterns
gregrmunday May 23, 2025
cf3a9be
Merge branch 'main' into steric_patterns
gregrmunday Jun 2, 2025
875c296
Merge branch 'main' into steric_patterns
gregrmunday Jun 25, 2025
8fef977
PR review fixes
gregrmunday Oct 12, 2025
1fdc9dc
Merge branch 'steric_patterns' of github.com:ESMValGroup/ESMValTool i…
gregrmunday Oct 12, 2025
b2f88c3
Small update
gregrmunday Oct 13, 2025
ecab380
Updated detrend plot
gregrmunday Oct 13, 2025
3dbc23c
Updated docs
gregrmunday Oct 13, 2025
8c6202b
Updated docs
gregrmunday Oct 13, 2025
ef40617
Updated plots and docs
gregrmunday Oct 13, 2025
4b9cec6
Codacy fixes
gregrmunday Oct 13, 2025
37356ac
Codacy fixes
gregrmunday Oct 13, 2025
ef64933
Merge branch 'main' into steric_patterns
gregrmunday Oct 13, 2025
e7991dd
Close figures
gregrmunday Oct 13, 2025
8dee810
Pre-commit push
gregrmunday Oct 13, 2025
4b7d013
After-fix
gregrmunday Oct 13, 2025
f7ef555
Small fix
gregrmunday Oct 13, 2025
62c912a
Small fix
gregrmunday Oct 13, 2025
dc33254
ruff formatting
valeriupredoi Oct 14, 2025
79856af
ruff doc entry
valeriupredoi Oct 14, 2025
7c57156
Merge branch 'main' into steric_patterns
gregrmunday Oct 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions doc/sphinx/source/recipes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Ocean
recipe_enso_clivar
recipe_oceans
recipe_sea_surface_salinity
recipe_steric_patterns
recipe_russell18jgr

Other
Expand Down
127 changes: 127 additions & 0 deletions doc/sphinx/source/recipes/recipe_steric_patterns.rst

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the title be sterodynamic sea level patterns? Or thermosteric and sterodynamic sea level change?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would a figure like Figure 2 in Palmer et al., (2020) be possible? https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2019EF001413

Copy link

@mo-jenniferweeks mo-jenniferweeks Aug 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add something on applying the methods of Palmer et al., (2020) which are rooted in AR5 methods. Could add something about Hermans et al., (2021) also using CMIP6 models with these models to project global mean sea level change and refer to that for the reader to explore the differences? Although, Hermans use a least squares quadratic fit for drift correction - same as Palmer et al. (2020)?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could add what scenarios are available?

Copy link
Contributor Author

@gregrmunday gregrmunday Oct 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the title and added the available scenarios.

In theory a figure like Fig. 2 of Palmer et al., (2020) would be possible but I'd need to get historical data from all the models to calculate the 1986-2005 baseline. This would add quite a lot of extra processing and time for this particular PR. However it could definitely be added in the future if that's something you'd like to do :)

I'll get back to you on the references tomorrow :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mo-jenniferweeks I've added a note on Palmer et al., (2020) but I'll leave it to you to add in any other references and context you think might be relevant in another PR which should be easy to do! If you'd like to send me anything offline I can add it in here as well of course.

Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
.. _recipes_steric_patterns:

Calculate sterodynamic sea-level patterns from CMIP6 models
===========================================================

Overview
--------

The recipe recipe_steric_patterns calculates sterodynamic sea-level change
patterns from CMIP6 model datasets. Patterns are calculated for the SSP2-4.5,
SSP3-7.0 and SSP5-8.5 scenarios.

These patterns are useful because we can emulate spatially-resolved
sterodynamic sea-level rise from global thermal expansion at a fraction of the
computational cost of running a fully-coupled Earth system model or ocean model.

The methods for this recipe are derived from those in Palmer et al. (2020) which
themselves are rooted in the IPCC AR5 report.

.. note::
The regrid setting in the recipe is set to a (180, 360) grid to put
all models on the same grid.


Available recipes and diagnostics
---------------------------------

Recipes are stored in esmvaltool/recipes/

* recipe_steric_patterns.yml

Diagnostics are stored in esmvaltool/diag_scripts/steric_patterns/

* steric_patterns.py: generates sterodynamic patterns from input datasets
* sub_funcs.py: set of sub functions to assist with the main script


User settings in recipe
-----------------------

#. Script steric_patterns.py

*Required settings for script*

None

*Optional settings for script*

None

*Required settings for variables*

* short_name
* additional_datasets
* exp

*Optional settings for variables*

None

*Required settings for preprocessor*

* regular_grid: regrids data to a (180, 360) grid

*Optional settings for preprocessor*

None


Variables
---------

#. Script steric_patterns.py

* zostoga (ocean, monthly, time)
* zos (ocean, monthly, longitude, latitude, time)


Observations and reformat scripts
---------------------------------

None


References
----------

* Palmer, M. D., Gregory, J. M., Bagge, M., Calvert, D., Hagedoorn, J. M.,
& Howard, T., et al. (2020). Exploring the drivers of global and local
sea-level change over the 21st century and beyond. Earth's Future, 8,
e2019EF001413. https://doi.org/10.1029/2019EF001413

* Perks, R., & Weeks, J. (2023). MetOffice/ProFSea-tool: v1.0.0 (v1.0.0).
Zenodo. https://doi.org/10.5281/zenodo.10255468


Example plots
-------------

.. _fig_steric_patterns_1:
.. figure:: /recipes/figures/steric_patterns/detrended.png
:align: center
:width: 80%

Detrended zostoga, correcting for model drift using the pre-industrial
(PiControl) experiment following Palmer et al., (2020). This is done for
each model and scenario.

.. _fig_steric_patterns_2:
.. figure:: /recipes/figures/steric_patterns/regressions.png
:align: center
:width: 80%

Example of the regressions between the global thermal expansion (zostoga) and
local dynamic sea-level height (zos) for three random grid-cells. The coordinate
for each of the grid-cells is shown in the top-right corner of each panel.

.. _fig_steric_patterns_3:
.. figure:: /recipes/figures/steric_patterns/predictions.png
:align: center
:width: 80%

Example end-of-century predictions from the UKESM1-0-LL model patterns
for each SSP, as well as a timeseries of globally-averaged mean-squared
error. Two polar artifacts can be seen in each map panel, seemingly
occuring due to ESMValTool's regridding functionality. This seems to occur
more often on low-resolution models as opposed to high-res.
Empty file.
Loading