abovecanopytemp: Calculates temperature above canopy

View source: R/code.R

abovecanopytempR Documentation

Calculates temperature above canopy

Description

calaculates the temperature at the top of the canopy based on the standard logarithmic height profile

Usage

abovecanopytemp(
  tz,
  uz,
  zu,
  zo,
  H,
  hgt,
  PAI,
  zm0 = 0.004,
  pk = 101.3,
  psi_h = 0
)

Arguments

tz

temperature at height zu above the canopy (deg C)

uz

wind speed at height zu above the canopy (m / s)

zu

height of tz and uz (m)

zo

height (m) for which temperature is required (see details)

H

sensible heat flux density (W / m^2). See details.

hgt

height of the canopy (m)

PAI

total plant area index of the canopy. Used to calculate roughness lengths.

zm0

roughness length governing momentum transfer of ground vegetation

pk

atmospheric pressure (kPa)

psi_h

diabatic correction factor for heat transfer

Details

Estimation of H requires estimation of temperature, so most either be derived by iteration of taken form the previous timestep. H is given by the net energy balance equation: H = Rabs - Rem - L - G where Rabs is absorbed radiation, Rem emitted radiation, L Latent heat exchange and G ground heat flux. This function is not valid for temperatures below canopy so hgt must be lower than zi.

Examples

abovecanopytemp(11, 2, 2, 1.5, 500, 1, 3)
abovecanopytemp(11, 2, 2, 0.5, 500, 0.25, 3)

ilyamaclean/microclimc documentation built on July 28, 2023, 1:40 a.m.