Overlays rasters of different data resolution by filling in gaps in the highest resolution raster with data available in lowest resolution one. If only high or low resolution data are available, it will use it without attempting to overlay.

overlayStacks(
  highQualityStack,
  lowQualityStack,
  outputFilenameSuffix = "overlay",
  destinationPath
)

Arguments

highQualityStack

high quality list/stack of rasters (will be used preferentially)

lowQualityStack

low quality list/stack of rasters (will be used to fill NAs in highQualityStack)

outputFilenameSuffix

file suffix to save raster if there was overlaying. Defaults to "overlay".

destinationPath

directory for saved rasters