partitionRaster: Split a Raster* object into strips.

Description Usage Arguments Value

View source: R/spatial.R

Description

Partition a raster into vertical strips. Useful for parallel processing.

Usage

1
partitionRaster(raster, nchunks, chunk, subextent = NA)

Arguments

raster

A *Raster object to be partitioned.

nchunks

Integer representing number of partitions.

chunk

Integer representing which of the paritions to create.

subextent

Optional extent object indicating a subdomain of the raster that should be partitioned.

Value

A cropped strip of the input raster object.


matthewkling/ecoclim documentation built on May 21, 2019, 1:04 p.m.