View source: R/FlowSeparation.R
FlowSeparation | R Documentation |
Separate Baseflow and Surface runoff
FlowSeparation(DATA, eventTable, stepsBack = 5, timeUnits = "hours", plotOption = FALSE, event2plot = 1, verbose = FALSE)
DATA |
data.frame containing P, Q (and E) |
eventTable |
table containing summary of Q events |
stepsBack |
timesteps to use to generate the linear model for the volume under the rising limb (default = 5) |
timeUnits |
time step units (default = "hours") |
plotOption |
boolean, if TRUE (default) it prints a plot to show the division of the events |
event2plot |
even number for which the plot should be generated (default = 3). This is only used if plotOption = TRUE |
verbose |
(optional) boolean (FALSE by default). If TRUE prints the progress in terms of event number. |
From Boorman 1995: The recession prior to the event is continued through the event, and this flow is subtracted from the total flow hydrograph. A straight line is then drawn from beneath the peak flow, or centroid of peaks, to the point already identified as marking the end of response runoff. The response runoff is the portion of flow above this separation.
updated table containing summary of Q events with 4 more columns: volumeQ, baseflowVolume, surfaceVolume and surfacePeak
## Not run: data("SevernTS") tableP <- FindPevents(SevernTS$P[1:1000]) tableQ <- FindQevents(SevernTS$Q[1:1000], tableP, hours2extend=6) df <- FlowSeparation(SevernTS, tableQ, stepsBack=5, timeUnits = "hours", plotOption = TRUE, event2plot = 3) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.