Skip to main content

Dev version for a HBV hydrological model using BMI for eWaterCycle.

Project description

HBV-BMI

PyPI

Basic Model Interface (BMI) HBV model intended for use with eWaterCycle. See said repo for installation instructions.

HBV (Hydrologiska Byråns Vattenbalansavdelning) is a conceptual hydrological model. For more information on its history, see this paper.

This current implementation is without a snow reservoir.

Actual eWatercycle model wrapper can be found on GitHub

Feel free to fork/duplicate this repo and publish your own (better) version.

separate use

Can also be used as a standalone package in theory - not advised:

pip install HBV

Then HBV becomes available as one of the eWaterCycle models

from HBV import HBV

model = HBV()

Be aware of the non-intuitive BMI implementation as this package is designed to run in a docker container.

Changelog

v1.0.0

v1.0.1 - v1.0.3

  • various bug fixes etc. (last time using live as a dev branch -> bad practice)

v1.1.0

  • added support for updating memory vector on the fly for Data assimilation.

V1.1.1

  • bug fix in T_lag value: can now only be set an integer larger than 1: otherwise makes no physical sense
  • bug fix where wrong types were given, warning messages cleaned up and code attempted to be made more readable

V1.2.0

  • pretty big issue with setting values fixed - won't affect most use but will cause issues for Data Assimilation
  • use opportunity to name all HBV packages/naming/images to 1.2.0

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

hbv-1.2.0.tar.gz (838.9 kB view details)

Uploaded Source

Built Distribution

hbv-1.2.0-py2.py3-none-any.whl (16.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file hbv-1.2.0.tar.gz.

File metadata

  • Download URL: hbv-1.2.0.tar.gz
  • Upload date:
  • Size: 838.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for hbv-1.2.0.tar.gz
Algorithm Hash digest
SHA256 c14bf0a89ffbb6be32e9b38d80a093c4b6ae8664bbf4341c45be4f08312faf3a
MD5 4b9cc8af44c44fa95be0369744d78298
BLAKE2b-256 42dcf1da91c84711519d0c57183f72a1d233490778c0bd6de6db27b47d230e9b

See more details on using hashes here.

File details

Details for the file hbv-1.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: hbv-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for hbv-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 890cd05bad76e2aff0779508d47738101318a7c6b64c84fe67754feaf1c10b63
MD5 79acf85d8ee08d7cde02f7eeefbd9ce9
BLAKE2b-256 e8d0b9d00a49a6aaf42157b7456c5fff6cee638e5bb0e884b2d6a6143bd5cbe1

See more details on using hashes here.

Supported by

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