Skip to content

Commit

Permalink
Recipe changes for new statistics preprocessors (percentiles) (#3351)
Browse files Browse the repository at this point in the history
Co-authored-by: Klaus Zimmermann <[email protected]>
  • Loading branch information
schlunma and Klaus Zimmermann authored Nov 8, 2023
1 parent ec9fd78 commit 9293c00
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 8 additions & 2 deletions esmvaltool/recipes/examples/recipe_preprocessor_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,16 @@ preprocessors:
multi_model_statistics: false


# Simple ensemble mean and median for multiple models
# Simple ensemble mean, median, and percentiles for multiple models
preprocessor_5:
ensemble_statistics:
statistics: [mean, median]
statistics:
- mean
- median
- operator: percentile
percent: 5
- operator: percentile
percent: 95
exclude: [GFDL-ESM2G]

# Calculate ensemble means, then multi-model mean
Expand Down
8 changes: 6 additions & 2 deletions esmvaltool/recipes/recipe_kcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ preprocessors:
standardize: false
multi_model_statistics:
span: full
statistics: [p10, p90]
statistics:
- operator: percentile
percent: 10
- operator: percentile
percent: 90
preprocessor_local: &extract_NL
extract_point:
longitude: 6.25
Expand All @@ -91,7 +95,7 @@ diagnostics:
global_matching:
script: kcs/global_matching.py
scenario_years: [2050, 2085]
scenario_percentiles: [P10, P90]
scenario_percentiles: [Percentile10, Percentile90]

local_resampling:
description: >
Expand Down

0 comments on commit 9293c00

Please sign in to comment.