ppt_calibration: Calibration of rainfall (ppt) of 'TerraClimate'

View source: R/calibration_ppt_etp.R

ppt_calibrationR 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)

cropDemand documentation built on Oct. 14, 2023, 1:07 a.m.