rainPOT: Fit precipitation model

Description Usage Arguments Value Examples

Description

Fits the GP/Exponential distribution to peak over threshold precipitation data by splitting the data into different seasons

Usage

1
2
3
rainPOT(pathmain = NULL, datarainfall = "P.txt", durt, qFtset = 0.9,
  qWtset = 0.95, qSptset = 0.92, qStset = 0.9, distfunc,
  writeResults = TRUE, PDFplots = TRUE)

Arguments

pathmain

path to file , not needed if writeResults=FALSE

datarainfall

precipitation data; dataframe with columns date ("%Y-%m-%d") and Pr,if writeResults=TRUE path to txt file with columns date and Pr

durt

critical duration in hours

qFtset

quantile threshold for Autumn

qWtset

quantile threshold for Winter

qSptset

quantile threshold for Spring

qStset

quantile threshold for Summer

distfunc

distribution function GP or Exponential

PDFplots

if TRUE pdf file with plots is saved in the same directory

Value

if writeResults is TRUE the results are saved in the directory pathmain if FALSE a list that contains parameters and dataframes that lists the POT for each season is returned

Examples

1
2
3
4
## Not run: 
d=rainPOT(datarainfall=P,durt=24,qFtset=0.9,qWtset=0.95,qSptset=0.92,qStset=0.9,distfunc="GP",writeResults=FALSE,PDFplots=FALSE)

## End(Not run)

valeriyafilipova/StochasticPQRUT documentation built on May 26, 2019, 5:34 a.m.