Learn R Programming

MODIS (version 1.1.2)

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, regular expression passed to pattern in grep, or missing.

quiet

logical, defaults to FALSE.

Value

An invisible list with information usable by other functions or, if 'x' is missing, a data.frame with information about all products available.

Examples

Run this code
# NOT RUN {
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