pedon

June 24, 2026 · View on GitHub

PyPI PyPi Supported Python Versions Code Size PyPi Downloads License

JOSS Zenodo

Tests Coverage Typed: Mypy Typed: Ty Formatter and Linter: Ruff

pedon (from Greek: πέδον, pedon -> soil) is a Python package for working with unsaturated soil hydraulic properties. It provides an object-oriented framework for soils, soil samples, and soil hydraulic models, making it easy to describe, analyze, and parameterize soil water retention and hydraulic conductivity behavior. At its core, pedon treats each soil model as a Python class that defines a soil water retention curve and an unsaturated hydraulic conductivity function. The package currently includes implementations of several widely used models:

pedon allows these models to be evaluated directly and fitted to data. When laboratory measurements of soil water retention and/or unsaturated hydraulic conductivity are available, model parameters can be estimated by fitting analytical curves to the data using nonlinear least squares, following the same methodology as the widely used RETC.

To support parameterization without direct measurements, pedon includes access to several established soil hydraulic parameter datasets:

In addition, pedon implements multiple pedotransfer functions that estimate soil hydraulic parameters from easily measured soil properties:

By combining soil hydraulic models, reference datasets, pedotransfer functions, and fitting routines in a single, consistent framework, pedon makes it straightforward to move from soil information—whether coarse texture data or detailed laboratory measurements—to parameterized soil models ready for use in variably saturated flow simulations.

If you use this software in your research or analyses, you can cite the package the Journal of Open Source Software

Vonk, M. A. & Peche, A. (2026). pedon: A Python package for analyzing unsaturated soil hydraulic properties. Journal of Open Source Software, 11(122), 10409. doi.org/10.21105/joss.10409.

You can also cite a specific version of the package via its Zenodo archive:

Vonk, M. A. & Peche, A. (XXXX). pedon: A Python package for analyzing unsaturated soil hydraulic properties (vX.X.X). Zenodo. doi.org/10.5281/zenodo.18222514.

Installation

To get the latest stable version install using:

pip install pedon

To get the development version download the GitHub code to your computer. Use cd to get to the download directory and install using:

pip install -e .

Documentation

The documentation for pedon is available at https://martinvonk.github.io/pedon/. It includes an extensive user guide with Jupyter Notebooks as examples and an API reference.