Learn R Programming

sits (version 0.13.0)

.sits_cube_create: Creates the description of a data cube

Description

Print information and save metadata about a data cube.

Usage

.sits_cube_create(
  name,
  source,
  collection = NA,
  satellite,
  sensor,
  tile = NA,
  bands,
  labels = NA,
  nrows,
  ncols,
  xmin,
  xmax,
  ymin,
  ymax,
  xres,
  yres,
  crs,
  file_info = NULL
)

Arguments

name

Name of the data cube (mandatory)

source

Source of data

collection

Image collection

satellite

Name of satellite

sensor

Name of sensor

tile

Tile of the image collection

bands

Vector with the names of the bands.

labels

Vector with labels (only for classified data).

nrows

Number of rows in the cube.

ncols

Number of columns in the cube.

xmin

Spatial extent (xmin).

xmax

Spatial extent (xmax).

ymin

Spatial extent (ymin).

ymax

Spatial extent (ymin).

xres

Spatial resolution (x dimension).

yres

Spatial resolution (y dimension).

crs

CRS for cube (EPSG code or PROJ4 string).

file_info

Tibble with information about stacks (for stacks)

Value

A tibble containing a data cube