Skip to contents

Get the proportion of cells where the digital elevation model (DEM, weber_2020_demelbe1d) is submerged between the FLYS3 water levels MNQ and MHQ computed by hyd1d::waterLevelFlys3() for the indexed hectometer polygon of sf.afe_csa.

Usage

getPbetweenMNQMHQ(x)

Arguments

x

must be a single integer indexing one hectometer polygon of sf.afe_csa along the River Elbe. x must be element of seq(from = 1, to = length(sf.afe_csa), by = 1).

Value

numeric specifying a proportion [0, 1].

References

weber_2020_demelbe1d

Examples

  getPbetweenMNQMHQ(3900)
#> [1] 0.7924466
  getPbetweenMNQMHQ(3963)
#> [1] 0.748505