MODIStsp_get_prodlayers: Retrieve the names of MODIS layers for a product

Description Usage Arguments Value Note Author(s) Examples

View source: R/MODIStsp_get_prodlayers.R

Description

Function used to retrieve the names of original MODIS layers, quality layers and eventually available spectral indexes given a MODIS product code. It is useful to identify the names of the layers to be processed when launching MODIStsp from the CLI.

Usage

1

Arguments

prodname

character containing the code of the desired MODIS product. NOTE: for products available separately for Terra and Aqua (e.g., MOD13Q1/MYD13Q1), use the code MD_code_ (e.g., MD13Q1)

Value

list, containing the slots: prodname, bandnames, quality_bandnames and indexes_bandnames, band_fullnames, quality_fullnames, indexes_fullnames

Note

License: GPL 3.0

Author(s)

Lorenzo Busetto, phD (2014-2020)

Examples

1
2
3
4
5
6
7
8
# Get layers of product M*13Q1 based on code
MODIStsp_get_prodlayers("M*13Q1")

# Get layers of product M*13Q1 based on full name
MODIStsp_get_prodlayers("Vegetation Indexes_16Days_250m (M*D13Q1)")

# Get indexes names of product M*13Q1 based on full name
MODIStsp_get_prodlayers("MCD43C4")$indexes_bandnames

MODIStsp documentation built on Jan. 13, 2021, 11:18 a.m.