Posts

Showing posts from March, 2024

Agronomists' C++ Toolkit: CWSI & Transpiration Biophysical Models

Image
  This post offers a starting point for sharing my embedded software code ( GitHub repository: https://github.com/envitronicslab/CWSI_Function ) in C/C++ used in a system you can learn more about here . While the full codebase needs some cleanup, I'm excited to share this initial, modular piece that calculates plant transpiration.     ๐—ž๐—ฒ๐˜† ๐—™๐—ฒ๐—ฎ๐˜๐˜‚๐—ฟ๐—ฒ๐˜€  ๐—–๐—ฎ๐—น๐—ฐ๐˜‚๐—น๐—ฎ๐˜๐—ฒ๐˜€ ๐—ฎ๐—ฐ๐˜๐˜‚๐—ฎ๐—น (๐—ง๐—ฎ) ๐—ฎ๐—ป๐—ฑ ๐—ฝ๐—ผ๐˜๐—ฒ๐—ป๐˜๐—ถ๐—ฎ๐—น (๐—ง๐—ฝ) ๐˜๐—ฟ๐—ฎ๐—ป๐˜€๐—ฝ๐—ถ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป: This code uses biophysical models to analyze microclimate and plant canopy surface temperature data to determine transpiration rates.  ๐—–๐—ฟ๐—ผ๐—ฝ ๐—ช๐—ฎ๐˜๐—ฒ๐—ฟ ๐—ฆ๐˜๐—ฟ๐—ฒ๐˜€๐˜€ ๐—œ๐—ป๐—ฑ๐—ฒ๐˜… (๐—–๐—ช๐—ฆ๐—œ): Ta and Tp can be used further to calculate CWSI, an indicator of plant stress.  ๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฎ๐—ฟ ๐—ฎ๐—ป๐—ฑ ๐—ฟ๐—ฒ๐˜‚๐˜€๐—ฎ๐—ฏ๐—น๐—ฒ: The code is well-organized with equations grouped within a class for easy integration into other projects.  ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ ๐—ฎ๐—ป๐—ฑ ๐˜๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด ๐—ฐ๐—ผ๐—ฑ๐—ฒ: Additional code snippets are includ...