Learn R Programming

evapoRe (version 1.0.1)

abtew: Calculate Potential Evapotranspiration (PET) using Abtew Method

Description

The function abtew computes PET by Abtew method

Usage

abtew(tavg, rs, x = NULL)

# S4 method for missing,missing abtew(x)

# S4 method for Raster,Raster abtew(tavg, rs, x = NULL)

# S4 method for character,character abtew(tavg, rs, x = NULL)

Value

RasterBrick or data.table of PET values (mm/day)

Arguments

tavg

Raster* object or file path; average temperature (°C)

rs

Raster* object or file path; shortwave radiation (MJ m-2 day-1)

x

A `data.table` with columns: "lon", "lat", "date", "tavg", "rs"

Details

For Raster inputs, provide raster objects or file paths for `tavg` and `rs`. For `data.table` input, provide a single `data.table` with columns: "lon", "lat", "date", "tavg", and "rs".