options: Options and Internal Variables

optionsR Documentation

Options and Internal Variables

Description

Functions to get or set options, and to access internal parameters of the package.

Usage


getMFOption(name = NULL)
setMFOption(name, value)
mfService(service = NULL)
mfExtent(service, resolution = 12)
mfProj4(service, resolution = 12)

Arguments

name

Character, name of the option to get or set.

value

Character, value of the option to be changed.

service

Character, name of the service ('meteogalicia', 'gfs', 'nam', 'rap').

resolution

Numeric, value of the resolution (in kilometers). Only useful if service = 'meteogalicia'

Details

Use getMFOption to list the options of the package. Only one option, service, is available with this version. With setMFOption the option defined with name can be modified.

mfService, a wrapper around getMFOption and setMFOption, displays the default service if used without arguments. It modifies the default service to the value of its argument.

mfExtent and mfProj4 provides the extent and the proj4 string of the corresponding service.

Author(s)

Oscar Perpiñán Lamigueiro

Examples

mfService()

mfExtent('meteogalicia', 36)

mfExtent('nam')

mfProj4('rap')

oscarperpinan/meteoForecast documentation built on Oct. 24, 2023, 10:03 a.m.