Learn R Programming

cropDemand (version 1.0.3)

eto_calibration: Calibration of reference evapotranspiration (eto) of 'TerraClimate'

Description

This function will calibrate the reference evapotranspiration (eto) from TerraClimate dataset based in the relationship with observed weather stations data.

Usage

eto_calibration(slope, intercept, eto_stack)

Value

Returns a SpatRaster of eto calibrated.

Arguments

slope

the slope of the linear regression (numeric).

intercept

the intercept of the linear regression (numeric).

eto_stack

stack of eto.

Examples

Run this code
if (FALSE) {
eto_cal<- eto_calibration(slope = 0.930073,
                           intercept = 22.399986, eto_stack = etp);
}

Run the code above in your browser using DataLab