Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipe changes for new statistics preprocessors (percentiles) #3351

Merged
merged 5 commits into from
Nov 8, 2023
Merged
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
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