Last data update: 2014.03.03

R: Forecast Variables available in each model.
Forecast variablesR Documentation

Forecast Variables available in each model.

Description

Variables available in each model. The grepVar function is a wrapper around grep to search for variables.

Usage

grepVar(x, service, day = Sys.Date() - 15, complete = FALSE)

Arguments

x

character string to be matched in the description column of the corresponding vars* file.

service

Character, to choose from 'meteogalicia', 'gfs', 'nam', and 'rap'

day

Date. Services change the variables availability over time.

complete

Logical, if FALSE (default) only the name column is returned. If TRUE the three columns are provided.

Value

Each data.frame contains three columns, name, label, and description, with the information about the variables available in each service. Use the elements of the name column to choose a variable with the argument var of getRaster and getPoint.

Source

MeteoGalicia: http://www.meteogalicia.es/web/modelos/threddsIndex.action

GFS: http://nomads.ncdc.noaa.gov/thredds/catalog/gfs-004/catalog.html

NAM: http://nomads.ncdc.noaa.gov/thredds/catalog/nam218/catalog.html

RAP: http://nomads.ncdc.noaa.gov/thredds/catalog/rap130/catalog.html

Examples


## Not run: 
## Variables available recently
grepVar('cloud', service = 'gfs', complete = TRUE)

## Variables available some time ago
grepVar('cloud', service = 'gfs',
        day = Sys.Date() - 500,
        complete = TRUE)

## End(Not run)

Results