diurnalT: Calculate the diurnal variation in air temperature with...

Description Usage Arguments Value Examples

View source: R/diurnal.R

Description

Calculate the diurnal variation in air temperature. Parton WJ, Logan JA (1981) A model for diurnal variation in soil and air temperature. Agricultural Meteorology, 23, 205?216. Codes copied from APSIM Utilities.cpp

Usage

1
diurnalT(maxt, mint, doy, hour, latitude, A = 1.5, B = 4, C = 1)

Arguments

maxt

maximum daily temperature

mint

minimum daily temperature

doy

day of year

hour

hour from 1 to 24

latitude

latitude in radials

A

is the time lag in temperature after noon

B

is coef that controls temperature decrease at night

C

is the time lag for min temperature after sunrise

Value

A vector with diurnal air temperature

Examples

1
2
3
diurnalT(maxt = 20, mint = 10, doy  = 1, 
   hour = seq(from = 1, to = 23.99, by = 0.1), 
   latitude = -10, A = 1.5, B = 4, C = 1)

weaana documentation built on Sept. 27, 2021, 5:12 p.m.