@BeginModule
@Name      = EcaR99ptot
@Title     = Precipitation percent due to R99p days
@Section   = Climate indices
@Class     = Climate index
@Arguments = ifile1 ifile2 ofile
@Operators = eca_r99ptot

@BeginDescription
Let @file{ifile1} be a time series of daily precipitation amounts RR,
and @file{ifile2} be the 99th percentile RRn99 of daily precipitation
amounts at wet days for any period used as reference. Then the ratio 
of the precipitation sum at wet days with RR > RRn99 to the total 
precipitation sum is calculated. 
RRn99 is calculated as the 99th percentile of all wet days of a given
climate reference period.
The date information of a timestep in @file{ofile} is the date of
the last contributing timestep in @file{ifile1}.
@EndDescription
@EndModule


@BeginOperator_eca_r99ptot
@Title     = Precipitation percent due to R99p days
@EndOperator
