Learn R Programming

sits (version 1.1.0)

.gc_regularize: Build a regular data cube from an irregular one

Description

Creates cubes with regular time intervals using the gdalcubes package.

Usage

.gc_regularize(
  cube,
  period,
  res,
  roi,
  output_dir,
  multicores = 1,
  progress = TRUE
)

Value

Data cube with aggregated images.

Arguments

cube

Data cube whose spacing of observation times is not constant and will be regularized by the gdalcubes package.

period

ISO8601 time period for regular data cubes with number and unit, e.g., "P16D" for 16 days. Use "D", "M" and "Y" for days, month and year.

res

Spatial resolution of the regularized images.

roi

A named numeric vector with a region of interest.

output_dir

Valid directory where the regularized images will be written.

multicores

Number of cores used for regularization.

progress

Show progress bar?

References

Appel, Marius; Pebesma, Edzer. On-demand processing of data cubes from satellite image collections with the gdalcubes library. Data, v. 4, n. 3, p. 92, 2019. DOI: 10.3390/data4030092.