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

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.1.1.tar.gz (838.3 kB view details)

Uploaded Source

Built Distribution

hbv-1.1.1-py2.py3-none-any.whl (15.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for hbv-1.1.1.tar.gz
Algorithm Hash digest
SHA256 c897860a80c43a910b920bb278174f8e69f42cd989653581dc7abdaf1d630c1d
MD5 bc876d8e7da732ab177779d5f2443ebc
BLAKE2b-256 ae012ff58f7f6dd87388ff3b0820c538828d5f16f5fe5c75a1735ad9226edb80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hbv-1.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.5 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.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b5fe6faaf13f1a54422d2708aa892627e5efc6a28f6399b5aeef9e724f815095
MD5 1a180d8253229f2c326c0a47a8c66fc7
BLAKE2b-256 949f2388c1f73842d7d274028c092cf9d70de6b2df3936e6cae178e0318424e9

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