The function hargreaves_samani
computes PET using the Hargreaves and Samani method.
hargreaves_samani(tavg, tmax, tmin, x = NULL)# S4 method for Raster,Raster,Raster
hargreaves_samani(tavg, tmax, tmin, x = NULL)
# S4 method for character,character,character
hargreaves_samani(tavg, tmax, tmin, x = NULL)
# S4 method for missing,missing,missing
hargreaves_samani(x)
RasterBrick or data.table of PET values (mm/day)
Raster* object or file path; average temperature (°C)
Raster* object or file path; maximum temperature (°C)
Raster* object or file path; minimum temperature (°C)
A `data.table` with columns: "lon", "lat", "date", "tavg", "tmin", "tmax".
For Raster inputs, provide raster objects or file paths for average (`tavg`), maximum (`tmax`), and minimum (`tmin`) temperature. For `data.table` input, provide a table with columns: "lon", "lat", "date", "tavg", "tmin", and "tmax".