OpenKarHydro
人类活动(梯田撂荒、光伏电站、城市化)对水文循环与土壤侵蚀影响的评估工具。
基于 NOAH-MP 物理过程,用 Python 重写的开源水文生态模拟模型。能够模拟梯田撂荒、光伏电站建设、城市化等人类活动对局地水文循环和土壤侵蚀过程的影响。
安装
pip install openkarhydro
需要 Python 3.12+。
快速开始
# 创建新项目
openkarhydro init my_project
cd my_project
# 将 DEM、气象数据放入 inputs/ 目录
# 编辑 config.yaml 配置参数
# 运行模拟
openkarhydro run config.yaml --output outputs/
# 后处理(生成 SQLite + 空间统计)
openkarhydro postprocess outputs/ --db outputs/results.sqlite
输出文件:
| 文件 | 格式 | 说明 |
|---|---|---|
timeseries.csv |
CSV | 逐日时间序列(Excel 可用) |
results.sqlite |
SQLite | 日/月/年表 + 空间统计(QGIS 可查) |
*.LDASOUT_DOMAIN1.nc |
NetCDF | CF-1.6 空间格点数据(QGIS 直接打开) |
QGIS 插件
安装核心包后,在 QGIS 中搜索 OpenKarHydro 插件安装,即可在界面中完成项目创建、模型运行、结果可视化的全流程操作。
参考文档
- DEVELOPMENT_DESIGN.md — 架构设计
- HPC_GUIDE.md — 超算使用指南
- QGIS_PLUGIN_DESIGN.md — QGIS 插件设计
Metadata
Release files for openkarhydro 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openkarhydro-0.2.1.tar.gz | 250.4 kB | Without provenance | Details for openkarhydro-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openkarhydro-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for openkarhydro-0.2.1-py3-none-any.whl |
Total release size: 539.6 kB
Release files / openkarhydro-0.2.1.tar.gz
| Download URL | openkarhydro-0.2.1.tar.gz |
|---|---|
| Size | 250.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47a07ad5dad30aa6efbb408f9d80da72b20cf05d02f7fe94e6218168969053cf
|
|
BLAKE2b-256 checksum How to use checksums |
c002e1ebbcc0a00d1a137a0be53883123486f814c55d6f748e59659c251265d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / openkarhydro-0.2.1-py3-none-any.whl
| Download URL | openkarhydro-0.2.1-py3-none-any.whl |
|---|---|
| Size | 289.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
154ded1e455e5f406365c01c41c81cf8b3dfc1461d95c918eb513a03b99c7fc8
|
|
BLAKE2b-256 checksum How to use checksums |
a4a593f8ead86b2db208e4798708c5fc68fe64afaf07bd6f692d28a3196b5890
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for openkarhydro 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.