get_cube: eocubes functions

Description Usage Arguments Value Methods (by class) Examples

View source: R/wdcs.R

Description

eocubes functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_cube(pr, name, bands = NULL, interval = NULL, bbox = NULL,
  slices = NULL, period = "P1Y", ...)

## S3 method for class 'eocubes'
get_cube(pr, name, bands = NULL, interval = NULL,
  bbox = NULL, slices = NULL, period = "P1Y", ...)

## S3 method for class 'static_eocubes'
get_cube(pr, name, bands = NULL,
  interval = NULL, bbox = NULL, slices = NULL, period = "P1Y", ...)

Arguments

pr

An eocubes or eo_local object.

name

A character value with cube name.

bands

A character vector with band names.

interval

An eo_interval object to filter cube items dates.

bbox

An eo_bbox object to filter cube tiles.

slices

An eo_interval object which defines how the cube time dimension must be sliced.

period

An period character to which the slices interval will slide through timeline. The accepted format, expressed in regular expression, is ^P([1-9\][0-9]*)(D|W|M|Y)$, where D is 'day', W is 'week', M is 'month', and Y is 'year'. Examples: 'P16D', P4W, 'P1M', P2Y.

...

Any additional parameter.

Value

An eo_cube object.

An eo_cube object.

Methods (by class)

Examples

1
2
3
4
5
pr <- eocubes("http://brazildatacube.dpi.inpe.br/api/eocubes/")
cb <- get_cube(pr, name = "C6416d:STACK",
               bbox = eo_bbox(-46.6368,-13.2415,-45.0221,-12.2565),
               slices = eo_interval("2019-01-01", "2019-03-01"),
               period = "P2M")

brazil-data-cube/eocubes.R documentation built on April 24, 2020, 9:34 a.m.