R: Parallel processing of classified images

.sits_map_layer_cluster {sits} | R Documentation

## Parallel processing of classified images

### Description

Process chunks of raster bricks individually in parallel.

### Usage

    .sits_map_layer_cluster(
      cube,
      cube_out,
      overlapping_y_size = 0,
      func,
      func_args = NULL,
      multicores = 1,
      memsize = 1,
      gdal_datatype,
      gdal_options,
      ...
    )

### Arguments

`cube` | Probability data cube
`cube_out` | Output probability data cube
`func` | a function that receives RasterBrick and returns any Raster*.
`multicores` | Number of process to run the Bayesian smoothing in snow subprocess.
`memsize` | Maximum overall memory (in GB) to run the Bayesian smoothing.
`...` | optional arguments to merge final raster (see writeRaster function)
`overlapping_rows` | number of overlapping rows of each chunk.
`args` | additional arguments to pass to `fun` function.

### Value

RasterBrick object

[Package sits version 0.12.0 Index]