View source: R/calibration_tmax_and_tmin.R
tmax_calibration | R Documentation |
This function will calibrate the maximum air temperature from TerraClimate dataset based in the relationship with observed weather stations data.The values of slope and intercept informed in example correspond a calibration performed between 'Terraclimate' images and INMET automatic weather stations realized for all the brazilian territory.
tmax_calibration(slope, intercept, tmax_stack)
slope |
the slope of the linear regression (numeric) |
intercept |
the intercept of the linear regression (numeric) |
tmax_stack |
stack of maximum air temperature |
Returns a SpatRaster object of calibrated maximum air temperature.
## Not run:
tmax_cal<- tmax_calibration(slope = 0.874787, intercept = 4.612894 , tmax_stack = tmax);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.