set_bandind_matrix: Helper function to determine the bands needed to compute SIs...

View source: R/set_bandind_matrix.R

set_bandind_matrixR Documentation

Helper function to determine the bands needed to compute SIs and QIs

Description

FUNCTION_DESCRIPTION

Usage

set_bandind_matrix(
  bandnames,
  bandsel,
  indexes_bandnames,
  indexes_bandsel,
  indexes_formula,
  quality_bandnames,
  quality_bandsel,
  quality_source
)

Arguments

bandnames

names of all layers available for the product being processed

bandsel

⁠character array⁠ Original MODIS layers to be processed. You can get a list of available layers for a given product using function MODIStsp_get_prodlayers (e.g., MODIStsp_get_prodlayers("M*D13Q1")$bandnames), Default: NULL

indexes_bandnames

names of all indexes available for the product being processed

indexes_bandsel

⁠character array⁠Spectral Indexes to be computed starting from reflectance bands. You can get a list of available quality layers for a given product using function MODIStsp_get_prodlayers (e.g., MODIStsp_get_prodlayers("M*D13Q1")$indexes_bandnames), Default: NULL

indexes_formula

formulas of all indexes available for the product being processed

quality_bandnames

names of all quality indicators available for the product being processed

quality_bandsel

⁠character array⁠ Quality Indicators to be computed starting from bit fields of original MODIS layers. You can get a list of available quality layers for a given product using function MODIStsp_get_prodlayers (e.g., MODIStsp_get_prodlayers("M*D13Q1")$quality_bandnames), Default: NULL

quality_source

sources of data (original layers) of all quality indicators available for the product being processed

Value

matrix containing info on which bands are needed for computing each available QI or SI

Author(s)

Lorenzo Busetto, phD (2017)


MODIStsp documentation built on Oct. 13, 2023, 5:11 p.m.