extract_ams_allstations: Extract the annual maximum floods for daily and subdaily time...

Description Usage Arguments Value Examples

Description

See 'get_amsdata' for details on how ams values are extracted.

Usage

1
2
3
4
  extract_ams_allstations(stations_periods_file = "inst/Example_data/Flooddata/Table_stations_periods.csv",
  dailydata = "inst/Example_data/Dailydata",
  subdailydata = "inst/Example_data/Subdaily",
  outfile = "inst/Example_data/Flooddata/amsvalues.txt")

Arguments

stations_periods_file

File with station numbers and perios for data

dailydata

Folder with daily data

subdailydata

Folder with subdaily data

outfile

File for storing the ams values

Value

dataframe with regine number, main number, date for daily flood, daily maximum, date for subdaily flood, subdaily maximum for aqll stations. results are written to the outfile.

Examples

1
2
3
amsdata<-extract_ams_allstations(stations_periods_file="inst/Example_data/Flooddata/Table_stations_periods.csv",
dailydata="inst/Example_data/Dailydata", subdailydata="inst/Example_data/Subdaily",
outfile="inst/Example_data/Flooddata/amsvalues.txt")

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