MODIS (version 1.0.0)

getProduct: Check and Create Product-Related Information

Description

On user side, it is a funtion to find the desidered product. On package site, it generates central internal information to hande files.

Usage

getProduct(x = NULL, quiet = FALSE)

Arguments

x

character. MODIS filename, product name or regular expression (for the latter, see argument pattern in grep for details). If not specified, all available products are returned.

quiet

logical, defaults to FALSE.

Value

An invisible list with usable information for other functions, see examples.

Examples

Run this code
getProduct() # list available products

# or use regular expression style
getProduct("M.D11C3")
getProduct("M*D11C")

# or get information about specific product
internal_info <- getProduct("MOD11C3", quiet = TRUE) 
internal_info

Run the code above in your browser using DataLab