tile_anc.lst: Create stacked spatial tiles for a set of ancillary datasets

View source: R/AgroSoil_generic_functions.R

tile_anc.lstR Documentation

Create stacked spatial tiles for a set of ancillary datasets

Description

For purposes of parallel processing, this function creates a set of stacked-spatial tiles a unlimited number of covariates, which could be loaded individually for further processing

Usage

tile_anc.lst(
  i,
  tile.tbl,
  in.covs,
  out.path,
  mask.w,
  mask.l,
  ROI_name,
  Landform,
  crss
)

Arguments

i

Vector of spatial tile IDs

tile.tbl

Output of "getSpatialTiles" function from GSIFR package.

in.covs

List of covariates to split and stack as list of smaller spatial tiles

out.path

Path to folder containing output tile directories

mask.w

Surface water mask Raster layer

mask.l

Land cover mask Raster layer

ROI_name

Name of region of interest

Landform

Landform Raster layer

crss

CRS string

Examples

library(rgdal)
library(raster)

out <- tile_anc.lst(i, tile.tbl, in.covs, out.path, mask.w, mask.l, ROI_name, Landform, crss)


kanj241/agrosoil documentation built on March 25, 2022, 12:22 a.m.