Prepare topographical raster files
prepTopographyFile.RdprepGroundSlopeFileproduces a raster of slope (degrees);prepUphillAzimuthMapproduces a raster of slope direction (degrees);
Usage
prepTopographyFile(aoi, type, path = ".", filename = NULL)
prepGroundSlopeFile(aoi = NULL, path = ".", filename = "ground_slope.tif")
prepUphillAzimuthMap(
aoi = NULL,
path = ".",
filename = "uphill_slope_azimuth.tif"
)Arguments
- aoi
sfpolygon,SpatVectororSpatRasterobject defining the area of interest.- type
Character. One of the allowed types for
vin terra::terrain, e.g., "slope" or "aspect".- path
Character. Path specifying a directory to use for the scenario runs.
- filename
Character specifying the output filename.