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...