tmax_calibration: Calibration of maximum air temperature from TerraClimate

View source: R/calibration_tmax_and_tmin.R

tmax_calibrationR Documentation

Calibration of maximum air temperature from TerraClimate

Description

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.

Usage

tmax_calibration(slope, intercept, tmax_stack)

Arguments

slope

the slope of the linear regression (numeric)

intercept

the intercept of the linear regression (numeric)

tmax_stack

stack of maximum air temperature

Value

Returns a SpatRaster object of calibrated maximum air temperature.

Examples

## Not run: 

tmax_cal<- tmax_calibration(slope = 0.874787, intercept = 4.612894 , tmax_stack = tmax);

## End(Not run)

cropZoning documentation built on Oct. 11, 2023, 1:06 a.m.