Python Library for simulating physiological processes in plants. The aim of this project is to implement the energy balance model developed in Berni et al. 2009 that allows to estimate canopy conductance from a combination of canopy temperature and basic micro-metheorological observations.
The different components of the model can also be used in the simulation and estimation of physical processes such as aerodynamic modeling, calculation of solar radiation, etc.
The initial work in developing a simple energy balance model for its application with high-resolution thermal data and infrared thermometers started in my PhD. It was published in Berni et al., 2009 and was implemented as an Excel VB Macro. In 2017, I started porting the functions from the Excel macro into Python and developing a library that could use pandas data frames and efficiently process large weather and sensor data datasets. Some of the functions were adapted from PyETo to deal with pandas dataframes.
The library is structured into different modules:
radiationfor modeling and estimating various processes such as short/longwave radiationatmospherefor all the vapor pressure calculations, dew point, air density, etc.aerodynamicas the source for different implementations of aerodynamic resistance calculationsevapotranspirationfor calculating ETo using FAO56 or ASCEplantfor the calculation of canopy conductance, simulating canopy temperature, or sensible and latent heat calculations.
pip install opencropib
Sample notebooks are available in the sample_notebook folder.
This library is licensed under the MIT license.
You can cite this library as:
Jose A. Jimenez-Berni. (2023). OpenAgriTech/opencroplib: v0.1.0 (v0.1.0). Zenodo. https://doi.org/10.5281/zenodo.8364969
Allen, R. G., Pereira, L. S., Raes, D., and Smith, M. (1998). Crop evapotranspiration: guidelines for computing crop water requirements. Roma: Food and Agriculture Organization of the United Nations Available at: https://appgeodb.nancy.inra.fr/biljou/pdf/Allen_FAO1998.pdf.
Berni, J. A. J., Zarco-Tejada, P. J., Sepulcre-Cantó, G., Fereres, E., and Villalobos, F. (2009). Mapping canopy conductance and CWSI in olive orchards using high resolution thermal remote sensing imagery. Remote Sens. Environ. 113, 2380–2388. doi:10.1016/j.rse.2009.06.018.