Skip to content

Commit

Permalink
Use new preprocessor statistics calling convention for recipe_easy_ip…
Browse files Browse the repository at this point in the history
…cc.yml (#3418)
  • Loading branch information
bouweandela authored Nov 14, 2023
1 parent 7473e8b commit 5de9058
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions esmvaltool/diag_scripts/examples/make_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def main(cfg):
label=labels.get(exp, exp),
)

p17 = iris.load_cube(group['MultiModelP17'])
p83 = iris.load_cube(group['MultiModelP83'])
p17 = iris.load_cube(group['MultiModelPercentile17'])
p83 = iris.load_cube(group['MultiModelPercentile83'])
time_coord = mean.coord('time')
time_axis = time_coord.units.num2date(time_coord.core_points())
plt.fill_between(
Expand Down
10 changes: 6 additions & 4 deletions esmvaltool/recipes/examples/recipe_easy_ipcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ preprocessors:
units: 'degrees_C'
ensemble_statistics:
statistics:
- mean
- operator: mean
multi_model_statistics:
statistics:
- mean
- p17
- p83
- operator: mean
- operator: percentile
percent: 17
- operator: percentile
percent: 83
span: full
keep_input_datasets: false
ignore_scalar_coords: true
Expand Down

0 comments on commit 5de9058

Please sign in to comment.