Description Usage Arguments Details Value Examples
Takes a list of time series and resample to a new interval.
1 | aggregate_obs(obs, dt, is.rate = TRUE)
|
obs |
List of times series (zoo) objects with a POSIXct index. |
dt |
New time interval, hours. |
is.rate |
If TRUE then these are rates i.e m/hr. Otherwise they are absolute values across the interval and are scaled before return by a factor equal to the ratio of the old interval to the new interval. |
Time series of observation data are often of different temporal resolutions, however the input to most hydrological models, as is the case with the Dynamic TOPMODEL, requires those data at the same interval. This provides a method to resample a collection of such data to a single interval.
The list of observations resampled at the new interval.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.