R: Raster package internal write raster file function

.raster_write_rast {sits} | R Documentation

## Raster package internal write raster file function

### Description

Raster package internal write raster file function

### Usage

    .raster_write_rast(
      r_obj,
      file,
      format,
      data_type,
      gdal_options,
      overwrite,
      ...
    )

### Arguments

`r_obj` | raster package object to be written
`file` | file path to save raster file
`format` | GDAL file format string (e.g. GTiff)
`data_type` | sits internal raster data type. One of "INT1U", "INT2U", "INT2S", "INT4U", "INT4S", "FLT4S", "FLT8S".
`gdal_options` | GDAL creation option string (e.g. COMPRESS=LZW)
`overwrite` | logical indicating if file can be overwritten
`...` | additional parameters to be passed to raster package

### Value

numeric matrix

### Author(s)

Rolf Simoes, rolf.simoes@inpe.br

[Package sits version 0.16.1 Index]