Learn R Programming

sharpshootR (version 2.3)

prepareDailyClimateData: Prepare daily climate data (DAYMET) for a single point

Description

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

Usage

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

Value

a data.frame

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