@BeginModule
@NewPage
@Name      = EcaR99p
@Title     = Extremely wet days wrt 99th percentile of reference period
@Section   = Climate indices
@Class     = Climate index
@Arguments = ifile1 ifile2 ofile
@Operators = eca_r99p

@BeginDescription
Let @file{ifile1} be a time series RR of the daily precipitation amount at wet days (precipitation >= 1 mm)
and @file{ifile2} be the 99th percentile RRn99 of the daily precipitation amount at wet days for any period 
used as reference. Then the percentage of wet days with RR > RRn99 is calculated. 
RRn99 is calculated as the 99th percentile of all wet days of a given climate reference period.
Usually @file{ifile2} is generated by the operator @file{ydaypctl,99}.
The date information of a timestep in @file{ofile} is the date of the last contributing timestep in @file{ifile1}.
@EndDescription
@EndModule


@BeginOperator_eca_r99p
@Title     = Extremely wet days wrt 99th percentile of reference period
@EndOperator


@BeginExample
To compute the percentage of wet days where the daily precipitation
amount is greater than the 99th percentile of the daily precipitation
amount at wet days for a given reference period use:
@BeginVerbatim
   cdo eca_r99p rrfile rrn99file ofile
@EndVerbatim
@EndExample
