CheckNOMADSArchive: 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

1
CheckNOMADSArchive(abbrev, model.date = NULL)

Arguments

abbrev

Model abbreviation per NOMADSArchiveList.

model.date

The year, month, and day to check for data, in YYYYMMDD format. If NULL, check all available dates in NOMADS archive.

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 daniel.bowman@unc.edu

References

http://nomads.ncdc.noaa.gov/

See Also

NOMADSArchiveList, ArchiveGribGrab

Examples

1
2
3
4
5
6
7
8
#See what is available for January 1 of this year

abbrev <- "gfs4"
model.date <- paste0(format(Sys.time(), "%Y"), "0101")
## Not run: 
gfs.available.models <- CheckNOMADSArchive(abbrev, model.date)

## End(Not run)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.