extract_recessiontimes_allstations: Calculate recession times for a set of stations

Description Usage Arguments Value Examples

Description

See 'get_recession_time' for details on how recession times are extracted

Usage

1
2
3
4
extract_recessiontimes_allstations(fraction = 0.995,
  stations_periods_file = "inst/Example_data/Flooddata/Table_stations_periods.csv",
  dailydata = "inst/Example_data/Dailydata",
  outfile = "inst/Example_data/Flooddata/recessiontimes.txt")

Arguments

fraction

quantile of the pdf of recession coefficients lamda used in calculation. A high value is recommended

stations_periods_file

a file with list of stations and data periods to be used for estimationg recession

dailydata

folder with daildata

outfile

file for storing results

Value

a data object with recession times in days for all catchments

Examples

1
2
3
recessions<-extract_recessiontimes_allstations(fraction=0.995,
"inst/Example_data/Flooddata/Table_stations_periods.csv",
"inst/Example_data/Dailydata", "inst/Example_data/Flooddata/recessiontimes.txt")

NVE/NVEHYDROTOOLS documentation built on May 7, 2019, 6:04 p.m.