soil_temperature | R Documentation |
This function is called to calculate soil temperature (C) as in \insertCiteBeckman1973;textualTrenchR. This function calls soil_temperature_function
, which uses ODEs to calculate a soil profile using equations from \insertCitedeVries1963;textualTrenchR
soil_temperature(
z_r.intervals = 12,
z_r,
z,
T_a,
u,
Tsoil0,
z0,
SSA,
TimeIn,
S,
water_content = 0.2,
air_pressure,
rho_so = 1620,
shade = FALSE
)
z_r.intervals |
|
z_r |
|
z |
|
T_a |
|
u |
|
Tsoil0 |
|
z0 |
|
SSA |
|
TimeIn |
|
S |
|
water_content |
|
air_pressure |
|
rho_so |
|
shade |
|
numeric
soil temperature (C).
Joseph Grigg
Other soil temperature functions:
soil_conductivity()
,
soil_specific_heat()
,
soil_temperature_equation()
,
soil_temperature_function()
,
soil_temperature_integrand()
set.seed(123)
temp_vector <- runif(48, min = -10, max = 10)
wind_speed_vector <- runif(48, min = 0, max = 0.4)
time_vector <- rep(1:24, 2)
solrad_vector <- rep(c(rep(0, 6),
seq(10, 700, length.out = 6),
seq(700, 10, length.out = 6),
rep(0, 6)),
2)
soil_temperature(z_r.intervals = 12,
z_r = 1.5,
z = 2,
T_a = temp_vector,
u = wind_speed_vector,
Tsoil0 = 20,
z0 = 0.02,
SSA = 0.7,
TimeIn = time_vector,
S = solrad_vector,
water_content = 0.2,
air_pressure = 85,
rho_so = 1620,
shade = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.