Skip to content

hyd1d

1d Water Level Interpolation along the Rivers Elbe and Rhine

v0.5.4 · Dec 2, 2025 · GPL (>= 2)

Description

An S4 class and several functions which utilize internally stored datasets and gauging data enable 1d water level interpolation. The S4 class (WaterLevelDataFrame) structures the computation and visualisation of 1d water level information along the German federal waterways Elbe and Rhine. 'hyd1d' delivers 1d water level data - extracted from the 'FLYS' database - and validated gauging data - extracted from the hydrological database 'WISKI7' - package-internally. For computations near real time gauging data are queried externally from the 'PEGELONLINE REST API' <https://pegelonline.wsv.de/webservice/dokuRestapi>.

Downloads

764

Last 30 days

4709th

2.3K

Last 90 days

8.3K

Last year

Trend: -7.4% (30d vs prior 30d)

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
ERROR r-devel-macos-arm64

examples

Running examples in ‘hyd1d-Ex.R’ failed
The error most likely occurred in:

> ### Name: getPegelonlineW
> ### Title: Get W from pegelonline.wsv.de for the specified gauging station
> ###   and time
> ### Aliases: getPegelonlineW
> 
> ### ** Examples
> 
> ## Don't show: 
> if (hyd1d:::.pegelonline_status()) withAutoprint({ # examplesIf
+ ## End(Don't show)
+    getPegelonlineW(gauging_station = "DESSAU", time = Sys.time() - 3600)
+    getPegelonlineW(gauging_station = "DESSAU", time = Sys.Date() - 1)
+ ## Don't show: 
+ }) # examplesIf
> getPegelonlineW(gauging_station = "DESSAU", time = Sys.time() - 3600)
Error in xy.coords(x, y, setLab = FALSE) : 
  'x' is a list, but does not have components 'x' and 'y'
Calls: withAutoprint ... getPegelonlineW -> <Anonymous> -> regularize.values -> xy.coords
Execution halted
ERROR r-devel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘hyd1d.Rmd’ using rmarkdown

Quitting from hyd1d.Rmd:359-390 [figure2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `plot.window()`:
! need finite 'ylim' values
---
Backtrace:
    ▆
 1. └─hyd1d::plotShiny(...)
 2.   ├─base::do.call(.plotShiny, dots)
 3.   └─hyd1d (local) `<fn>`(...)
 4.     ├─base::do.call(.plot, dots)
 5.     └─hyd1d (local) `<fn>`(...)
 6.       ├─graphics::plot(...)
 7.       └─graphics::plot.default(...)
 8.         └─graphics (local) localWindow(xlim, ylim, log, asp, ...)
 9.           └─graphics::plot.window(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'hyd1d.Rmd' failed with diagnostics:
need finite 'ylim' values
--- failed re-building ‘hyd1d.Rmd’

--- re-building ‘vignette_DE.Rmd’ using rmarkdown

Quitting from vignette_DE.Rmd:1172-1198 [figure15]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `plot.window()`:
! need finite 'ylim' values
---
Backtrace:
    ▆
 1. └─hyd1d::plotShiny(wldf, TRUE, TRUE, TRUE, xlim = c(xlim_min, xlim_max))
 2.   ├─base::do.call(.plotShiny, dots)
 3.   └─hyd1d (local) `<fn>`(...)
 4.     ├─base::do.call(.plot, dots)
 5.     └─hyd1d (local) `<fn>`(...)
 6.       ├─graphics::plot(...)
 7.       └─graphics::plot.default(...)
 8.         └─graphics (local) localWindow(xlim, ylim, log, asp, ...)
 9.           └─graphics::plot.window(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'vignette_DE.Rmd' failed with diagnostics:
need finite 'ylim' values
--- failed re-building ‘vignette_DE.Rmd’

SUMMARY: processing the following files failed:
  ‘hyd1d.Rmd’ ‘vignette_DE.Rmd’

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-devel-macos-arm64

examples

Running examples in ‘hyd1d-Ex.R’ failed
The error most likely occurred in:

> ### Name: getPegelonlineW
> ### Title: Get W from pegelonline.wsv.de for the specified gauging station
> ###   and time
> ### Aliases: getPegelonlineW
> 
> ### ** Examples

...[truncated]...
ion = "DESSAU", time = Sys.time() - 3600)
Error in xy.coords(x, y, setLab = FALSE) : 
  'x' is a list, but does not have components 'x' and 'y'
Calls: withAutoprint ... getPegelonlineW -> <Anonymous> -> regularize.values -> xy.coords
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

depends

Dependency Network

Dependencies Reverse dependencies Rdpack httr2 curl hydflood hyd1d

Version History

new 0.5.4 Mar 10, 2026
updated 0.5.4 ← 0.5.3 diff Dec 2, 2025
updated 0.5.3 ← 0.5.2 diff Feb 25, 2025
updated 0.5.2 ← 0.5.1 diff Jul 5, 2024
updated 0.5.1 ← 0.5.0 diff Nov 19, 2023
updated 0.5.0 ← 0.4.6 diff Oct 29, 2023
updated 0.4.6 ← 0.4.5 diff Aug 20, 2023
updated 0.4.5 ← 0.4.4 diff Jul 18, 2023
updated 0.4.4 ← 0.4.3 diff Mar 5, 2023
updated 0.4.3 ← 0.4.2 diff Feb 26, 2023
updated 0.4.2 ← 0.4.1 diff Feb 21, 2023
new 0.4.1 Jan 8, 2023