Description Usage Arguments Details Value Author(s) See Also
Allows functions to be applied to raster objects, with multicore support,
controlling the chunksize with minrows. In parallel mode, intermediate blocks will always be written to disk.
Mosaicing depends on gdalUtils::mosaic_rasters
1 2 |
x |
Raster* object |
minrows |
Integer |
fun |
Function to be applied to the raster object. |
mc.cores |
Integer Numvber of cores, see |
logfile |
Character Logfile for debugging parallel execution. |
out_name |
Character fielname for output brick. |
datatype |
Character |
... |
Arguments to be passed to |
For further help, see calc
. Warnings of the parallel package (see mclapply
for instance) apply to this function.
a Raster* object, (always written to disk in multicore case!)
Loic Dutrieux, adaption by Johannes Eberenz
Johannes Eberenz, adapted from Loic Dutrieux
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.