Skip to main content

A Python wrapper for configuring and running the hydrologic modelling framework Raven.

Project description

Versions

PyPI Conda-forge Build Version

Documentation and Support

Documentation Status Supported Python Versions

Open Source

License OpenSSF Scorecard

Coding Standards

Ruff Open Source Security Foundation Best Practices pre-commit.ci status

Development Status

Project Status: Active - The project has reached a stable, usable state and is being actively developed. Build Status Coveralls

A Python wrapper for configuring and running the hydrologic modelling framework Raven.

RavenPy is a Python wrapper for Raven, accompanied by utility functions that facilitate model configuration, calibration, and evaluation.

Raven is an hydrological modeling framework that lets hydrologists build hydrological models by combining different hydrological processes together. It can also be used to emulate a variety of existing lumped and distributed models. Model structure, parameters, initial conditions and forcing files are configured in text files, which Raven parses to build and run hydrological simulations. A detailed description about modeling capability of Raven can be found in the docs.

RavenPy provides a Python interface to Raven, automating the creation of configuration files and allowing the model to be launched from Python. Results, or errors, are automatically parsed and exposed within the programming environment. This facilitates the launch of parallel simulations, multi-model prediction ensembles, sensitivity analyses and other experiments involving a large number of model runs.

Note that version 0.12 includes major changes compared to the previous 0.11 release, and breaks backward compatibility. The benefits of these changes are a much more intuitive interface for configuring and running the model.

Features

  • Configure, run and parse Raven outputs from Python

  • Utility command to create grid weight files

  • Extract physiographic information about watersheds

  • Algorithms to estimate model parameters from ungauged watersheds

  • Exposes outputs (flow, storage) as xarray.DataArray objects

Install

Please see the detailed installation docs.

Acknowledgements

RavenPy’s development has been funded by CANARIE and Ouranos and would be not be possible without the help of Juliane Mai and James Craig.

This package was created with Cookiecutter and the Ouranosinc/cookiecutter-pypackage project template.

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

ravenpy-0.19.1.tar.gz (8.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ravenpy-0.19.1-py3-none-any.whl (6.3 MB view details)

Uploaded Python 3

File details

Details for the file ravenpy-0.19.1.tar.gz.

File metadata

  • Download URL: ravenpy-0.19.1.tar.gz
  • Upload date:
  • Size: 8.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ravenpy-0.19.1.tar.gz
Algorithm Hash digest
SHA256 c76d9363db941a4730512b468fbf15c5cf35822ba5891c5ce7db39429456e13e
MD5 010d82b93fee7531f7b2b97b2e3d1200
BLAKE2b-256 24eb5987435e269a56aec8fc948df8c940d68e21ae886b4e4892a1abd6a63b87

See more details on using hashes here.

Provenance

The following attestation bundles were made for ravenpy-0.19.1.tar.gz:

Publisher: publish-pypi.yml on CSHS-CWRA/RavenPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ravenpy-0.19.1-py3-none-any.whl.

File metadata

  • Download URL: ravenpy-0.19.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ravenpy-0.19.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c39018d1c812e2d9964802153935f5f9c2082a866d42da17e27efca9bb8d6c4
MD5 fea71b35869e6add9447c456360cf88a
BLAKE2b-256 d4b48ab055f093b684000e5ddc60125d5db113b70384230101c8c2c62d73e0a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ravenpy-0.19.1-py3-none-any.whl:

Publisher: publish-pypi.yml on CSHS-CWRA/RavenPy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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