Prep depth and velocity raster stacks

raster_prep_grid(filenames)

Arguments

filenames

A data frame or tibble containing the file path to each depth and velocity raster at each flow. There should be a numeric column called flow_cfs, and two character columns called depth and velocity each containing valid file paths to rasters (e.g. .tif or .vrt format).

Value

A named list of two terra SpatRaster raster stacks (depth and velocity), each containing depth or velocity grids at each modeled flow.