process_raster: Process Raster Layer

process_rasterR Documentation

Process Raster Layer

Description

Internal function used to crop, mask and project rasters

Usage

process_raster(ras, border, epsg, projMeth)

Arguments

ras

SpatRaster object; a raw input raster

border

sf object; a boundary shapefile

epsg

character; string that can be used as input in raster::crs() to describe a projection and datum

projMeth

character; method used for estimating the new cell values. If NULL, the user is interactively asked to select one of the available methods for terra::project function.

Value

a list of length 2; The first element is the processed SpatRaster object and the second element is the selected projection method (for track record)


ptimoner/inAccMod documentation built on Jan. 27, 2025, 9:34 a.m.