Learn R Programming

evapoRe (version 1.0.1)

baier_robertson: Calculate Potential Evapotranspiration (PET) using Baier-Robertson method

Description

The function baier_robertson computes PET using the Baier and Robertson method.

Usage

baier_robertson(tmax, tmin, x = NULL)

# S4 method for Raster,Raster baier_robertson(tmax, tmin, x = NULL)

# S4 method for character,character baier_robertson(tmax, tmin, x = NULL)

# S4 method for missing,missing baier_robertson(x)

Value

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

Arguments

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", "tmax", "tmin".

Details

For Raster inputs, provide raster objects or file paths for maximum (`tmax`) and minimum (`tmin`) temperature.For `data.table` input, provide a table with columns: "lon", "lat", "date", "tmax", and "tmin".