waterLevelFlood2: Compute 1d water level data through linear interpolation with...

View source: R/waterLevelFlood2.R

waterLevelFlood2R Documentation

Compute 1d water level data through linear interpolation with neighboring gauging stations according to the INFORM 3-method Flood2 (Flut2)

Description

This function computes a 1d water level according to the INFORM flood duration method Flood2 (Flut2) and stores it as column w of an S4 object of type WaterLevelDataFrame. Flood2 is designed to enable water level computation between gauging stations along waterways without reference water levels, provided for example by FLYS3. The function uses neighboring gauging stations for linear interpolation of gauging station water levels along the selected river stretch. Here it is provided mainly for historical reasons and more advanced functions like waterLevel or waterLevelPegelonline should be used.

Usage

waterLevelFlood2(wldf)

Arguments

wldf

an object of class WaterLevelDataFrame.

Details

This function computes a water level through simple linear interpolation of water levels at neighboring gauging stations. Historically it has been designed for rivers without 1d reference water levels provided by FLYS3 for df.flys.

Value

An object of class WaterLevelDataFrame.

References

\insertRef

rosenzweig_inform_2011hyd1d

Examples

wldf <- WaterLevelDataFrame(river   = "Elbe",
                            time    = as.POSIXct("2016-12-21"),
                            station = seq(257, 262, 0.1))
wldf1 <- waterLevelFlood2(wldf)
wldf1


hyd1d documentation built on April 3, 2025, 11:55 p.m.