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 DOI

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.20.0.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.20.0-py3-none-any.whl (6.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ravenpy-0.20.0.tar.gz
Algorithm Hash digest
SHA256 8c38111c82548a59809811076c99c61b3b3f1adb122362feee96bd3d318bec97
MD5 5775fe03dc48e57986ae0fb3641d11c8
BLAKE2b-256 7a2e261c1343fb06a09286a0dfdee2bd1d7789f446d7349515ebed271c9d429d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ravenpy-0.20.0.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.20.0-py3-none-any.whl.

File metadata

  • Download URL: ravenpy-0.20.0-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.13.7

File hashes

Hashes for ravenpy-0.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4730af88a3fdde233b05e7e9e68dbbd1739a32df099efa8535bb8589304cb1df
MD5 d8bf5127ac8bd8d22770ca243102231d
BLAKE2b-256 9b81001c43000aac1679943d9d06e735d533a9a11a3b17faa04138c4115aa24d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ravenpy-0.20.0-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