code-gallery icon indicating copy to clipboard operation
code-gallery copied to clipboard

WTSS R example using access_token

Open marujore opened this issue 2 years ago • 1 comments

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")

marujore avatar Aug 30 '21 14:08 marujore