View source: R/NARRdownloadNetCDF.R
| NARRdownloadNetCDF | R Documentation | 
Downloads NARR surface level NetCDF files for a specified variable for a specified time step and range of years.
NARRdownloadNetCDF( interval = "daily", startYear = 1979, endYear = 1979, destination = ".", variable = "acpcp", quiet = FALSE )
| interval | Optional. Time interval of NARR data. Can be '3h' or 'daily', which is the default. | 
| startYear | Optional. The first year to download. Default is 1979. | 
| endYear | Optional. The last year to download. Default is 1979. | 
| destination | Optional. The destination directory for the downloaded files. The default is the current directory. | 
| variable | Optional. The variable to be downloaded. Acceptable values are 
given at https://www.esrl.noaa.gov/psd/data/gridded/data.narr.monolevel.html. Some of the more
popular variables are acpcp, (accumulated precipitation), air.2m (air temperature at 2m), 
 | 
| quiet | Optional. Suppresses display of messages, except for errors. Because this function can be very slow to execute, the default value is  | 
Writes the specified files to the destination directory. If successful, returns TRUE. If unsuccessful, returns FALSE.
Kevin Shook and Bastien Ferland-Raymond
## Not run: 
NARRdownloadNetCDF('3h', 1979, 2015)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.