Learn R Programming

sits (version 0.10.0)

sits_get_data: Obtain time series from different sources

Description

Retrieve a set of time series and puts it in a "sits tibble". Sits tibbles are the main structures of sits package. They contain both the satellite image time series and their metadata. A sits tibble is a tibble with pre-defined columns that has the metadata and data for each time series. The columns are <longitude, latitude, start_date, end_date, label, cube, time_series>. There are many ways of retrieving time series:

The URL and other parameters for accessing the time series services are defined in the package configuration file. This file is "config.yml". Please see the sits_config for more information.

Before using this service, the user should create a valid description of a data cube using the sits_cube function.

Usage

sits_get_data(cube, file = NULL, ...)

Arguments

cube

Data cube from where data is to be retrieved.

file

File with information on the data to be retrieved.

...

Other parameters to be passed for specific types.

Value

A tibble with the metadata and data for each time series <longitude, latitude, start_date, end_date, label, cube, time_series>.

References

Lubia Vinhas, Gilberto Queiroz, Karine Ferreira, Gilberto Camara, Web Services for Big Earth Observation Data. In: XVII Brazilian Symposium on Geoinformatics, 2016, Campos do Jordao. Proceedings of GeoInfo 2016. Sao Jose dos Campos: INPE/SBC, 2016. p.166-177.