View source: R/MODIStsp_get_prodlayers.R
MODIStsp_get_prodlayers | R Documentation |
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.
MODIStsp_get_prodlayers(prodname, prodver = "061")
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) |
prodver |
character containing the version of the desired MODIS product.
Currently versions |
list, containing the slots: prodname
, bandnames
, quality_bandnames
and
indexes_bandnames
, band_fullnames
, quality_fullnames
, indexes_fullnames
License: GPL 3.0
Lorenzo Busetto, phD (2014-2020)
Luigi Ranghetti, phD (2021)
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.