DEM_setup.RdSetup DEM for inundation modeling
DEM_setup( pipes, other_network_layers = NULL, large_DEM, elev_units = "m", conversion_raster, res = 9.81, trace_upstream = F, trace_buffer = 1.5, extent_buffer = 1000, minimum_area = 2, workspace, overwrite = F )
| pipes | A |
|---|---|
| large_DEM |
|
| conversion_raster |
|
| res | Desired spatial resolution of output DEM (meters) |
| trace_upstream | Logical. Trace NAVD88/MHHW conversion factor upstream? |
| trace_buffer | Buffer distance (map units of pipes) around pipes to search for receiving waters |
| minimum_area | km^2. Minimum area of flooding to keep as "downstream flooding" |
| workspace | Path to bathtub folder |
| overwrite | Logical. Overwrite existing data? |
| other_network_layer | Vector of |
DEM clipped to stormwater network, reprojected to projection
of pipes, and values converted from NAVD88 to MHHW
# site_DEM <- bathtub::DEM_setup( # pipes = site_pipes, # large_DEM = NC_DEM, # conversion_raster = NAVD88_MHHW_conv, # res = 5, # workspace = site_workspace # )