-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpy_mv_config.yml
242 lines (216 loc) · 7.57 KB
/
py_mv_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# Fields are extract from grib file according to expected shortName, typeOfLevel, level.
# List of 'shortName' fields to plot --> if not available, create the necessary attributes for the variable below
# Special cases where variable is differted from expected grib shortName
# For plotting 10m wind speed -> '10mw',
# For plotting 10m wind direction -> '10mwd'
# For plotting wind speed at a given level -> 'u' or 'v'
# For plotting wind direction at a given level -> 'ud' or 'vd'
# For plotting wind gust speed -> '10mwgst'
shortNameList: ['2t','t'] #'10mw','u','tirf'] #,'prmsl'
# In case of accumulated fields, given the forecast time T, we calculate 'T - T_int_accum_hour'
int_accum_hour: 3
# Custom lat/lon domain
# [lat_bottom_left, lon_bottom_left, lat_top_right, lon_top_right]
#DK
#lat_lon_map_area: [52,3,58,17] #[52,3,60,17]
#PT
lat_lon_map_area: [35,-16,43,-2]
# increment to diplay lat/lon grid on map
lat_inc: 2
lon_inc: 2
##################################################
# Attributes for every variables in shortNameList
# Variables are identified by the expected shortName used in the gribfile
##################################################
####################
# typeOfLevel = surface
####################
# Time integral of rain flux (alternative when we cannot extract rprate from grib)
tirf:
# expected typeOfLevel as in grib file
typeOfLevel: 'surface'
# expected level
level: '0'
# if accumulated field
accumulated: True
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "cyan"
contour_shade_max_level_colour: "purple"
countList: [] #[1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,18,20] #[1,2,4,6,8,10,12,14,16,18,20] #,22,24,26,28,30,32,36] #,40] #,46,50,54,60,66,74]
# Rain precipitation rate
rprate:
# expected typeOfLevel as in grib file
typeOfLevel: 'surface'
# expected level
level: '0'
# if accumulated field
accumulated: True
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "cyan"
contour_shade_max_level_colour: "purple"
countList: []
# Snow precipitation rate
sprate:
# expected typeOfLevel as in grib file
typeOfLevel: 'surface'
# expected level
level: '0'
# if accumulated field
accumulated: True
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "cyan"
contour_shade_max_level_colour: "purple"
countList: []
# Surface pressure
sp:
# expected typeOfLevel as in grib file
typeOfLevel: 'surface'
# expected level
level: '0'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue"
contour_shade_max_level_colour: "red"
countList: []
####################
# typeOfLevel = meanSea
####################
# Pressure reduced to MSL
prmsl:
# expected typeOfLevel as in grib file
typeOfLevel: 'meanSea'
# expected level
level: '0'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue"
contour_shade_max_level_colour: "red"
countList: []
####################
# typeOfLevel = heightAboveGround
####################
# 2m temeprature
2t:
# expected typeOfLevel as in grib file
typeOfLevel: 'heightAboveGround'
# expected level
level: '2'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue"
contour_shade_max_level_colour: "red"
countList: []
# 10m wind speed
10mw:
# expected typeOfLevel as in grib file
typeOfLevel: 'heightAboveGround'
# expected level
level: '10'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue_green"
contour_shade_max_level_colour: "magenta"
countList: [] #[0,1,2,3,4,5,6,7,8,9,10,12,14,16]
# 10m wind direction
10mwd:
# expected typeOfLevel as in grib file
typeOfLevel: 'heightAboveGround'
# expected level
level: '10'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue"
contour_shade_max_level_colour: "red"
countList: [] #[0,1,2,3,4,5,6,7,8,9,10,12,14,16]
# 10m wind gust speed
10mwgst:
# expected typeOfLevel as in grib file
typeOfLevel: 'heightAboveGround'
# expected level
level: '10'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue_green"
contour_shade_max_level_colour: "magenta"
countList: [2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50]
# 2m relative humidity
2r:
# expected typeOfLevel as in grib file
typeOfLevel: 'heightAboveGround'
# expected level
level: '2'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue"
contour_shade_max_level_colour: "red"
countList: []
####################
# typeOfLevel = isobaricInhPa
####################
t:
# expected typeOfLevel as in grib file
typeOfLevel: 'isobaricInhPa'
# expected level
level: '850'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue"
contour_shade_max_level_colour: "red"
countList: []
# Specify 'u' or 'v' to calculate wind speed at a given level
u:
# expected typeOfLevel as in grib file
typeOfLevel: 'isobaricInhPa'
# expected level
level: '850'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue_green"
contour_shade_max_level_colour: "magenta"
countList: [] #[0,1,2,3,4,5,6,7,8,9,10,12,14,16,18,20,22]
# Specify 'ud' or 'vd' to calculate wind direction at a given level
ud:
# expected typeOfLevel as in grib file
typeOfLevel: 'isobaricInhPa'
# expected level
level: '850'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "blue"
contour_shade_max_level_colour: "red"
countList: [] #[0,1,2,3,4,5,6,7,8,9,10,12,14,16,18,20,22]
z:
# expected typeOfLevel as in grib file
typeOfLevel: 'isobaricInhPa'
# expected level
level: '850'
# if accumulated field
accumulated: False
# Option for customizing the plot (colorbar and coutour)
# leave list empty 'countList: []' to plot using min/max of the variable
contour_shade_min_level_colour: "cyan"
contour_shade_max_level_colour: "magenta"
countList: []