Calculate First Inundating Flow

raster_first_inundating_flow(rasters)

Arguments

rasters

A named list or SpatRasterDataset of depth and velocity raster stacks (in terra format) containing model results for each flow, as output by raster_prep_grid(). Only depth is strictly necessary as velocity is not used in this function. Layer names should be the flow in cfs.

Value

A terra SpatRaster in which each grid cell is identified by the first modeled flow where depth exceeded 0 ft.