Skip to content

Commit 9401a42

Browse files
committed
added new precip diags
1 parent abf715c commit 9401a42

2 files changed

Lines changed: 128 additions & 0 deletions

File tree

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# ESMValTool
2+
---
3+
documentation:
4+
title: Model evaluation with focus on precipitation.
5+
description: >
6+
Plot diurnal cycles of precipitation.
7+
authors:
8+
- schlund_manuel
9+
maintainer:
10+
- schlund_manuel
11+
12+
13+
# Note: the following models are just examples
14+
datasets:
15+
- {dataset: ICON-XPP, project: ICON, exp: historical-202510p1, component: atm, var_type: atm_6hourly_prec, alias: 'ICON-XPP', frequency: 6hr}
16+
17+
18+
preprocessors:
19+
20+
local_solar_time:
21+
custom_order: true
22+
regrid:
23+
target_grid: 1x1
24+
scheme:
25+
reference: esmf_regrid.schemes:ESMFAreaWeighted
26+
extract_season:
27+
season: JJA
28+
extract_region:
29+
start_latitude: -30
30+
end_latitude: 30
31+
start_longitude: 0
32+
end_longitude: 360
33+
local_solar_time:
34+
climate_statistics:
35+
period: hourly
36+
convert_units:
37+
units: mm day-1
38+
39+
40+
diagnostics:
41+
42+
plot_hour_of_maximum_precipitation:
43+
description: Plot maps showing hour of maximum precipitation.
44+
variables:
45+
pr:
46+
# timerange: 20100601/20100901
47+
start_year: 2010
48+
end_year: 2014
49+
mip: 6hr
50+
preprocessor: local_solar_time
51+
additional_datasets:
52+
- {dataset: ERA5, project: native6, type: reanaly, version: v1, frequency: 1hr, tier: 3}
53+
scripts:
54+
plot:
55+
script: hydrology/hour_of_max_precipitation.py
56+
caption: Hour of daily maximum precipitation in the Tropics (30°S-30°N) for {dataset}.
57+
pyplot_kwargs:
58+
title: "{dataset}"
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# ESMValTool
2+
# recipe_model_evaluation_precip_hist.yml
3+
---
4+
documentation:
5+
title: Histogram of precipitation.
6+
7+
description: >
8+
Creates a 1D histogram for precipitation.
9+
10+
authors:
11+
- bock_lisa
12+
13+
maintainer:
14+
- bock_lisa
15+
16+
17+
timerange: &timerange
18+
timerange: 19790101/19801231
19+
20+
21+
datasets:
22+
- {dataset: ICON-XPP, project: ICON, exp: historical-202510p1, start_year: 2010, end_year: 2014, component: atm, var_type: atm_6hourly_prec, alias: 'ICON-XPP', frequency: 6hr}
23+
- {dataset: ERA5, project: native6, type: reanaly, version: 'v1', frequency: 1hr,
24+
tier: 3, alias: ERA5}
25+
26+
27+
REGRIDDING_SETTINGS: &regridding
28+
regrid:
29+
target_grid: 1x1
30+
scheme:
31+
reference: esmf_regrid.schemes:ESMFAreaWeighted
32+
33+
34+
preprocessors:
35+
36+
tropics:
37+
custom_order: true
38+
<<: *regridding
39+
extract_region:
40+
start_longitude: 0
41+
end_longitude: 360
42+
start_latitude: -30
43+
end_latitude: 30
44+
hourly_statistics:
45+
hours: 6
46+
operator: mean
47+
convert_units:
48+
units: mm hour-1
49+
histogram:
50+
bins: 150
51+
bin_range: [0, 15.]
52+
normalization: integral
53+
54+
55+
diagnostics:
56+
57+
plot_precipitation_histograms_tropics:
58+
description: Plot precipitation histogram (Tropics).
59+
variables:
60+
pr:
61+
mip: 6hr
62+
preprocessor: tropics
63+
<<: *timerange
64+
scripts:
65+
plot:
66+
script: plot_histogram.py
67+
suptitle: Simulated Precipitation (Tropics 30S-30N)
68+
log_y: true
69+
xlabel: Precipitation rate (mm hour-1)
70+
ylabel: Density

0 commit comments

Comments
 (0)