get_daymet: Get Daymet data for a given site and set of years

get_daymetR Documentation

Get Daymet data for a given site and set of years

Description

Get Daymet data for a given site and set of years

Usage

get_daymet(
  site = "Daymet",
  lat = 36.0133,
  lon = -84.2625,
  start = 2000,
  end = as.numeric(format(Sys.time(), "%Y")) - 1,
  vars = "tmax,tmin,dayl,prcp,srad,swe,vp",
  use_this_year = F
)

Arguments

site:

site name (not important)

lat:

latitude

lon:

longitude

start:

start of the range of years over which to download data

end:

end of the range of years over which to download data

vars:

string of variables to get for the site

use_this_year:

allow end year to be this year, though there might not be complete data

Value

A data.frame of Daymet data for a given site

Examples

get_daymet()

ecodata-technology/ecodatamisc documentation built on Feb. 13, 2024, 11:54 a.m.