Learn R Programming

rNOMADS (version 2.5.3)

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

Description

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

Usage

GetDODSModelRuns(model.url)

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.

Arguments

model.url

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

Author

Daniel C. Bowman danny.c.bowman@gmail.com

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.

See Also

GetDODSDates, DODSGrab, GetDODSModelRunInfo

Examples

Run this code

#An example for the Global Forecast System 0.5 degree model

#Get the latest model url and date, real time server
abbrev <- "gfs_0p50"
if (FALSE) {
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)))
}

Run the code above in your browser using DataLab