Skip to content

Opencroplib is a collection of Python libraries for simulating evapostranspiration processes. It includes code for extremely precise ephemeris calculations, and more.

License

Notifications You must be signed in to change notification settings

OpenAgriTech/opencroplib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

OpenCropLib

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.

Background

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:

  • radiation for modeling and estimating various processes such as short/longwave radiation
  • atmosphere for all the vapor pressure calculations, dew point, air density, etc.
  • aerodynamic as the source for different implementations of aerodynamic resistance calculations
  • evapotranspiration for calculating ETo using FAO56 or ASCE
  • plant for the calculation of canopy conductance, simulating canopy temperature, or sensible and latent heat calculations.

Installation

pip install opencropib

Examples

Sample notebooks are available in the sample_notebook folder.

Terms of use and citation

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

References

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.

https://github.com/woodcrafty/PyETo

https://github.com/WSWUP/RefET

About

Opencroplib is a collection of Python libraries for simulating evapostranspiration processes. It includes code for extremely precise ephemeris calculations, and more.

Resources

License

Stars

Watchers

Forks

Packages

No packages published