raster_blockwise_apply.RdApply a function to each cell of a raster, using blockwise I/O
raster_blockwise_apply(filename, filename_out, fun, nodata, band = 1, datatype = "Float32")
| filename | Filename of raster to read |
|---|---|
| filename_out | Filename of output GeoTIFF |
| fun | Function to apply to each cell of input |
| nodata | NODATA value to use for |
| band | The band of |
| datatype | Data type of output raster (allowable type
names are defined by the |