get_amsdata: Extract annual maxima from daily time and subdaily time...

Description Usage Arguments Value Examples

Description

Use only years that has more than 363 observations. If the annual maximqa for daily and subdaily time resolution is separated by two days or less, they are considered to belong to the same flood event and they are written on the same line, and we have only one flood event for this year if not, we have two flood flood event for this specifc year, and the daily and subdaily floo values are given for bith events. For AMS analysis, only the maximum of these two should be used.

Usage

1
2
3
4
5
get_amsdata(stationnumber = 200011,
  path_dd = "inst/Excample_data/Dailydata",
  path_sd = "inst/Excample_data/Subdaily", active_station = 0,
  d_first = 1880, d_last = 2015, d_exclude = NA, s_first = 1880,
  s_last = 2015, s_exclude = NA)

Arguments

stationnumber

The station number given as rrrmmmmm

path_dd

Path to folder with daily data

path_sd

Path to folder with subdaily data

active_station

Is 1 if the station is active. Then also the most recent data ar used.

d_first

First year to be used for daily data

d_last

Last year to be used for daily data

d_exclude

Years to be excluded for daily data

s_first

First year to use for subdaily data

s_last

Last year to use for subdaily data

s_exclude

Years to exclude for subdaily data

Value

dataframe with station numbers, date an values for for daily and subdaily annual maxima If they are from teh same event, they are written on the same line if they are from different events, they are written on different lines

Examples

1
2
3
get_amsdata(stationnumber=200011, path_dd='inst/Excample_data/Dailydata',
path_sd='inst/Excample_data/Subdaily',active_station=0,
d_first=1880,d_last=2015,d_exclude=NA,s_first=1880,s_last=2015,s_exclude=NA)

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