surface_temp_coef: surface_temp_coef

Description Usage Arguments Details Value

View source: R/surface_temp_coef.R

Description

Given a vector on instants and a vector of air-temperautures, return a list of coefficients for the surface temperature.

Usage

1
surface_temp_coef(instant, temp, n_hemi = TRUE)

Arguments

instant

POSIXct instants

temp

numeric ambient air (dry-bulb) temperature

n_hemi

logical, indicates fit for northern hemisphere

put in an example!

Details

A sinusoid is fit to the time/tempurature pairs. The coefficients of the sine wave (temp_ref, dtemp_ref, time_ref) are returned.

http://soilphysics.okstate.edu/software/SoilTemperature/document.pdf

Value

list of coefficients


ijlyttle/groundTemp documentation built on May 18, 2019, 3:41 a.m.