hydro_events: Splitting to hydrological events

Description Usage Arguments Value References Examples

View source: R/hydro_events.R

Description

This function demarcates hydrological events. Start and endpoint of each event are identified by Local Minimum method (Sloto and Crouse, 1996) within the specified time window.

Usage

1
hydro_events(dataframe, q, datetime, window = 1)

Arguments

dataframe

A data set object

q

Water discharge variable (or water stage)

datetime

Datetime variable (column in POSIXct format)

window

Indicate time period to search for a local minimum (in hours)

Value

A data frame with class tbl_df with a hydrological events column he added

References

Sloto, R.A., Crouse, M.Y., 1996. Hysep: a computer program for streamflow hydrograph separation and analysis, U.S. Geological Survey Water-Resources Investigations Report 96-4040.

Examples

1
2
data(djan)
output_table <- hydro_events(dataframe = djan, q = discharge, datetime = time, window = 21)

loadflux documentation built on Nov. 5, 2021, 5:07 p.m.