This function returns daily climate data required for a simple water balance (and more), using three packages:

  • elevatr: elevation data at x

  • daymetr: DAYMET data at x for years start through end

  • Evapotranspiration: Makkink formulation for estimating reference crop evapotranspiration

prepareDailyClimateData(x, start, end, onlyWB = TRUE)

Arguments

x

sf object representing a single point

start

start year (1998)

end

end year (2018)

onlyWB

logical, return just those date required by dailyWB

Value

a data.frame