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)
a data.frame
sf
object representing a single point
start year (1998)
end year (2018)
logical, return just those date required by dailyWB