Skip to main content

Integrated Hydrological Model Calibration and Uncertainty Analysis

Project description

iHydroCal

Integrated Hydrological Model Calibration and Uncertainty Analysis

Tests PyPI version Conda version License: MIT

Overview

iHydroCal provides a unified framework for calibration and uncertainty analysis of integrated hydrological models including:

  • SWAT (Soil and Water Assessment Tool)
  • SWAT+ (SWAT Plus)
  • SWAT-MODFLOW (coupled surface-groundwater model)
  • APEX-MODFLOW-RT3D-Salt (integrated modeling system)

Features

  • 🎯 Unified Calibration Framework: Single interface for multiple model types
  • 📊 Uncertainty Analysis: Comprehensive sensitivity and uncertainty quantification
  • 🔧 PEST++ Integration: Leverage industry-standard optimization tools
  • 🐍 Python-Based: Built on pyemu and flopy
  • 📈 Visualization: Built-in plotting and reporting capabilities

Installation

From PyPI (coming soon)

pip install ihydrocal

From conda (coming soon)

conda install -c conda-forge ihydrocal

Development Installation

git clone https://github.com/yourusername/ihydrocal.git
cd ihydrocal
pip install -e .[dev]

Quick Start

import ihydrocal as ihc

# Load configuration
config = ihc.load_config("config.yaml")

# Initialize model
model = ihc.create_model("swat-modflow", config)

# Run calibration
calibrator = ihc.Calibrator(model, config.calibration)
results = calibrator.run()

# Uncertainty analysis
uncertainty = ihc.UncertaintyAnalysis(model, results)
uncertainty.sensitivity_analysis()

Documentation

Full documentation is available at https://ihydrocal.readthedocs.io (coming soon)

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

Citation

If you use iHydroCal in your research, please cite:

@software{ihydrocal,
  author = {Seonggyu Park},
  title = {iHydroCal: Integrated Hydrological Model Calibration and Uncertainty Analysis},
  year = {2026},
  url = {https://github.com/spark-hydro/ihydrocal}
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This project builds upon:

Contact


### 2. `LICENSE` (MIT License)

MIT License

Copyright (c) 2026 Seonggyu Park

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

ihydrocal-0.0.0b2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

ihydrocal-0.0.0b2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file ihydrocal-0.0.0b2.tar.gz.

File metadata

  • Download URL: ihydrocal-0.0.0b2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for ihydrocal-0.0.0b2.tar.gz
Algorithm Hash digest
SHA256 3331e3810e9a275912e699c45d476ef8ccd09546697648a92bd9d827f765777c
MD5 0103203acee55152f4e1016975e80bab
BLAKE2b-256 65db2511dcbdb7d98285bbd352a229e4773de3ea2266c5420c8d689a7340c924

See more details on using hashes here.

File details

Details for the file ihydrocal-0.0.0b2-py3-none-any.whl.

File metadata

  • Download URL: ihydrocal-0.0.0b2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for ihydrocal-0.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 187b1c4cc8e6853a556f3809695d233dda8a2fed162c28b49e90fdccea97bc57
MD5 fe531e93633645d2bd5fe637d8ef90cc
BLAKE2b-256 53908260a492736df85c1740b0585f77d97b2bf59d3c55f9622c2d59cac93d3a

See more details on using hashes here.

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