The Routing Application for Programmed Integration of Discharge (RAPID) is a river network routing model. Given external inflow to rivers, this model can compute the flow of water everywhere in river networks made out of many thousands of reaches.
Notable links:
Notable features of the RAPID model:
- Open Source
- Described in peer-reviewed papers
- Has been used in 100+ studies published in international peer-reviewed journals
- Operationally implemented at world-class research centers
This guide provides a quick way to get started with our project. Please see the RAPID website for a more comprehensive information.
git
python3.11
pip3
git clone https://github.com/c-h-david/rapid2
cd rapid2
pip3 install .
rapid2 -nl namelist.yml
OR
rapid2 --namelist namelist.yml
Below is an example of what namelist.yml
should include:
---
m3r_ncf: './input/Test/m3_riv_Test_20000101_20000102.nc4'
con_csv: './input/Test/rapid_connect_Test.csv'
kpr_csv: './input/Test/k_Test.csv'
xpr_csv: './input/Test/x_Test.csv'
bas_csv: './input/Test/riv_bas_id_Test.csv'
IS_dtR: 900
Qou_ncf: './output/Test/Qout_Test_20000101_20000102_tst.nc4'
If you would like to build an Operating System to run RAPID2 from scratch,
we recommend Debian-based distributions and software packages for the
Advanced Packaging Tool (APT) are summarized in
requirements.apt
to be installed with apt-get
. All packages can be installed at once
using:
sudo apt-get install -y --no-install-recommends \
$(grep -v -E '(^#|^$)' requirements.apt)
Alternatively, one may install the APT packages listed in requirements.apt one by one, for example:
sudo apt-get install -y --no-install-recommends python3.11
Also make sure that python3
points to python3.11
:
sudo rm -f /usr/bin/python3
sudo ln -s /usr/bin/python3.11 /usr/bin/python3
See our TESTING.md
for a description of our tests.
See our CHANGELOG.md
for a history of our changes.
See our releases page for our key versioned releases.
Questions about our project? Please see our Discussion Board.
Interested in contributing to our project? Please see:
We use a Berkeley Software Distribution 3-Clause license:
LICENSE
The prefered way to interact with RAPID2 and its community is to do so through our public online resources:
For sensitive matters that cannot be shared publicly, contact Cédric H. David