Skip to contents

Get the mean depth between the FLYS water level at MQ computed by hyd1d::waterLevelFlys3() and the digital elevation model (DEM, (Weber 2020) ) of the indexed hectometer polygon of sf.afe_csa.

Usage

getDepthMean(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 with the mean depth (m).

References

Weber A (2020). “Digital elevation model (DEM 1) of the River Elbe floodplain between Schmilka and Geesthacht, Germany.” doi:10.1594/PANGAEA.919293 .

Examples

   getDepthMean(3900)
#> [1] 2.416335
   getDepthMean(3963)
#> 
|---------|---------|---------|---------|
===========================
                                          

#> [1] 2.784603