Note that this requires the environment variable `OPENET_API_KEY` to be set.
A convenient way to do this is via a `.Renviron`, either globally
(`~/.Renviron`) or in the current working directory (`./.Renviron`), with
contents like:
Usage
extract_openet_daily(design_points, start_date, end_date)
Arguments
- design_points
`data.frame` of design points with columns `lat` and `lon`
- start_date
Start date for data extraction
- end_date
End date for data extraction
Value
`design_points` `data.frame` with additional columns `date`, and
`et_mm_day` (ET, mm/day)
Details
“`
OPENET_API_KEY="abcdefg123456"
“`
You can obtain an OpenET API key from the OpenET data portal.