S3 class leaf_par

leaf_par(.x, use_tealeaves)

Arguments

.x

A list to be constructed into leaf_par.

use_tealeaves

Logical. Should leaf energy balance be used to calculate leaf temperature (T_leaf)? If TRUE, tleaf() calculates T_leaf. If FALSE, user-defined T_leaf is used. Additional parameters and constants are required, see make_parameters().

Value

Constructor function for leaf_par class. This function ensures that leaf parameter inputs are properly formatted.