Description Usage Arguments Details Value Author(s) References See Also Examples
Helps to define peaklevel of a lfobj and visualises recession periods.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
lfobj |
A object of class lfobj |
peaklevel |
A level between 0 and 1 or a logical vector, see details. |
plot |
Should a plot be made |
peakreturn |
Should a logical with rainpeaks be returned |
thresplot |
Should the threshold be plotted |
threscol |
Color of threshold in plot |
threshold |
Threshold level (70 refers to Q70) |
thresbreaks |
"fixed" uses a fixed threshold level, "monthly" calculates the threshold for every month separately, "seasonal" calculates thresholds for every season defined using "thresbreakdays". |
thresbreakdays |
Needed if "thresbreaks = 'seasonal'" to define the periodes for which separate thresholds should be calculated, see details |
recessionperiod |
Should recession periods be marked |
recessioncol |
Color of recessionperiod marks |
seglength |
The minimum number of days to be marked as recession period |
... |
Further arguments handed to |
.
For recession analysis it is necessary to define flood discharge peaks in the hydrograph. Peaklevel defines a day to be a discharge peak, if peaklevel * flow > flow[day before] and peaklevel * flow > flow[day after].
This function can be used to check different values of peaklevel.
If peakreturn = TRUE: A logical vector giving rainpeaks as TRUE
Daniel Koffler and Gregor Laaha
Gustard, A. & Demuth, S. (2009) (Eds) Manual on Low-flow Estimation and Prediction. Operational Hydrology Report No. 50, WMO-No. 1029, 136p.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
data(ngaruroro)
#To few points identified as peak flood discharge
recessionplot(ngaruroro, peaklevel = .5, start = 1991, end = 1991)
#To many
recessionplot(ngaruroro, peaklevel = .999, start = 1991, end = 1991)
#Good choice?
recessionplot(ngaruroro, peaklevel = .92, start = 1991, end = 1991)
#Getting peakdays for 1991
peak <- recessionplot(ngaruroro, peaklevel = .92, plot = FALSE)
rain1991 <- subset(ngaruroro, subset = hyear == 1991 && peak, select = c(day, month, year))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.