Skip to content

Commit 9ae516e

Browse files
committed
Added new example recipe to demonstrate the use of variable groups
1 parent 70d3707 commit 9ae516e

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

esmvaltool/recipes/examples/recipe_concatenate_exps.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1+
# recipe_concatenate_exps.yml
12
---
3+
documentation:
4+
5+
description: |
6+
Example recipe to demonstrate concatenation of different experiments.
7+
8+
authors:
9+
- schl_ma
10+
11+
projects:
12+
- crescendo
13+
14+
215
datasets:
316
- {dataset: CanESM2}
417
- {dataset: GFDL-ESM2M}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# recipe_variable_groups.yml
2+
---
3+
documentation:
4+
5+
description: |
6+
Example recipe to demonstrate grouping of variables in the diagnostic
7+
section.
8+
9+
authors:
10+
- schl_ma
11+
12+
projects:
13+
- crescendo
14+
15+
16+
preprocessors:
17+
18+
mask:
19+
mask_landsea:
20+
mask_out: sea
21+
22+
23+
ARBITRARY_YAML_ANCHOR: &datasets
24+
- {dataset: CanESM2}
25+
- {dataset: IPSL-CM5A-LR}
26+
- {dataset: MIROC5}
27+
- {dataset: MPI-ESM-LR}
28+
- {dataset: NorESM1-M}
29+
30+
31+
diagnostics:
32+
33+
diag_variable_groups:
34+
description: Demonstrate the use of variable groups.
35+
variables:
36+
tas_1: &variable_settings
37+
short_name: tas
38+
project: CMIP5
39+
mip: Amon
40+
field: T2Ms
41+
exp: historical
42+
ensemble: r1i1p1
43+
start_year: 2000
44+
end_year: 2005
45+
tag: TAS1
46+
additional_datasets: *datasets
47+
tas_2:
48+
<<: *variable_settings
49+
preprocessor: mask
50+
tag: TAS2
51+
additional_datasets:
52+
- {dataset: ERA-Interim, project: OBS, type: reanaly, version: 1, tier: 3}
53+
tas_3:
54+
<<: *variable_settings
55+
exp: rcp45
56+
start_year: 2020
57+
end_year: 2025
58+
tag: TAS3
59+
additional_datasets: *datasets
60+
scripts:
61+
null

0 commit comments

Comments
 (0)