ppt_calibration {cropDemand}R Documentation

Calibration of rainfall (ppt) of 'TerraClimate'

Description

This fuction will calibrate the rainfall (ppt) from TerraClimate dataset based in the relationship with observed weather stations data.

Usage

ppt_calibration(slope, intercept, ppt_stack)

Arguments

slope

the slope of the linear regression (numeric).

intercept

the intercept of the linear regression (numeric).

ppt_stack

stack of ppt.

Value

Returns a SpatRaster of ppt calibrated.

Examples

## Not run: 

ppt_cal<- ppt_calibration(slope = 0.7000972,
                          intercept = 23.753785, ppt_stack = ppt);

## End(Not run)

[Package cropDemand version 1.0.3 Index]