Skip to main content

MOBIDICpy - Distributed and continuous hydrological balance model

Project description

GitHub License PyPI DOI OpenSSF Best Practices fair-software.eu cffconvert Linting Python package Coverage Docs

MOBIDICpy

MOBIDICpy Logo

MOBIDIC (MOdello di Bilancio Idrologico DIstribuito e Continuo – distributed and continuous hydrological balance model) is a physically-based distributed hydrological model that simulates water and energy balances of the hydrological cycle at the catchment scale, and compute runoff generation and propagation through the river network.

MOBIDICpy is a Python implementation of the MOBIDIC model, originally developed in MATLAB by Castelli et al. See References for more details.

Installation

The package can be installed locally via pip:

# Clone the repository
git clone https://github.com/mobidichydro/mobidicpy.git
cd mobidicpy

# Create a virtual environment (optional)
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`

# Install the base package
pip install .

# For calibration and sensitivity analysis (PEST++)
pip install .[calibration] && get-pestpp :pyemu

# For development with all dependencies
pip install --no-cache-dir --editable .[dev]

The documentation can be built locally using MkDocs:

# Install documentation dependencies
pip install .[doc]

# Serve the documentation locally (http://127.0.0.1:8000)
python -m mkdocs serve

Examples

Examples are available in the examples directory.

Documentation

The project's full documentation is available here.

Contributing

If you want to contribute to the development of MOBIDICpy, have a look at the contribution guidelines.

Credits

This package was created using the NLeSC/python-template.

License

Copyright (c) 2026 University of Florence (Italy), Department of Civil and Environmental Engineering (DICEA).

Licensed under the Apache License, Version 2.0.

References

Campo, L., Caparrini, F., Castelli, F. (2006). Use of multi-platform, multi-temporal remote-sensing data for calibration of a distributed hydrological model: an application in the Arno basin, Italy. Hydrol. Process., 20: 2693-2712. DOI: 10.1002/hyp.6061

Castelli, F. (1996). A simplified stochastic model for infiltration into a heterogeneous soil forced by random precipitation. Advances in water resources, 19(3), 133-144. DOI: 10.1016/0309-1708(95)00041-0

Castelli, F., Menduni, G., and Mazzanti, B. (2009). A distributed package for sustainable water management: A case study in the Arno basin. Role of Hydrology in Water Resources Management, 327, 52–61.

Castillo, A., Castelli, F., Entekhabi, D. (2015). Gravitational and capillary soil moisture dynamics for distributed hydrologic models, Hydrol. Earth Syst. Sci., 19, 1857–1869, DOI: 10.5194/hess-19-1857-2015.

Castelli, F., Ercolani, G. (2016). Improvement of operational flood forecasting through the assimilation of satellite observations and multiple river flow data, Proc. IAHS, 373, 167–173. DOI: 10.5194/piahs-373-167-2016.

Ercolani, G., Castelli, F. (2017), Variational assimilation of streamflow data in distributed flood forecasting, Water Resour. Res., 53, 158–183. DOI: 10.1002/2016WR019208.

Ercolani, G., Chiaradia, E. A., Gandolfi, C., Castelli, F., Masseroni, D. (2018). Evaluating performances of green roofs for stormwater runoff mitigation in a high flood risk urban catchment. Journal of Hydrology, 566, 830-845. DOI: 10.1016/j.jhydrol.2018.09.050

Masi, M., Masseroni, D., Castelli, F. (2025). Coupled hydrologic, hydraulic, and surface water quality models for pollution management in urban–rural areas. Journal of Hydrology, 657, 133172. DOI: 10.1016/j.jhydrol.2025.133172.

Yang, J., Castelli, F., Chen, Y. (2014). Multiobjective sensitivity analysis and optimization of distributed hydrologic model MOBIDIC. Hydrology and Earth System Sciences, 18(10), 4101–4112. DOI: 10.5194/HESS-18-4101-2014

Yang, J., Entekhabi, D., Castelli, F., Chua, L. (2014). Hydrologic response of a tropical watershed to urbanization. Journal of Hydrology, 517, 538-546. DOI: 10.1016/j.jhydrol.2014.05.053.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mobidicpy-0.1.1.tar.gz (131.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mobidicpy-0.1.1-py3-none-any.whl (145.2 kB view details)

Uploaded Python 3

File details

Details for the file mobidicpy-0.1.1.tar.gz.

File metadata

  • Download URL: mobidicpy-0.1.1.tar.gz
  • Upload date:
  • Size: 131.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mobidicpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d80e62b1f4f52c50e55ee1cfd8c2d5a526668e267b6c544512cd8faafe7a642b
MD5 893dcf5505de3cce3fa4b1fcef01e149
BLAKE2b-256 4040c8d27034bdcccbbd83f1fa418d0a574d35aabab984b44c076852d4933dec

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobidicpy-0.1.1.tar.gz:

Publisher: publish.yml on mobidichydro/MOBIDICpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mobidicpy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mobidicpy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 145.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mobidicpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 067c4483456d6d2f00ddaa0aa17cb0b4cbde9a368c6f516fef39baede412f57d
MD5 c2758d11889ce0d8c2dc3ee0648bce01
BLAKE2b-256 035dcb497e0ba9dbaf02b3a8b1dbcac8f7ea7b92fe32e49892b877769dbc65f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobidicpy-0.1.1-py3-none-any.whl:

Publisher: publish.yml on mobidichydro/MOBIDICpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page