GetDODSModelRuns: Find available model runs on the GrADS - DODS system.

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/GetDODS.R

Description

Given a URL from GetDODSDates, find which model runs are available for download on the GrADS - DODS system.

Usage

1
GetDODSModelRuns(model.url)

Arguments

model.url

A URL for a model on the GrADS - DODS system, probably returned by GetDODSDates.

Details

This function determines which dates are available for download for a particular model through the GrADS - DODS system. Once the user determines which dates are available, the output of this function can be passed to GetDODSModelRuns to determine which model runs can be downloaded.

Value

model.run

A list of model runs available for the requested date.

model.run.info

Information provided by the GrADS - DODS system about each model run.

Note

To get model run information for archived analysis models, pass URLs directly from NOMADSArchiveList directly to GetDODSModelRuns.

Author(s)

Daniel C. Bowman daniel.bowman@unc.edu

See Also

GetDODSDates, DODSGrab, GetDODSModelRunInfo

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#An example for the Global Forecast System 0.5 degree model

#Get the latest model url and date, real time server
abbrev <- "gfs_0p50"
## Not run: 
urls.out <- GetDODSDates(abbrev)
model.url <- tail(urls.out$url, 1)
model.runs <- GetDODSModelRuns(model.url)
print(paste("Latest model run", tail(model.runs$model.run.info, 1)))

## End(Not run)
#Get model dates from the GFS analysis archive
abbrev <- "gfsanl"
model.url <- NOMADSArchiveList("dods", abbrev = abbrev)$url
## Not run: 
model.runs <- GetDODSModelRuns(model.url)
print(model.runs$model.run.info)

## End(Not run)

rNOMADS documentation built on May 29, 2017, 2:55 p.m.

Search within the rNOMADS package
Search all R packages, documentation and source code