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

Description Usage Arguments Value Author(s)

View source: R/set_bandind_matrix.R

Description

FUNCTION_DESCRIPTION

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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 arraySpectral 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 Jan. 13, 2021, 11:18 a.m.