tealeaves
Solve for Leaf Temperature Using Energy Balance
A leaf-temperature model that finished its job in 2020 and has stayed finished
◆Recent moves
- 4y ago
Citation file, vignette and README fixes
Three housekeeping fixes: a name corrected in the citation file, parallel evaluation stopped in a vignette, and broken README links repaired. The only release in six years and it does not touch the model.
View source ↗ - 6y ago
Parameter-crossing bug fixed with tests; coverage added
Fixes a bug in tleaves() where the new sky temperature function caused all parameter values to be crossed with every unique calculated T_sky, producing incorrect results rather than an error. The fix ships with dedicated unit tests and code coverage, which is the right response to a defect that was silent.
View source ↗ - 6y ago
Fix for custom sky temperature function being overwritten
A one-line fix stopping .get_Rabs() from overwriting a user-supplied T_sky function. The second of three consecutive releases cleaning up after the sky temperature feature added in 1.0.2.
View source ↗ - 6y ago
Sky temperature as value or function; dplyr 1.0.0 compatibility
Lets sky temperature be supplied directly in kelvin or as a function, adds dplyr 1.0.0 compatibility and a vignette on making parameters depend on other parameters, and records the published paper. The most substantial release here, and the source of the two bugs the next two versions fixed.
View source ↗ - 7y ago
Unitless parameter values now accepted and assigned units
Relaxes the requirement that every parameter carry explicit units: bare values are assigned the expected units without conversion, while values that do carry units are still checked and converted. A deliberate softening of the package's strictest edge, keeping the safety for users who opt in.
View source ↗ - 7y ago
First release: leaf energy balance with per-surface conductances
The initial release, already carrying the complete model — energy-balance leaf temperature with units enforced, separate lower and upper surface conductances to heat and water vapour after Foster and Smith (1986), and support for sweeping environmental or trait gradients. Everything after this is refinement.
View source ↗