Description Usage Arguments Value Author(s) Examples
View source: R/wtss_time_series.R
Retrieves the time series for a pair of coordinates
1 2 3 4 5 6 7 8 9 | time_series(
wtss.obj,
name,
attributes = NULL,
longitude,
latitude,
start_date = NULL,
end_date = NULL
)
|
wtss.obj |
Either a WTSS object or a server URL |
name |
Coverage name. |
attributes |
Vector of band names. |
longitude |
Longitude in WGS84 coordinate system. |
latitude |
Latitude in WGS84 coordinate system. |
start_date |
Start date in the format yyyy-mm-dd or yyyy-mm depending on the coverage. |
end_date |
End date in the format yyyy-mm-dd or yyyy-mm depending on the coverage. |
time series in a tibble format
Gilberto Camara
1 2 3 4 5 6 7 8 | {
# connect to a WTSS server
wtss <- wtss::WTSS("http://www.esensing.dpi.inpe.br/wtss/")
# retrieve a time series
ts <- wtss::time_series(wtss, "MOD13Q1", c("ndvi","evi"),
longitude = -45.00, latitude = -12.00,
start_date = "2000-02-18", end_date = "2016-12-18")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.