@BeginModule
@NewPage
@Name      = EcaR90p
@Title     = Wet days wrt 90th percentile of reference period
@Section   = Climate indices
@Class     = Climate index
@Arguments = ifile1 ifile2 ofile
@Operators = eca_r90p

@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 90th percentile RRn90 of the daily precipitation amount at wet days for any period 
used as reference. Then the percentage of wet days with RR > RRn90 is calculated. 
RRn90 is calculated as the 90th percentile of all wet days of a given climate reference period.
Usually @file{ifile2} is generated by the operator @file{ydaypctl,90}.
The date information of a timestep in @file{ofile} is the date of the last contributing timestep in @file{ifile1}.
@EndDescription
@EndModule


@BeginOperator_eca_r90p
@Title     = Wet days wrt 90th percentile of reference period
@EndOperator


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