@BeginModule
@NewPage
@Name      = EcaCsu
@Title     = Consecutive summer days index per time period
@Section   = Climate indices
@Class     = Climate index
@Arguments = ifile ofile
@Operators = eca_csu

@BeginDescription
Let @file{ifile} be a time series of daily maximum temperatures TX,
then counted is the largest number of consecutive days where TX > T.
The number T is an optional parameter with default T = 25° Celsius.
Note that TN must be given in units of Kelvin, whereas T must be given
in degrees Celsius.
The date information for a time step in @file{ofile} is the date of
the last contributing time step in @file{ifile}.
@EndDescription
@EndModule


@BeginOperator_eca_csu
@Title     = Consecutive summer days index per time period
@Parameter = [T]
@EndOperator


@BeginParameter
@Item = T
DOUBLE   Temperature threshold (° Celsius, default: T = 25° Celsius)
@EndParameter


@BeginExample
To get the largest number of consecutive summer days for a time
series of daily minimum temperatures, use:
@BeginVerbatim
   cdo eca_csu txfile ofile
@EndVerbatim
@EndExample
