project_raster: Project a raster

Description Usage Arguments Value See Also

Description

This function may be very SLOW and memory intensive!

Usage

1
project_raster(grid_from, fname_grid_to, res_to, crs_to, parallel_N = 1, ...)

Arguments

grid_from

A RasterLayer object. The raster to be projected

fname_grid_to

A character string. The path with file name (with or without file extension) of the resulting projected raster.

res_to

The raster cell resolution of the target.

crs_to

The CRS of the target.

parallel_N

An integer value. If larger than 1, then the re-projection will use a snow cluster, see raster::beginCluster for details

...

Additional arguments for writing raster files to disk as in raster::writeRaster.

chunksize

An integer value or missing. Maximum number of cells to read/write in a single chunk while processing (chunk by chunk) disk based Raster* objects (see raster::rasterOptions for details)

maxmemory

An integer value or missing. Maximum number of cells to read into memory. I.e., if a Raster* object has more than this number of cells, raster::canProcessInMemory will return FALSE (see raster::rasterOptions for details)

Value

A RasterLayer object stored on disk as fname_grid_to

See Also

This function calls raster::projectRaster


dschlaep/ecotoner documentation built on May 15, 2019, 2:57 p.m.