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

View source: R/prepareDailyClimateData.R

prepareDailyClimateDataR Documentation

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)

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


sharpshootR documentation built on Oct. 23, 2024, 1:06 a.m.