Skip to contents

Crop SpatRaster to large ROI (entire core) For capture (core) SpatRaster use full extent For reference (white and dark) SpatRaster use only x-direction.

Usage

raster_crop(raster, type, dir = NULL, roi)

Arguments

raster

terra SpatRaster to be cropped.

type

either data raster or reference raster.

dir

directory.

roi

Region Of Interest: cropping extent.

Value

terra SpatRaster cropped to ROI.

See also