Learn R Programming

spatialEco (version 0.1-4)

download.daymet: Download DAYMET

Description

Batch download of daily gridded DAYMET climate data

Usage

download.daymet(years, tile, data.type = "all", download.folder = getwd(),
  http = "http://daymet.ornl.gov/thredds/fileServer/ornldaac/1219/tiles")

Arguments

years
Years to download (valid years 1980-2012)
tile
Tile index value (see url for tile index grid in notes section)
data.type
Type of climate metric: 'all', 'vp', 'tmin', 'tmax', 'swe', 'srad', 'prcp', 'dayl'.
download.folder
local download directory, defaults to current working directory
http
option to change URL

Value

  • DAYMET netCDF format climate metrics

References

Thornton P.E., S.W. Running and M.A. White (1997) Generating surfaces of daily meteorological variables over large regions of complex terrain. Journal of Hydrology 190: 214-251. Thornton, P.E. and S.W. Running (1999) An improved algorithm for estimating incident daily solar radiation from measurements of temperature, humidity, and precipitation. Agriculture and Forest Meteorology. 93:211-228. Thornton, P.E., H. Hasenauer and M.A. White (2000) Simultaneous estimation of daily solar radiation and humidity from observed temperature and precipitation: An application over complex terrain in Austria. Agricultural and Forest Meteorology 104:255-271.

Examples

Run this code
# Download 2009-2010 min and max temp for tiles 11737 and 11738  
 laramie.plains <- c(11737, 11738)
 my.years <- c(seq(2009,2010,1))
 download.daymet(years=my.years, tile=laramie.plains, data.type=c('tmin','tmax'))

Run the code above in your browser using DataLab