Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
66 changes: 66 additions & 0 deletions esmvaltool/recipes/examples/recipe_xcube.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# ESMValTool
# recipe_python.yml
#
# See https://docs.esmvaltool.org/en/latest/recipes/recipe_examples.html
# for a description of this recipe.
#
# See https://docs.esmvaltool.org/projects/esmvalcore/en/latest/recipe/overview.html
# for a description of the recipe format.
---
documentation:
description: |
Example recipe that plots a map.

title: Recipe that runs an example diagnostic written in Python.

authors:
- andela_bouwe
- righi_mattia

maintainer:
- schlund_manuel

references:
- acknow_project

projects:
- esmval
- c3s-magic

datasets:
- dataset: "ESACCI-WATERVAPOUR-L3C-TCWV-meris-005deg-2002-2017-fv3.2.zarr"

preprocessors:
regrid:
regrid:
target_grid: "1x1"
scheme: nearest
annual_mean_global:
area_statistics:
operator: mean
annual_statistics:
operator: mean

diagnostics:
map:
description: Global map in January 2010.
themes:
- phys
realms:
- atmos
variables:
prw:
branding_suffix: tavg-u-hxy-u
preprocessor: regrid
project: ESACCI
mip: atmos
frequency: mon
timerange: 201001/201001
caption: |
Global map of {long_name} in January 2010 according to {dataset}.
scripts:
script1:
script: examples/diagnostic.py
quickplot:
plot_type: pcolormesh
cmap: viridis
98 changes: 98 additions & 0 deletions esmvaltool/recipes/examples/recipe_xcube_extra.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# ESMValTool
# recipe_python.yml
#
# See https://docs.esmvaltool.org/en/latest/recipes/recipe_examples.html
# for a description of this recipe.
#
# See https://docs.esmvaltool.org/projects/esmvalcore/en/latest/recipe/overview.html
# for a description of the recipe format.
---
documentation:
description: |
Example recipe that plots a map.

title: Recipe that runs an example diagnostic written in Python.

authors:
- andela_bouwe
- righi_mattia

maintainer:
- schlund_manuel

references:
- acknow_project

projects:
- esmval
- c3s-magic

datasets:
- dataset: "ESACCI-WATERVAPOUR-L3C-TCWV-meris-005deg-2002-2017-fv3.2.zarr"
# - dataset: ESACCI-LST-L3C-LST-SSMI13-0.25deg_1YEARLY_ASC-1996-2020-fv2.33_kr1.0
# - dataset: "reanalysis-era5-single-levels-monthly-means:monthly_averaged_reanalysis"
# - dataset: esacci.LST.yr.L3C.LST.multi-sensor.multi-platform.SSMI_SSMIS.v2-33.DES
# supplementary_variables: [{ short_name: areacella, skip: true }]

preprocessors:
regrid:
regrid:
target_grid: "1x1"
scheme: nearest
annual_mean_global:
area_statistics:
operator: mean
annual_statistics:
operator: mean

diagnostics:
map:
description: Global map in January 2010.
themes:
- phys
realms:
- atmos
variables:
prw:
branding_suffix: tavg-u-hxy-u
preprocessor: regrid
project: ESACCI
mip: atmos
frequency: mon
timerange: 201001/201001
caption: |
Global map of {long_name} in January 2010 according to {dataset}.
#lst:
# t2m:
# project: CDS
# mip: Amon
# frequency: yr
# timerange: 2010/P1Y
# caption: |
# Global map of {long_name} in January 2010 according to {dataset}.
scripts:
script1:
script: examples/diagnostic.py
quickplot:
plot_type: pcolormesh
cmap: viridis

# timeseries:
# description: Annual mean global mean.
# themes:
# - phys
# realms:
# - atmos
# variables:
# lst:
# project: ESACCI
# mip: Amon
# frequency: yr
# preprocessor: annual_mean_global
# # timerange: 2000/2010
# caption: Annual global mean {long_name} according to {dataset}.
# scripts:
# script1:
# script: examples/diagnostic.py
# quickplot:
# plot_type: plot
Loading