prepare_s2_indices: Create valid spectral indices from S2 data averaged over a...

prepare_s2_indicesR Documentation

Create valid spectral indices from S2 data averaged over a given time period.

Usage

prepare_s2_indices(th_list_of_url, variables, spectral_indices)

Arguments

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

Details

param th_list_of_url is the output of shub4r::shr_get_url. It must contain the band "9_SCENE_CLASSIFICATION"

Value

a rasterBrick with the spectral indices (1 band / indice).


ptaconet/eodataflow documentation built on June 14, 2024, 6:43 p.m.