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, verbose = "inform")

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.

verbose

string. Verbose mode ("quiet", "inform", or "debug"). Default "inform".

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_with_modisfast" 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)


ptaconet/opendapr documentation built on Nov. 20, 2024, 10:04 p.m.