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.0b1.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.0b1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ihydrocal-0.0.0b1.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.0b1.tar.gz
Algorithm Hash digest
SHA256 f0145f573c0c351f50aba59337ecd529fa5f17ffcb56cab103bc8e17fa8d88e0
MD5 87aeacbaa01a089dc7757b3609c60c6d
BLAKE2b-256 f4980aab9c4b5810ade955b252e99ee2c034be9206497c01e839b9ec702a2276

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ihydrocal-0.0.0b1-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.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc381cb828f5c6a222163c5738d33400a4009f0b860f32295455254e4fc8f45d
MD5 1b5fca3d8bb011f5c393f4d124ef9130
BLAKE2b-256 b598bd35a41b5436641e28cc4277063432716b657a79f6958d0731a02fdb5682

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