CheckNOMADSArchive {rNOMADS} | R Documentation |
Check to see if archived data exists.
Description
This function checks to see if data exists for a given date and model. It checks for both GRIB1 or GRIB2 files.
Usage
CheckNOMADSArchive(abbrev, model.date = NULL)
Arguments
abbrev |
Model abbreviation per |
model.date |
The year, month, and day to check for data, in YYYYMMDD format.
If |
Value
available.models$date |
What date the file is for, in YYYYMMDD format. |
available.models$model.run |
At what hour (GMT) the model was run. |
available.models$pred |
What predictions are available |
available.models$file.name |
List of file names for available model dates, runs, and predictions |
Author(s)
Daniel C. Bowman danny.c.bowman@gmail.com
References
https://www.ncei.noaa.gov/data/
See Also
NOMADSArchiveList
, ArchiveGribGrab
Examples
#See what is available 365 days before today
abbrev <- "gfsanl"
model.date <- paste0(format(Sys.time() - 24 * 60 * 60 * 365, "%Y%m%d"))
## Not run:
gfs.available.models <- CheckNOMADSArchive(abbrev, model.date)
## End(Not run)
[Package rNOMADS version 2.5.3 Index]