metadata.yml 11.4 KB
Newer Older
1
2
3
4
5
6
7
join:
  - tracking_id
  - creation_date

drop:
  - history

8
index_functions:
9
10
11
12
13
  count_occurrences:
    description: |
      Calculates the number of times some condition is met.
      First, the threshold is transformed to the same standard_name and units as
      the input data.
14
15
16
      Then the thresholding is performed as condition(data, threshold), ie
      if condition is <, data < threshold.
      Finally, count the number of occurrences when condition is met.
17
18
    parameters:
      threshold:
19
20
21
22
23
24
25
26
27
28
29
30
        kind: quantity
      condition:
        kind: operator

  first_occurrence:
    description: |
      Calculates the first time some condition is met.
      First, the threshold is transformed to the same standard_name and units as
      the input data.
      Then the thresholding is performed as condition(data, threshold), ie
      if condition is <, data < threshold.
      Finally, locate the first occurrence when condition is met.
31
32
33
34
35
36
37
38
39
40
41
42
43
44
    parameters:
      threshold:
        kind: quantity
      condition:
        kind: operator

  last_occurrence:
    description: |
      Calculates the last time some condition is met.
      First, the threshold is transformed to the same standard_name and units as
      the input data.
      Then the thresholding is performed as condition(data, threshold), ie
      if condition is <, data < threshold.
      Finally, locate the last occurrence when condition is met.
45
46
    parameters:
      threshold:
47
48
49
50
        kind: quantity
      condition:
        kind: operator

51
52
53
54
55
56
  spell_length:
    description: |
      Calculates statistics on lengths of spells.
      First, the threshold is transformed to the same standard_name and units as
      the input data.
      Then the thresholding is performed as condition(data, threshold),
57
      ie if condition is <, data < threshold.
58
59
60
61
62
63
64
65
66
67
      Then the spells are determined, and finally the statistics according to
      the specified reducer are calculated.
    parameters:
      threshold:
        kind: quantity
      condition:
        kind: operator
      reducer:
        kind: reducer

68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
  thresholded_statistics:
    description: |
      Calculates a simple statistic of the data for which some condition is met.
      First, the threshold is transformed to the same standard_name and units as
      the input data.
      Then the thresholding is performed as condition(data, threshold), ie
      if condition is <, data < threshold.
      Finally, the statistic is calculated for those data values that fulfill
      the condition.
    parameters:
      threshold:
        kind: quantity
      condition:
        kind: operator
      reducer:
        kind: reducer

85
indices:
Klaus Zimmermann's avatar
Klaus Zimmermann committed
86
  cdd:
87
    reference: ETCCDI
88
89
90
    period:
      allowed:
        annual:
91
        seasonal:
92
93
        monthly:
      default: annual
94
    output:
95
      var_name: cdd
96
      standard_name: spell_length_of_days_with_lwe_thickness_of_precipitation_amount_below_threshold
97
      proposed_standard_name: spell_length_with_lwe_thickness_of_precipitation_amount_below_threshold
98
99
100
101
102
103
104
      long_name: Maximum consecutive dry days (Precip < 1mm)
      units: days
      cell_methods:
        - time: sum within days
        - time: sum over days
    input:
      var_name: pr
105
      standard_name: precipitation_flux
106
107
      cell_methods:
        - time: sum
108
109
110
111
112
113
    index_function:
      name: spell_length
      parameters:
        threshold:
          kind: quantity
          long_name: Threshold value for daily precipitation amount (liquid water equivalent)
114
          standard_name: lwe_precipitation_rate
115
          data: 1
116
          units: mm day-1
117
118
        condition:
          kind: operator
Lars Bärring's avatar
Lars Bärring committed
119
          operator: '<'
120
121
122
        reducer:
          kind: reducer
          reducer: max
123
124
125
126
127
    ET:
      short_name: cdd
      long_name: Consecutive dry days
      definition: Maximum number of consecutive days with P<1mm
      comment: maximum consecutive days when daily total precipitation is below 1 mm
Renate Wilcke's avatar
Renate Wilcke committed
128
129

  cwd:
130
    reference: ETCCDI
Renate Wilcke's avatar
Renate Wilcke committed
131
132
133
    period:
      allowed:
        annual:
134
        seasonal:
Renate Wilcke's avatar
Renate Wilcke committed
135
136
137
        monthly:
      default: annual
    output:
138
      var_name: cwd
Renate Wilcke's avatar
Renate Wilcke committed
139
      standard_name: spell_length_of_days_with_lwe_thickness_of_precipitation_amount_above_threshold
140
141
      proposed_standard_name: spell_length_of_days_with_lwe_thickness_of_precipitation_amount_at_or_above_threshold
      long_name: Maximum consecutive wet days (Precip >= 1mm)
Renate Wilcke's avatar
Renate Wilcke committed
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
      units: days
      cell_methods:
        - time: sum within days
        - time: sum over days
    input:
      var_name: pr
      standard_name: precipitation_flux
      cell_methods:
        - time: sum
    index_function:
      name: spell_length
      parameters:
        threshold:
          kind: quantity
          long_name: Threshold value for daily precipitation amount (liquid water equivalent)
          standard_name: lwe_precipitation_rate
          data: 1
          units: mm day-1
        condition:
          kind: operator
162
          operator: '>='
Renate Wilcke's avatar
Renate Wilcke committed
163
164
165
166
167
168
        reducer:
          kind: reducer
          reducer: max
    ET:
      short_name: cwd
      long_name: Consecutive wet days
169
      definition: Maximum number of consecutive days with P>=1mm
Renate Wilcke's avatar
Renate Wilcke committed
170
      comment: maximum consecutive days when daily total precipitation is at or above 1 mm
Lars Bärring's avatar
Lars Bärring committed
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

  r10mm:
    reference: ETCCDI
    period:
      allowed:
        annual:
        seasonal:
        monthly:
      default: monthly
    output:
      var_name: r10mm
      standard_name: number_of_days_with_lwe_thickness_of_precipitation_amount_above_threshold
      proposed_standard_name: number_occurrences_with_lwe_thickness_of_precipitation_amount_at_or_above_threshold
      long_name: Number of heavy precipitation days (Precip >=10 mm)
      units: days
      cell_methods:
        - time: sum within days
        - time: sum over days
    input:
      var_name: pr
      standard_name: precipitation_flux
      cell_methods:
        - time: sum
    index_function:
      name: count_occurrences
      parameters:
        threshold:
          kind: quantity
          long_name: Threshold value for daily precipitation amount (liquid water equivalent)
          standard_name: lwe_precipitation_rate
          data: 10
          units: mm day-1
203
        condition:
Lars Bärring's avatar
Lars Bärring committed
204
          kind: operator
205
          operator: '>='
Lars Bärring's avatar
Lars Bärring committed
206
207
208
209
    ET:
      short_name: R10mm
      long_name: Number of heavy precipitation days
      definition: Count of days when P>=10mm
210
      comment: Count of days when daily total precipitation is above 10 mm
Renate Wilcke's avatar
Renate Wilcke committed
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
242
243
244
245
246
247
248
249

  su:
    reference: ETCCDI
    period:
      allowed:
        annual:
        monthly:
        seasonal:
      default: annual
    output:
      var_name: su
      standard_name: number_of_days_with_air_temperature_above_threshold
      long_name: Number of Summer Days (Tmax > 25C)
      units: days
      cell_methods:
        - time: maximum within days
        - time: sum over days
    input:
      var_name: tasmax
      standard_name: air_temperature
      cell_methods:
        - time: maximum
    index_function:
      name: count_occurrences
      parameters:
        threshold:
          kind: quantity
          long_name: Threshold value for daily maximum air temperature
          standard_name: air_temperature
          data: 25
          units: degree_Celsius
        condition:
          kind: operator
          operator: '>'
    ET:
      short_name: su
      long_name: Number of Summer days
      definition: Count of days when TX>25C
      comment: Count of days when daily maximum temperature is above plus 25 degC
Lars Bärring's avatar
Lars Bärring committed
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291

  sdii:
    reference: ETCCDI
    period:
      allowed:
        annual:
        monthly:
        seasonal:
      default: annual
    output:
      var_name: sdii
      standard_name: lwe_precipitation_rate
      long_name: Average precipitation during Wet Days (SDII)
      units: mm day-1
      cell_methods:
        - time: sum within days
        - time: mean over days
    input:
      var_name: pr
      standard_name: precipitation_flux
      cell_methods:
        - time: sum
    index_function:
      name: thresholded_statistics
      parameters:
        threshold:
          kind: quantity
          long_name: Threshold value for daily precipitation amount
          standard_name: lwe_precipitation_rate
          data: 1
          units: mm day-1
        condition:
          kind: operator
          operator: '>='
        reducer:
          kind: reducer
          reducer: mean
    ET:
      short_name: sdii
      long_name: Simple precipitation intensity index
      definition: PRCPTOT / Nwetdays
      comment: Mean daily total precipitation during days having at least 1 mm
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331

  faf:
    reference: B4EST
    period:
      allowed:
        annual:
        monthly:
        seasonal: JASOND
      default: seasonal
    output:
      var_name: faf
      standard_name:
      proposed_standard_name: first_occurrence_of_air_temperature_below_threshold
      long_name: First Autumn Frost (day-of-year during Jul-Dec when Tmin < 0 degC)
      units: days
      cell_methods:
        - time: minimum within days
        - time: minimum over days
    input:
      var_name: tasmin
      standard_name: air_temperature
      cell_methods:
        - time: minimum
    index_function:
      name: first_occurrence
      parameters:
        threshold:
          kind: quantity
          long_name: Threshold value for daily maximum air temperature
          standard_name: air_temperature
          data: 0
          units: degree_Celsius
        condition:
          kind: operator
          operator: '<'
    ET:
      short_name:
      long_name:
      definition:
      comment:
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371

  lsf:
    reference: B4EST
    period:
      allowed:
        annual:
        monthly:
        seasonal: JFMAMJ
      default: seasonal
    output:
      var_name: lsf
      standard_name:
      proposed_standard_name: last_occurrence_of_air_temperature_below_threshold
      long_name: Last Spring Frost (day-of-year during Jan-Jun when Tmin < 0 degC)
      units: days
      cell_methods:
        - time: minimum within days
        - time: maximum over days
    input:
      var_name: tasmin
      standard_name: air_temperature
      cell_methods:
        - time: minimum
    index_function:
      name: last_occurrence
      parameters:
        threshold:
          kind: quantity
          long_name: Threshold value for daily maximum air temperature
          standard_name: air_temperature
          data: 0
          units: degree_Celsius
        condition:
          kind: operator
          operator: '<'
    ET:
      short_name:
      long_name:
      definition:
      comment:
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411

  tngt{TT}:
    reference: CLIPC
    period:
      allowed:
        annual:
        monthly:
        seasonal:
      default: annual
    output:
      var_name: tngt{TT}
      standard_name: number_of_days_with_air_temperature_above_threshold
      proposed_standard_name: number_of_occurrences_with_air_temperature_above_threshold
      long_name: Number of days with Tmin > {TT}C
      units: days
      cell_methods:
        - time: minimum within days
        - time: sum over days
    input:
      var_name: tasmin
      standard_name: air_temperature
      cell_methods:
        - time: minimum
    index_function:
      name: count_occurrences
      parameters:
        threshold:
          kind: quantity
          long_name: Threshold value for daily maximum air temperature
          standard_name: air_temperature
          data: {TT}
          units: degree_Celsius
        condition:
          kind: operator
          operator: '>'
    ET:
      short_name:
      long_name:
      definition:
      comment: