View source: R/add_observations.R
add_observations | R Documentation |
Adds observation timeseries to a HS object. This is needed in order to evaluate performance of discharge estimates, or to perform data assimilation combining several estimates.
add_observations(HS, timeseries, unit, riverIDs, station_names = NULL)
HS |
An |
timeseries |
a data.frame with observations. Must contain column
|
unit |
The unit of values in |
riverIDs |
A vector of riverID of the river segments in the column-order in timeseries. |
station_names |
a vector of names for the stations in |
Returns the HS
object with added list column
observation_ts
containing a timeseries, and column
observation_station
containing the name of observation stations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.