gfs Creates raster from GFS file. The goal is to read and or download file from ftp://nomads.ncdc.noaa.gov/GFS/analysis_only/ from 200403 to present. Inside each directory the files are other firectories for each day, for instance, 20180901.

get_gfs(time, dest = tempdir(), id1 = 3, id2 = 0, verbose = TRUE)

Arguments

time

Numeric or POSIXct; numer for Year, Month and Day. For instance, 2004120100 or "2004-12-01 00:00". The only hours available are 00:00, 06:00, 12:00 and 18:00,

dest

directory for storing your GFS grib data.

id1

Integer; 0, 3 or 6

id2

Integer; 3 or 4

verbose

Logical; To show operations.

Value

raster

Note

trying to get all http://nomads.ncep.noaa.gov/

Examples

# NOT RUN {
#dont run
# }