newhall_daymet_subset():
Used to create a subset of the DAYMET data corresponding to the extent of an input spatial object x
.
newhall_daymet_subset(
x,
start_year = 1991,
end_year = 2020,
force = FALSE,
DAYMET_PATH = tempdir()
)
A SpatVector, SpatRaster, SpatExtent, or any other object type suitable to use with terra::ext()
integer. First year in range to download
integer. Last year in range to download.
logical. Force download when files exist in DAYMET_PATH
? Default: FALSE
Default: file.path(newhall_data_dir("cache"), "DAYMET")
A SpatRaster object
Thornton, M.M., R. Shrestha, Y. Wei, P.E. Thornton, S-C. Kao, and B.E. Wilson. 2022. Daymet: Monthly Climate Summaries on a 1-km Grid for North America, Version 4 R1. ORNL DAAC, Oak Ridge, Tennessee, USA. doi:10.3334/ORNLDAAC/2131