Description Usage Arguments Value Examples
Use independence criterion based on Lang et al (1999)
See 'get_pot' for deitals on how independent POT values are extracted
Should first extract AMS values to get the years to be used for extracting POT data
1 2 3 | extract_pot_allstations(amsfile = "inst/Example_data/Flooddata/amsvalues.txt",
dailydata = "inst/Example_data/Dailydata", p_threshold = 0.98, TSEP = 6,
pratio = 2/3, outfile = "inst/Example_data/Flooddata/potvalues.txt")
|
amsfile |
file with annual maximum data. Only years with ams will be used |
dailydata |
folder with daily data |
p_threshold |
the thershold for selecting flood values given as emprical quantile of all data |
pratio |
The minimum flow between two flood peaks should be less than pratio times the first flood peak. |
outfile |
The file for storing ams values |
TTR_3X |
The minimum time between two independent flood peaks |
data frame with reginenumber, main number, flood date, flod size, thershold. for all stations. The dataframe is written to the specified outfile.
1 2 3 4 | extract_pot_allstations(amsfile='inst/Example_data/Flooddata/amsvalues.txt',
dailydata="inst/Example_data/Dailydata",
p_threshold = 0.98, TSEP = 6,pratio= 2.0/3.0,
outfile="inst/Example_data/Flooddata/potvalues.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.