# NOT RUN {
# this example requires access to an external service, so should not be run
# by CRAN
# Provide your BDC credentials as enviroment variables
# Sys.setenv(
# "BDC_ACCESS_KEY" = <your_bdc_access_key>
# )
# create a raster cube file based on the information about the files
cbers_tile <- sits_cube(
type = "BDC",
name = "cbers_022024",
bands = c("NDVI", "EVI"),
tiles = "022024",
collection = "CB4_64_16D_STK-1",
start_date = "2018-09-01",
end_date = "2019-08-28"
)
# }
Run the code above in your browser using DataLab