cube_functions: Cube functions

Description Usage Arguments Details Value Functions See Also Examples

Description

These functions provides the basic operations over a cube (EOCubes_cube) object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19

Arguments

name

A character text with cube name.

remote

An EOCubes_remote object.

cube

An EOCubes_cube object.

tiles

A logical or integer vector indicating which tile to be selected. If NULL (default) all tiles are selected.

from

A Date value to filter layers' dates.

to

A Date value to filter layers' dates.

Details

The function cube_extent access the metadata field 'extent' of an EOCubes_cube object that contains xmin, ymin, xmax, and ymax values.

The function cube_raster_info access the metadata field 'raster' of an EOCubes_cube object that contains size (pixels) and resolution (CRS units per pixel) values.

The function cube_dates_info access the metadata field 'interval' of an EOCubes_cube object that contains from and to dates interval that encompass cube layers values.

The parameter tiles of the function cube_tiles can be used with tiles_which function.

Value

An EOCubes_cube object.

A character string.

A character string.

A character vector.

An EOCubes_bandlist object.

A character string.

A list object.

A list object.

A list object.

An EOCubes_cube object with tiles that satisfies the which criteria.

Functions

See Also

remote

Examples

1
2
3
4
5
6
7
8
x <- remote("localhost")
cub1 <- cube("MOD13Q1/006", x)
cube_name(cub1)   # show the entry name 'MOD13Q1/006'
cube_remote(cub1)   # show the remote entry name 'localhost'
cube_bands_info(cub1)   # show bands and its meta data
cube_crs(cub1)   # show CRS string
cube_bbox(cub1)   # show bbox values
cube_raster_info(cub1)   # show raster size and pixel resolution

e-sensing/EOCubes documentation built on Oct. 21, 2019, 2:30 a.m.