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.
hydro_events(dataframe, q, datetime, window = 1)
A data set object
Water discharge variable (or water stage)
Datetime variable (column in POSIXct format)
Indicate time period to search for a local minimum (in hours)
A data frame with class tbl_df
with a hydrological events
column he
added
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.
data(djan)
output_table <- hydro_events(dataframe = djan, q = discharge, datetime = time, window = 21)