tmin_calibration: Calibration of minimum air temperature from TerraClimate

View source: R/calibration_tmax_and_tmin.R

tmin_calibrationR Documentation

Calibration of minimum air temperature from TerraClimate

Description

This function will calibrate the minimum 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

tmin_calibration(slope, intercept, tmin_stack)

Arguments

slope

the slope of the linear regression (numeric)

intercept

the intercept of the linear regression (numeric)

tmin_stack

stack of maximum air temperature

Value

Returns a SpatRaster of calibrated minimum air temperature.

Examples

## Not run: 
tmin_cal<- tmin_calibrated(slope = 0.830652, intercept = 4.187840, tmin_stack = tmin);

## End(Not run)

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