powered by
This fuction will calibrate the rainfall (ppt) from TerraClimate dataset based in the relationship with observed weather stations data.
ppt_calibration(slope, intercept, ppt_stack)
Returns a SpatRaster of ppt calibrated.
the slope of the linear regression (numeric).
the intercept of the linear regression (numeric).
stack of ppt.
if (FALSE) { ppt_cal<- ppt_calibration(slope = 0.7000972, intercept = 23.753785, ppt_stack = ppt); }
Run the code above in your browser using DataLab