S3 class enviro_par

enviro_par(.x, use_tealeaves)

Arguments

.x

A list to be constructed into enviro_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 enviro_par class. This function ensures that environmental parameter inputs are properly formatted.