Download NOAA SLR DEM

get_NOAA_elevation(
  x,
  x_EPSG = 102719,
  DEM_EPSG = x_EPSG,
  res = 9.81,
  min_elev_cutoff = -5,
  workspace
)

Arguments

x

A sf object denoting stormwater pipes used to calculate extent

x_EPSG

EPSG code of x

DEM_EPSG

EPSG code of returned DEM. Default is same as x_EPSG

res

Desired resolution of DEM in map units of x

min_elev_cutoff

Minimum elevation to keep (meters). NOAA SLR DEM uses -99 to denote permanent water surfaces

workspace

Path to bathtub folder

Value

NOAA SLR DEM clipped to stormwater network extent, reprojected to projection of x

Examples

# noaa_elev <- get_NOAA_elevation(x = pipes, workspace = workspace)