hysep | R Documentation |
Extract baseflow from a daily streamflow record using the method described by Sloto and Crouse (1996).
hysep(Flow, Dates, Start = NULL, End = NULL, da, select = "sliding", STAID = "Unknown")
Flow |
the daily streamflow to be separated missing values are not permitted
within the time specified by |
Dates |
the date for each |
Start |
the start date for the analysis, can be either a character string or class "Date." |
End |
the end date for the analysis, can be either a character string or class "Date." |
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. |
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.
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.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.