Skip to main content

A Python wrapper to setup and run the hydrologic modelling framework Raven.

Project description

RavenPy

https://img.shields.io/pypi/v/ravenpy.svg Documentation Status

A Python wrapper to setup and run the hydrologic modelling framework Raven.

Features

  • Download and compile Raven with pip

  • Configure, run and parse Raven outputs from Python

  • Parallel simulations over parameters, models or watersheds

  • 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.

Credits

RavenPy’s development has been funded by CANARIE.

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

History

0.3.0

  • Migration and refactoring of GIS and IO utilities (utils.py, utilities/gis.py) from RavenWPS to RavenPy.

  • RavenPy can now be installed from PyPI without GIS dependencies (limited functionality).

  • Hydro routing product is now supported from geoserver.py (a notebook has been added to demonstrate the new functions).

  • New script ravenpy aggregate-forcings-to-hrus to aggregate NetCDF files and compute updated grid weights.

  • Add the basis for a new routing emulator option (WIP).

  • Add climpred verification capabilities.

0.2.3

  • Regionalisation data is now part of the package.

  • Fix tests that were not using testdata properly.

  • Add tests for external dataset access.

  • utilities.testdata.get_local_testdata now raises an exception when it finds no dataset corresponding to the user pattern.

0.2.2

  • Set wcs.getCoverage timeout to 120 seconds.

  • Fix Raven.parse_results logic when no flow observations are present and no diagnostic file is created.

  • Fix ECCC test where input was cached and shadowed forecast input data.

0.2.1

  • Fix xarray caching bug in regionalization.

0.2.0

  • Refactoring of ravenpy.utilities.testdata functions.

  • Bump xclim to 0.23.

0.1.7

  • Fix xarray caching bug affecting climatological ESP forecasts (#33).

  • Fix deprecation issue with Fiona.

0.1.6 (2021-01-15)

  • Correct installer bugs.

0.1.5 (2021-01-14)

  • Release with docs.

0.1.0 (2020-12-20)

  • First release on PyPI.

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.3.0.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

ravenpy-0.3.0-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ravenpy-0.3.0.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for ravenpy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e53aab5d367101d875e9b589337ff60e83afd4b430b582cfd440eb25593b06ea
MD5 88a2f40ffdac87ac6cf538d6fabfdf2f
BLAKE2b-256 c5b6299a6d9c65a767530f60f857c5a064c14c81c376edf5464deedae35d3661

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ravenpy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for ravenpy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c44801dc0339a6e383cf342f564804b93f0d2dd5e920c770d9e8b67442e7252
MD5 58f4a57e1b33b26ad7c3a02dbcc3b7ae
BLAKE2b-256 e7eb5dae367988dda934cd548ba4d80e1c77908210669511e80af857f43f2897

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