Get lake surface elevation from DEM
get_lake_surface_elevation.Rd
Get lake surface elevation from DEM
Examples
shoreline <- readRDS(system.file("extdata/rotoma_shoreline.rds",
package = "bathytools"))
dem_raster <- terra::rast(system.file("extdata/dem_32m.tif",
package = "bathytools"))
lake_elev <- get_lake_surface_elevation(dem_raster = dem_raster,
shoreline = shoreline)
#> Lake surface elevation from DEM: 313.3 m