Learn R Programming

spatialEco (version 2.0-2)

daymet.point: DAYMET point values

Description

Downloads DAYMET climate variables for specified point and time-period

Usage

daymet.point(
  lat,
  long,
  start.year,
  end.year,
  site = NULL,
  files = FALSE,
  echo = FALSE
)

Value

A data.frame with geographic coordinate point-level climate results

Arguments

lat

latitude of point (decimal degrees WGS84)

long

longitude pf point (decimal degrees WGS84)

start.year

First year of data

end.year

Last year of data

site

Unique identification value that is appended to data

files

(TRUE/FALSE) Write file to disk

echo

(TRUE/FALSE) Echo progress

Author

Jeffrey S. Evans <jeffrey_evans@tnc.org>

Details

data is available for Long -131.0 W and -53.0 W; lat 52.0 N and 14.5 N Function uses the Single Pixel Extraction tool and returns year, yday, dayl(s), prcp (mm/day), srad (W/m^2), swe (kg/m^2), tmax (deg c), tmin (deg c), vp (Pa) Metadata for DAYMET single pixel extraction: https://daymet.ornl.gov/files/UserGuides/current/readme_singlepointextraction.pdf

Examples

Run this code
# \donttest{
( d <- daymet.point(lat = 36.0133, long = -84.2625, start.year = 2013, 
                    end.year=2014, site = "1", files = FALSE, echo = FALSE) )
# }

Run the code above in your browser using DataLab