StormEvents: Number of Storm Events in a Hydrograph

Description Usage Arguments Value Examples

View source: R/StormEvents.R

Description

Estimates number of storm events based on quickflow time series.

Usage

1
StormEvents(quickflow,qlimit=0)

Arguments

quickflow

Quickflow time series

qlimit

Minimum quickflow threshold. The StormEvents() function only consider events higher than this threshold while counting events

Value

Retun a dataframe with quickflow and corresponding storm event number.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data("USGS_Streamflow")

#Baseflow estimate
df<-BaseFlowSeperation(streamflow, bf_method='Duncan', k=0.93, c=quantile(streamflow,probs = 0.25, na.rm=T), filter_parameter=0.925, passes=1)

#Storm Events
nev<-StormEvents(df$qft,qlimit = 2)

#Plot
plot(nev$quickflow,type = 'l')
lines(nev$nEvents,col='red')

NCAR/RNWMStat documentation built on March 6, 2021, 3:33 a.m.