EcaHwdi 1.38 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
@BeginModule
@Name      = EcaHwdi
Uwe Schulzweida's avatar
Uwe Schulzweida committed
3
@Title     = Heat wave duration index wrt mean of reference period
Uwe Schulzweida's avatar
Uwe Schulzweida committed
4
5
@Section   = Climate indices
@Class     = Climate index
Uwe Schulzweida's avatar
Uwe Schulzweida committed
6
7
8
9
10
11
12
13
14
@Arguments = ifile1 ifile2 ofile
@Operators = eca_hwdi

@BeginDescription
Let @file{ifile1} be a time series of daily maximum temperatures TX,
and let @file{ifile2} be the mean TXnorm of daily maximum temperatures
for any period used as reference. Then counted is the number of days
where, in intervals of at least nday consecutive days, TX > TXnorm + T.
The numbers nday and T are optional parameters with default nday = 6
Uwe Schulzweida's avatar
Uwe Schulzweida committed
15
and T = 5 @celsius. A further output variable is the number of heat
Uwe Schulzweida's avatar
Uwe Schulzweida committed
16
waves longer than or equal to nday days. Note that both TX and TXnorm
Uwe Schulzweida's avatar
Uwe Schulzweida committed
17
18
have to be given in the same units.
The date information of a time step in @file{ofile} is the date of
Uwe Schulzweida's avatar
Uwe Schulzweida committed
19
20
21
22
23
24
the last contributing time step in @file{ifile1}.
@EndDescription
@EndModule


@BeginOperator_eca_hwdi
Uwe Schulzweida's avatar
Uwe Schulzweida committed
25
@Title     = Heat wave duration index wrt mean of reference period
Uwe Schulzweida's avatar
Uwe Schulzweida committed
26
27
28
29
30
31
32
33
@Parameter = [nday] [T]
@EndOperator


@BeginParameter
@Item = nday
INTEGER  Number of consecutive days (default: nday = 6)
@Item = T
Uwe Schulzweida's avatar
Uwe Schulzweida committed
34
FLOAT    Temperature offset (° Celsius, default: T = 5° Celsius)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
35
36
37
@EndParameter


Uwe Schulzweida's avatar
Uwe Schulzweida committed
38
39
40
41
42
43
44
@C @BeginExample
@C To compute the heat wave duration index of a time series of daily
@C maximum temperatures use:
@C @BeginVerbatim
@C    cdo eca_hwdi txfile txnormfile ofile
@C @EndVerbatim
@C @EndExample