@BeginModule
@NewPage
@Name      = EcaRr1
@Title     = Wet days index per time period
@Section   = Climate indices
@Class     = Climate index
@Arguments = ifile ofile
@Operators = eca_rr1

@BeginDescription
Let @file{ifile} be a time series of the daily precipitation amount RR, then the number of 
days where RR is at least @math{R} is counted. @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_rr1
@Title     = Wet days index per time period
@Parameter = [R]
@EndOperator


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


@BeginExample
To get the number of wet days of a time series of daily precipitation amounts use:
@BeginVerbatim
   cdo eca_rr1 rrfile ofile
@EndVerbatim
@EndExample
