Description Usage Arguments Details Value Author(s) Examples
This filter removes sensor-caused plateaus (steps) in hydrographs, which may have originated from low-resolution sensors. Opposed to other filters, peak values are preserved.
1 | remove_plateaus(runoff, method="start")
|
runoff |
vector of hydrograph |
method |
see details |
remove_plateaus(..., method="start")
eliminates plateaus by interpolating linearly between the start of a plateau and the first following non-plateau-value. remove_plateaus(..., method="center")
tries to include the points before, in the middle and after plateaus in the interpolation.
Vector of cleansed hydrograph without plateaus.
Dominik Reusser, Till Francke
1 2 3 4 5 6 7 | runoff <- c(rep(1,3), 2, 3, rep(4,4), 5, rep(3,4), rep(NA,2), 4, rep(2,5), rep(1,6))
runoff_cleaned_start <- remove_plateaus(runoff)
runoff_cleaned_center <- remove_plateaus(runoff, method="center")
plot(runoff, type="l")
lines(runoff_cleaned_start, col="red")
lines(runoff_cleaned_center, col="green", lty="dashed")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.