R/zonal.R
prep_input.Rd
Prep Incoming Data
prep_input(data, subds = 0, lyrs = NULL, win = NULL)
SpatRaster, file path, raster
positive integer or character to select a sub-dataset. If zero or "", all sub-datasets are returned (if possible)
positive integer or character to select a subset of layers (a.k.a. "bands")
SpatExtent to set a window (area of interest)
SpatRaster