ESMValGroup / ESMValTool

ESMValTool: A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP
https://www.esmvaltool.org
Apache License 2.0
228 stars 128 forks source link

Recreate `portrait plot` from NCL perfmetrics in python #3550

Open lukruh opened 8 months ago

lukruh commented 8 months ago

Short description of the diagnostic As discussed at the recent hackathon, we are aiming for a replacement of diag_scripts/perfmetrics in python. We might be able to use preprocessor functions to calculate different performance metrics in the future. Alternative diagnostics to plot timeseries and hovmöller diagrams already exist. Therefore, we focus on developing a flexible plotting diagnostic that can produce figures similar to the permetrics overview figure 5 and gleckler plots produced by the ETCCDI recipe. This would be one step towards recreating one figure from the set of perfmetric diagnostics.

If we manage to implement index calculation (i.e. via xclim) this could also recreate the figure from the ETCCDI recipe.

Branch and pull request PR: #3551 Branch: perfmetric_python Recipe: recipe_perfmetrics_python.yml

Produced figures

Image image

lukruh commented 7 months ago

We made some progress: