Skip to contents

Determine the total floodplain area as the number of cells where the digital elevation model (DEM, (Weber 2020) ) is submerged at the FLYS3 water level HQ100 computed with hyd1d::waterLevelFlys3() for the indexed hectometer of the River Elbe floodplain sf.afe_csa.

Usage

getAreaTotal(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 the area (m²) of the indexed hectometer.

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

   getAreaTotal(3900)
#> [1] 87510
   getAreaTotal(3963)
#> 
|---------|---------|---------|---------|
===========================
                                          

#> [1] 99167