Skip to main content

Implementation of HBV for eWaterCycle

Project description

eWaterCycle plugin - HBV

PyPI

This package is based on the Leaky bucket & is a wrapper for the HBV-bmi model.

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

This current implementation is without a snow reservoir.

Installation

Install this package alongside your eWaterCycle installation

pip install ewatercycle-hbv

Then HBV becomes available as one of the eWaterCycle models

from ewatercycle.models import HBV

Implementing your own model

For more information on how this plugin works, and on how to implement your own model see the plugin guide

License

This is a ewatercycle-plugin & thus this is distributed under the same terms as the template: the Apache-2.0 license.

Changelog

v1.0.0

working basic version after various testing versions

v1.1.0

upgrade to new version: added support for updating memory vector on the fly for Data assimilation

v1.1.1

Fixed bug with Tlag and setting memory vector correctly

v1.1.2

Adding .finalize() method - clears up the directory. Especially useful for DA.

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

V1.3.1

  • now supports camels.txt files natively. Just download the ones you want from there and add it.
  • make sure you also include the alpha value which is a model output from the run, defaults to 1.26 but varies per catchment. Eq1 of camels paper.

v1.3.2. - 1.3.3

  • now correctly slices the ds to given start and end time whoops

v1.3.4 - 1.3.8

  • formalises forcing: either .txt or (two) .nc forcing supplied & run corresponding code

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

ewatercycle_hbv-1.3.8.tar.gz (136.6 kB view details)

Uploaded Source

Built Distribution

ewatercycle_hbv-1.3.8-py2.py3-none-any.whl (13.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ewatercycle_hbv-1.3.8.tar.gz.

File metadata

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

File hashes

Hashes for ewatercycle_hbv-1.3.8.tar.gz
Algorithm Hash digest
SHA256 e7e88c33951c79e43a67624293a2ad3eb18290722c91d5c2e2e71745fd2f281a
MD5 f7b2cf0f0292396dbd7815e7cba154f3
BLAKE2b-256 6c500ccfbe3c6d1bc26276a7b65d7716a81e0674e33c6ba1d29102dc74e0c7c5

See more details on using hashes here.

Provenance

File details

Details for the file ewatercycle_hbv-1.3.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ewatercycle_hbv-1.3.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69c306e7aa95fff7b6232368e7ba399d6ff4e78e5e32b758503e576ccf260f30
MD5 52e466db3764183104fd5e2b99afb075
BLAKE2b-256 1698f5281549cf19b9461f36d347c99c6692ef170abebbb0f7f9e0bf205ed69f

See more details on using hashes here.

Provenance

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