getGaugingStations {hyd1d} | R Documentation |
A function to extract the slot gauging_stations
from an
object of class WaterLevelDataFrame.
getGaugingStations(x)
## S4 method for signature 'WaterLevelDataFrame'
getGaugingStations(x)
x |
an object of class WaterLevelDataFrame. |
The function above extracts the slot gauging_stations
and
returns an object of class data.frame
, which might
contain gauging station data that have been used for the interpolation of a
water level for the specified date.
wldf <- WaterLevelDataFrame(river = "Elbe",
time = as.POSIXct("2016-12-21"),
station = seq(257, 262, 0.1))
wldf <- waterLevel(wldf)
getGaugingStations(wldf)