The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
The R package hyd1d is designed to compute 1-dimensional water level information along the German Federal Waterways Elbe and Rhine.
hyd1d is available from CRAN. To install it run:
install.packages("hyd1d")
To install the latest development version from Github run:
install.packages("devtools")
library(devtools)
::install_github("bafg-bund/hyd1d") devtools
The package hyd1d is build around the S4-class
WaterLevelDataFrame
. To compute and visualize 1-dimensional
water level information an object of class
WaterLevelDataFrame
has to be initialized. Various
functions included in hyd1d use these objects and
compute water levels stored in the column w
.
# load the package
library(hyd1d)
# initialize a WaterLevelDataFrame
<- WaterLevelDataFrame(river = "Elbe",
wldf time = as.POSIXct("2016-12-21"),
station = seq(257, 262, 0.1))
# compute a water level
<- waterLevel(wldf, TRUE)
wldf
# and plot it
plotShiny(wldf, TRUE, TRUE, TRUE, xlim = c(256.8, 262.2))
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.