A Python wrapper to set-up and build the hydrologic modelling framework Raven.
Project description
Raven-hydro is a Python-based installer for the hydrologic modelling framework Raven.
- Free software: Apache Software License v2.0
About
Raven is a 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.
Purpose
The goal of this project is to provide a multiplatform installer for the Raven hydrological model using scikit-build-core and pybind11. The compiled binary is built with support for NetCDF4, and uses a custom CMakeLists.txt
, rather than the one provided with the Raven source code, in order to leverage pip
for handling the installation of binaries and libraries.
This project differs from RavenPy by solely providing a means for downloading, compiling, and installing the Raven binary (with NetCDF4 support) on multiple platforms and as well as providing version control and updating via pip
/PyPI.
Features
- Download and/or compile the Raven hydrological model with
pip
- Multiplatform support (macOS, Linux, Windows, BSD, etc.)
Installation
Warning This build of Raven requires that NetCDF4 libraries are installed on the system, exposed on the
$PATH
, and discoverable using theFindNetCDF.cmake
helper script.On Linux, this can be provided by the
libnetcdf-dev
system library; On macOS by thenetcdf
homebrew package; And on Windows by using UNIDATA's pre-built binaries.This can also be provided by the
libnetcdf
package available at conda-forge, though this is not guaranteed to work on macOS at time of writing (further research required).
raven-hydro
can be installed from PyPI using the following command:
$ pip install raven-hydro
For development purposes, we recommend cloning the repository and performing an --editable
installation:
$ git clone git@github.com:Ouranosinc/raven-hydro
$ cd raven-hydro
$ pip install --editable .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for raven_hydro-0.2.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e762463bc01bb5159dbd8f8fcb319a23c821ef2c538a593dbe472b04e4687ca8 |
|
MD5 | c18a78cd00e484c9e9f4d27952166e2a |
|
BLAKE2b-256 | 406243fdb6e959217cb4e7bed90497b1f2a1007f5a613f1fb1dc35c6a04cb84e |
Hashes for raven_hydro-0.2.0-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5e7adfa3399dc8e5d2a4b260339de5e8240cea95035e0dbe6580e0594823b0d |
|
MD5 | 3e94f57ad42918825fa2689010f4f609 |
|
BLAKE2b-256 | 6797e9ca565b366301c8ea3f20e97a5a07d01b5be09050a0a4756da58becf341 |
Hashes for raven_hydro-0.2.0-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 714ac2bc1fe6ac354eeb28bb1743400b21ae811140d6447f2c3072c6827ba2f2 |
|
MD5 | 8902104e51dd154a5168ac9f36fe9ffa |
|
BLAKE2b-256 | faa09b7d35d3f8ca03c69cd805dac1c71db9c2df597839ceaccbbef0ece4ec31 |
Hashes for raven_hydro-0.2.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfda5455b9eb5bcdd33fea3589ba2504abbd040171287182b0515e8fa1a724e7 |
|
MD5 | a48fbe1e70d027cc1f77f9b6c6818c33 |
|
BLAKE2b-256 | da0dc683cd722624d5ea0985d666e142df3703b26dd265fee49bf6d6d0d58246 |
Hashes for raven_hydro-0.2.0-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a2fc37a223bcb1b5122e32cff6f24937dfbd4fc85e92498d15a17182d545445 |
|
MD5 | 011e85a0919da28c71322f0758801f33 |
|
BLAKE2b-256 | 2ed0018c6dda6f17acfc67e694ceb31995fc8631de543c09f6b209a17ce28261 |
Hashes for raven_hydro-0.2.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bdd822679dfac78f5cad21a05d3fa777a66df173a7a93e5e6331d8697642626 |
|
MD5 | f2afa52ddfe9cc8e4fd4acfc88b863a9 |
|
BLAKE2b-256 | 4c63ae20504b3ec2c7655a36722d3c9c5460c8b86edc836e3026825dd31ce9fe |
Hashes for raven_hydro-0.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0641d0f12968c45b2d701faa62180c1759e47b58211256716c444a71a43f0eb2 |
|
MD5 | 1ad466ae789d56308f0b2344d5115a54 |
|
BLAKE2b-256 | 0b8abd0889b56755cd250430cc76f3b6dca01c69d43f38faf7653b85fe79c8e7 |
Hashes for raven_hydro-0.2.0-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 614bae0d979042dd9ab7eb7a30eb9dd10100e3947f9270e3d7212a82248d108e |
|
MD5 | 20408a0f4d36e62466e9a1841db0a636 |
|
BLAKE2b-256 | 224375f0f0872033d88758f7fddf17ec9bb2a2088b6ceab1decdffb85f07a487 |
Hashes for raven_hydro-0.2.0-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b5191c15e2c0f5357ba0ea29e549b511916ddadf7808ed1afde569433e01548 |
|
MD5 | 8e0b814cfb39295e7a268c604cb49ed4 |
|
BLAKE2b-256 | 3b1c28ab0b0e40530c4093c962db9ec78415a4788808b5c0d749a9b85c321355 |
Hashes for raven_hydro-0.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fb1ce945ce928754da2667cf9b8877cac69494c6bd21b1726b09c4654d8175f |
|
MD5 | 2acc08b13eb4e970817fb4e92318c0ee |
|
BLAKE2b-256 | 22af981936b3e1d2fb8c4b26787708f43715a09571d86b0996a34fc00375b7e7 |
Hashes for raven_hydro-0.2.0-cp38-cp38-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3c6eace07fed1404f4bdcc2732797683bc3ec5f16300f31253acc1355553b4b |
|
MD5 | 38d52abec0fbd2cd1e782ab3200cc450 |
|
BLAKE2b-256 | b8a7406b6cfae1e632ec52ecbae6292527147ebfcb1ee442f00392983b6f9a53 |
Hashes for raven_hydro-0.2.0-cp38-cp38-macosx_10_16_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58db5758b7802c22044ec0add2f644c106ff2e547b28257b0acee41c0279c9b5 |
|
MD5 | bf30c7e3bbf78b549e76dd4d7ecd6254 |
|
BLAKE2b-256 | f3e07b9663827d1bd567349fb3bf582b67a1e01a6b48bcda8b33df95de7b150b |