prepare_s2_indices | R Documentation |
prepare_s2_indices(th_list_of_url, variables, spectral_indices)
th_list_of_url |
data.frame, output of shub4r::shr_get_url() |
variables |
character vector. vector of bands (e.g. c("BO4","B08")) |
spectral_indices |
character vector. vector of spectral indices to compute (e.g. c("ndvi","mndvi")) |
verbose |
verbose |
param th_list_of_url is the output of shub4r::shr_get_url. It must contain the band "9_SCENE_CLASSIFICATION"
a rasterBrick with the spectral indices (1 band / indice).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.