bf_hysep: Baseflow Separation

Description Usage Arguments Value References Examples

View source: R/hysep.R

Description

Extract baseflow from a daily streamflow record using the method described by Sloto and Crouse (1996).

Usage

1
bf_hysep(date, discharge, da, select = "sliding", STAID = "Unknown")

Arguments

date

vector of dates for each x, should be of class "Date." Missing values are not permitted.

discharge

the daily streamflow to be separated missing values are not permitted within the time specified by Start and end.

da

the drainage area of the basin in square miles.

select

a character string indicating which method to use for the baseflow in the output dataset. Must be one of "sliding," "local minimum," or "fixed." Onle the first letter is required.

STAID

the station identifier for the data.

Value

an object of class "baseflow" and inherits class "data.frame" of the selected data, a data frame of the baseflow information, and other information about the analysis.

References

Sloto, R.A. and Crouse, M.Y., 1996, HYSEP: A COMPUTER PROGRAM FOR STREAMFLOW HYDROGRAPH SEPARATION AND ANALYSIS: U.S. geological Survey Water-Resources Investigations Report 96-4040. 46 p.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
library(smwrData)
data(ChoptankFlow)
# Process by calendar year as that is the retrieval range
ChopPart <- with(ChoptankFlow, hysep(Flow, datetime, da=113,
STAID="01491000"))
ChopPart

## End(Not run)

smwesten-usgs/recharge documentation built on March 8, 2021, 11:51 a.m.