shybox (Snow and HYdrologic toolBOX) is a Python- and Fortran-based toolkit designed to support operational and research-level hydrological modeling. It is developed and maintained by the CIMA Research Foundation, with active use in Italy’s regional civil protection forecasting systems.
- Modular design for snow and hydrological modeling
- Integration with Flood-PROOFS system
- Support for Python and Fortran-based modeling engines (e.g., S3M, HMC)
- Tools for:
- Data ingestion and transformation
- Multi-source time-series analysis
- 2D/3D visualization of hydrometeorological fields
- Laboratory simulation environments for research & education
- Linux (Debian/Ubuntu preferred)
- Python ≥ 3.8
- Fortran compiler (e.g.,
gfortran) - Git, Conda (recommended)
# Clone the repository
git clone https://github.com/c-hydro/shybox.git
cd shybox
# Set up the environment (Conda recommended)
bash setup/setup_conda_shybox_base.sh├── bin/ # Compiled model executables
├── configuration/ # JSON settings for workflows
├── datasets/ # Sample or default input data
├── script/ # Python driver scripts
├── setup/ # Environment and dependency setup scripts
├── lib/ # Python modules for hydrology (hyde)
├── docs/ # Documentation and usage examples
└── README.md
- S3M – Distributed Snow Simulation System
- HMC – Hydrological Modeling Chain
Each model may require its own build process and configuration.
- Regional flood forecasting
- Snowpack modeling
- Civil protection alert systems
- Research and education on hydro-meteorological processes
This project is licensed under the EUPL-1.2 – see the LICENSE file for details.
Contributions, bug reports, and suggestions are welcome! To contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature-name) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature-name) - Create a pull request
For questions, collaborations or support, reach out via CIMA Foundation or open an issue on GitHub.
- CIMA Research Foundation
- Italian Civil Protection Department
- Contributors to Flood-PROOFS and the hydrological modeling community