Constructor function for enviro_par class. This function ensures that environmental parameter inputs are properly formatted.

enviro_par(.x)

Arguments

.x

A list to be constructed into enviro_par. If units are not provided, they will be set without conversion. If units are provided, they will be checked and converted to units that tealeaves uses.