Skip to content

Python version of the CRITERIA-3D agro-hydrological model, it allows to configure 1D, 2D and 3D experiments

License

Notifications You must be signed in to change notification settings

ARPA-SIMC/CRITERIA3D_LAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRITERIA3D Lab

Python version of CRITERIA-3D agro-hydrological model, it allows to configure 1D, 2D and simple 3D hydrological experiments.

  • Numerical solution for three-dimensional water flow in the soil, with management of different soil horizons.
  • Soil water retention curves: Campbell, modified Van Genucthen.
  • Sink/source: evapotranspiration, precipitation, drip irrigation.
  • Boundary conditions: surface runoff, free drainage, prescribed total potential (watertable), no flux.
  • The crop coefficient varies based on monthly leaf area index (LAI).
  • Other crop parameters: maximum crop coefficient (Kcmax), readily available water fraction (fRAW), shape factors of the root system.
  • Input: hourly data of air temperature, precipitation, solar radiation, air humidity, wind speed, drip irrigation.
  • Output (water content / water potential) at specific points in the domain.
  • The software can save states and assimilate observed water potential values.

Requirements

  • Cython
  • VPython
  • numpy
  • scipy
  • pandas

How to compile solverC.pyx

It requires the Cython library and a C compiler, on Windows you can use the MinGW or Visual Studio compilers.

cd src
python cythonSetup.py build_ext --inplace

If the Cython library is missing, you can run the code by setting this variable in the commonConst.py module:

CYTHON = False

Authors

References

Bittelli, M., Campbell, G. S., & Tomei, F. (2015). Soil physics with Python: transport in the soil-plant-atmosphere system. OUP Oxford.

About

Python version of the CRITERIA-3D agro-hydrological model, it allows to configure 1D, 2D and 3D experiments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published