@BeginModule
@Name      = EcaSdii
@Title     = Simple daily intensity index per time period
@Section   = Climate indices
@Class     = Climate index
@Arguments = ifile ofile
@Operators = eca_sdii

@BeginDescription
Let @file{ifile} be a time series of daily precipitation amounts @math{RR}, then the mean 
precipitation amount at wet days (@math{RR} > @math{R}) is written to @file{ofile}. 
@math{R} is an optional parameter with default @math{R = 1 mm}.
The date information of a timestep in @file{ofile} is the date of
the last contributing timestep in @file{ifile}.
@EndDescription
@EndModule


@BeginOperator_eca_sdii
@Title     = Simple daily intensity index per time period
@Parameter = [R]
@EndOperator


@BeginParameter
@Item = R
DOUBLE   Precipitation threshold (mm, default: R = 1 mm)
@EndParameter


@BeginExample
To get the daily intensity index of a time series of daily precipitation amounts use:
@BeginVerbatim
   cdo eca_sdii rrfile ofile
@EndVerbatim
@EndExample
