getRGISToolsOpt: Get the default value of an RGISTools option

Description Usage Arguments Value Examples

View source: R/RGISToolsOpts.R

Description

getRGISToolsOpt gets the current value of an 'RGISTools' configuration variable. This function can be jointly used with setRGISToolsOpt and showRGISToolsOpt.

Usage

1
getRGISToolsOpt(opt, env = optEnv)

Arguments

opt

a character with the name of the option.

env

the environment where the 'RGISTools' option are saved.

Value

an option of 'RGISTools’ configuration variable.

Examples

1
2
3
4
5
6
7
8
# list avaliable options names
showRGISToolsOpt()
# list the Sentinel-2 bands
getRGISToolsOpt("SEN2BANDS")
# list the Landsat-8 bands
getRGISToolsOpt("LS8BANDS")
# list the MODIS09 bands
getRGISToolsOpt("MOD09BANDS")

RGISTools documentation built on July 2, 2020, 3:58 a.m.