Learn R Programming

sits (version 0.10.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(
  type,
  URL = NA,
  satellite,
  sensor,
  name,
  cube = NA,
  tile = NA,
  bands,
  labels = NA,
  scale_factors,
  missing_values,
  minimum_values,
  maximum_values,
  timelines,
  nrows,
  ncols,
  xmin,
  xmax,
  ymin,
  ymax,
  xres,
  yres,
  crs,
  file_info = NULL
)

Arguments

type

Type of cube

URL

URL of the provider (optional)

satellite

Name of satellite

sensor

Name of sensor

name

Name of the data cube (mandatory)

cube

Name of the input data cube (optional)

tile

Name of the input data tile (optional)

bands

Vector with the names of the bands.

labels

Vector with labels (only for classified data).

scale_factors

Vector with scale factor for each band.

missing_values

Vector with missing values for each band.

minimum_values

Vector with minimum values for each band.

maximum_values

Vector with maximum values for each band.

timelines

List with vectors of valid timelines for each band.

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