| WaterLevelDataFrame-class {hyd1d} | R Documentation |
S4 class for 1d water level data
Description
The S4 class WaterLevelDataFrame is inherited from
the S3 class data.frame and stores 1d water level
information together with the official stationing along the German federal
waterways Elbe and Rhine.
Details
In addition to the 1d water level data stored in the
data.frame further slots contain necessary information
used for or computed during the computation of water levels:
Slots
.Datacontains the
data.framewith at least three columns:station,station_intandw. The columnsstationandstation_intrepresent the official stationing along the waterways in two different formats. They are totally exchangeable sincestation <- as.numeric(station_int / 1000)andstation_int <- as.integer(station * 1000). The columnwrepresents the height of the water level relative to standard elevation zero (DHHN92). These first three columns are required, but further columns can be added.riveris a required slot clearly determining the location of a station. Possible values of
riverhave to be typecharacter, have to have a length of one and are either Elbe or Rhine.timeis a slot determining the time for which the water level has been computed.
timehas to be typec("POSIXct", "POSIXt"), has to have a length of one and be in the range between1960-01-01 00:00:00 CETand now (Sys.time()) orNA.gauging_stationspossibly contains a
data.framewith relevant information about gauging stations within the relevantriverstretch and the closer surrounding up- and downstream of the relevantriverstretch. It is usually filled by the functionswaterLevelorwaterLevelPegelonline.gauging_stations_missingpossibly contains a vector of type
characterwith names of gauging stations for which no gauging data existed for the requestedtime. It is automatically filled by the functionswaterLevel,waterLevelPegelonline,waterLevelFlys3andwaterLevelFlys3Seq.commentcontains information on which function has been used to create (
WaterLevelDataFrame) or compute (waterLevel,waterLevelPegelonline,waterLevelFlys3andwaterLevelFlys3Seq) an object of class WaterLevelDataFrame.