brazil-data-cube / code-gallery

A gallery of interesting Jupyter Notebooks based on Brazil Data Cube data and technologies
GNU General Public License v3.0
45 stars 18 forks source link

WTSS R example using access_token #37

Open marujore opened 3 years ago

marujore commented 3 years ago

Would be useful if the WTSS (R) jupyters pointed to BDC WTSS URL: wtss_inpe <- "https://brazildatacube.dpi.inpe.br/wtss"

Since for using BDC collections the access_token is required (not showed on example).

Rwtss::describe_coverage(wtss_inpe, name = "MOD13Q1-6")

ts <- Rwtss::time_series(wtss_inpe,
                         attributes = c("red_reflectance", "NIR_reflectance"), 
                         latitude   = -12.0, 
                         longitude  = -54.0, 
                         name       = "MOD13Q1-6",
                         start_date = "2016-01-01",
                         end_date   = "2016-12-31",
                         token      = "my_personal_access_token")
OldLipe commented 3 years ago

Hello @marujore.

OK. I'll update them. Thanks!