cov_disagg: Push inputlist to a fine resolution.

View source: R/cov_disagg.R

cov_disaggR Documentation

Push inputlist to a fine resolution.

Description

Uses ~~raster::disagregate~~ terra::disagg to iteratively load a set of rasters and disaggregate them to a target resolution. Note that input raster resolution need to be divisible by the target resolution.

Usage

cov_disagg(inputFileList, output = "e:/tmp/2.5", targetRes = 2.5)

Arguments

inputFileList

a character vector specifiying the location of all the input rasters. Input list should only be a raster type (e.g. .tif). Best practice is to use list.files(full.names = TRUE).

output

destination of the output files.

targetRes

desired resolution to convert to.

Examples

l <- list.files("e:/covariates/10")
cv_FineRes(l, output = "e:/covariates/2.5")

ColinChisholm/pemgeneratr documentation built on March 14, 2023, 10:47 p.m.