mf_list_variables: Get information for the variables (bands) available for a...

View source: R/mf_list_variables.R

mf_list_variablesR Documentation

Get information for the variables (bands) available for a given collection

Description

Get the variables available for a given collection, along with a set of related information for each.

Usage

mf_list_variables(collection, credentials = NULL)

Arguments

collection

string. mandatory. Collection of interest (see details of mf_get_url).

credentials

vector string of length 2 with username and password. optional if the function mf_login was previously executed.

Value

A data.frame with the variables available for the collection, and a set of related information for each variable. The variables marked as "extractable" in the column "extractable_w_opendapr" can be provided as input parameter variables of the function mf_get_url

Examples


## Not run: 
# login to Earthdata
log <- mf_login(c("earthdata_un","earthdata_pw"))

# Get the variables available for the collection MOD11A1.061
(df_varinfo <- mf_list_variables("MOD11A1.061"))

## End(Not run)


modisfast documentation built on Sept. 11, 2024, 8:15 p.m.