Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RVIC Streamflow routing model #5131

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions recipes/rvic/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{% set name = "RVIC" %}
{% set version = "1.1.1" %}
{% set sha256 = "7dae5d7c5d2e79b8dda59651c363c8596e10b3b33730ec83e10fb960ba14eee0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
fn: {{ name }}-{{ name|lower }}-{{ version }}.tar.gz
url: https://github.com/UW-Hydro/{{ name }}/archive/{{ name|lower }}.{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0
script: python -m pip install --no-deps --ignore-installed .
requirements:
build:
- python >=3
- toolchain
- pip
run:
- python >=3
- numpy
- scipy
- pandas
- netcdf4
- matplotlib

test:
imports:
- rvic
- rvic.core
- rvic.parameters
- rvic.convolution
- rvic.convert
commands:
- rvic --help
- rvic parameters --help
- rvic convolution --help
- rvic convert --help
requires:
- pytest

about:
home: https://github.com/UW-Hydro/RVIC
license: GPL-3.0
license_family: GPL3
license_file: LICENSE.txt
summary: 'RVIC Streamflow Routing Model'

description: |
The RVIC streamflow routing model is an adapted version of the model the
model typically used as a post-processor with the Variable Infiltration
Capacity (VIC) hydrology model. The routing model is a source-to-sink model
that solves a linearized version of the Saint-Venant equations. This
model, developed by Lohmann et al. (1996, 1998a, 1998b), has been used in
many offline studies at a variety of spatial scales. Furthermore, the
development of the impulse response functions (IRFs) is done as a
preprocessing step, which considerably reduces the computation time in
subsequent routing steps.
doc_url: http://rvic.readthedocs.io/
dev_url: https://github.com/UW-Hydro/RVIC

extra:
recipe-maintainers:
- jhamman
- bartnijssen