hargreaves_samani {evapoRe} | R Documentation |
Calculate Potential Evapotranspiration (PET) using Hargreaves-Samani method
Description
The function hargreaves_samani
computes PET using the Hargreaves and Samani method.
Usage
hargreaves_samani(tavg, tmax, tmin, x = NULL)
## S4 method for signature 'Raster,Raster,Raster'
hargreaves_samani(tavg, tmax, tmin, x = NULL)
## S4 method for signature 'character,character,character'
hargreaves_samani(tavg, tmax, tmin, x = NULL)
## S4 method for signature 'missing,missing,missing'
hargreaves_samani(x)
Arguments
tavg |
Raster* object or file path; average temperature (°C) |
tmax |
Raster* object or file path; maximum temperature (°C) |
tmin |
Raster* object or file path; minimum temperature (°C) |
x |
A 'data.table' with columns: "lon", "lat", "date", "tavg", "tmin", "tmax". |
Details
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".
Value
RasterBrick or data.table of PET values (mm/day)
[Package evapoRe version 1.0.1 Index]