GetDODSModelRuns {rNOMADS} | R Documentation |
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)
Arguments
model.url |
A URL for a model on the GrADS - DODS system, probably returned by |
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 danny.c.bowman@gmail.com
See Also
GetDODSDates
, DODSGrab
, GetDODSModelRunInfo
Examples
#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)