get_gfs: Get GFS files

Description Usage Arguments Value Note Examples

View source: R/get_gfs.R

Description

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.

Usage

1
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

1
2
3
4
## Not run: 
#dont run

## End(Not run)

ibarraespinosa/ratmos documentation built on Jan. 24, 2020, 6:11 p.m.