rapid2

Routing Application for Programmed Integration of Discharge

https://github.com/c-h-david/rapid2

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Routing Application for Programmed Integration of Discharge

Basic Info
  • Host: GitHub
  • Owner: c-h-david
  • License: other
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 116 KB
Statistics
  • Stars: 2
  • Watchers: 3
  • Forks: 5
  • Open Issues: 3
  • Releases: 0
Created over 1 year ago · Last pushed 8 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Governance

README.md

RAPID2

License (3-Clause BSD)

Contributor Covenant

Code of Collab

SLIM

GitHub CI Status

GitHub CI Status

Docker Images

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:

Features

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

Contents

Quick Start

This guide provides a quick way to get started with our project. Please see the RAPID website for a more comprehensive information.

Requirements

  • git
  • python3.11
  • pip3

Setup Instructions

bash git clone https://github.com/c-h-david/rapid2 cd rapid2 pip3 install .

Run Instructions

bash rapid2 -nl namelist.yml

OR

bash rapid2 --namelist namelist.yml

Usage Examples

Below is an example of what namelist.yml should include:

```yaml

Qexncf: './input/Test/QextTest2000010120000102.nc4' Q00ncf: './input/Test/QinitTest2000010120000102.nc4'

concsv: './input/Test/rapidconnectTest.csv' kprcsv: './input/Test/kTest.csv' xprcsv: './input/Test/x_Test.csv'

bascsv: './input/Test/rivbasidTest.csv'

IS_dtR: 900

Qouncf: './output/Test/QoutTest2000010120000102tst.nc4' Qfincf: './output/Test/QfinalTest2000010120000102tst.nc4' ```

Build Instructions

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:

bash 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:

bash sudo apt-get install -y --no-install-recommends python3.11

Also make sure that python3 points to python3.11:

bash sudo rm -f /usr/bin/python3 sudo ln -s /usr/bin/python3.11 /usr/bin/python3

Test Instructions

See our TESTING.md for a description of our tests.

Changelog

See our CHANGELOG.md for a history of our changes.

See our releases page for our key versioned releases.

Frequently Asked Questions (FAQ)

Questions about our project? Please see our Discussion Board.

Contributing

Interested in contributing to our project? Please see:

License

We use a Berkeley Software Distribution 3-Clause license: LICENSE

Support

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

Owner

  • Name: Cedric H. David
  • Login: c-h-david
  • Kind: user
  • Location: Pasadena, CA.
  • Company: Jet Propulsion Laboratory

Citation (CITATION.cff)

cff-version: 1.2.0
title: >-
  Routing Application for Programmed Integration of Discharge (RAPID)
message: >-
  If you use this software, please cite it using all Digital Object Identifiers
  (DOIs) provided in this file.
type: software
authors:
  - given-names: Cedric H.
    family-names: David
    orcid: 'https://orcid.org/0000-0002-0924-5907'
    email: cedric.david@jpl.nasa.gov
    affiliation: >-
      Jet Propulsion Laboratory, California Institute of Technology
identifiers:
  - type: doi
    value: 10.1175/2011JHM1345.1
    description: River Network Routing on the NHDPlus Dataset
  - type: doi
    value: 10.1002/2015EA000142
    description: >-
      A decade of RAPID - Reflections on the development of an open source
      geoscience code
repository-code: 'https://github.com/c-h-david/rapid2'
url: 'http://rapid-hub.org/'
abstract: >-
  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.
keywords:
  - River
  - Network
  - Routing
  - Model
  - Muskingum
  - Matrix
  - Water
  - Flow
  - Discharge
license: BSD-3-Clause

GitHub Events

Total
  • Issues event: 3
  • Watch event: 7
  • Delete event: 2
  • Member event: 1
  • Issue comment event: 14
  • Push event: 29
  • Pull request review event: 3
  • Pull request event: 11
  • Fork event: 5
  • Create event: 2
Last Year
  • Issues event: 3
  • Watch event: 7
  • Delete event: 2
  • Member event: 1
  • Issue comment event: 14
  • Push event: 29
  • Pull request review event: 3
  • Pull request event: 11
  • Fork event: 5
  • Create event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 3
  • Total pull requests: 6
  • Average time to close issues: N/A
  • Average time to close pull requests: about 5 hours
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.33
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 6
  • Average time to close issues: N/A
  • Average time to close pull requests: about 5 hours
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.33
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • riverma (2)
  • c-h-david (1)
Pull Request Authors
  • riverma (4)
  • yunks128 (2)
Top Labels
Issue Labels
enhancement (3)
Pull Request Labels
documentation (1) bug (1)

Dependencies

.github/workflows/CD.yml actions
  • actions/checkout v4 composite
  • docker/build-push-action v5 composite
  • docker/login-action v3 composite
  • docker/setup-buildx-action v3 composite
  • docker/setup-qemu-action v3 composite
.github/workflows/CI.yml actions
  • actions/checkout v4 composite
Dockerfile docker
  • debian 12.6-slim build
requirements.pip pypi
  • flake8 ==7.1.1
  • mypy ==1.11.2
  • netCDF4 ==1.7.1.post2
  • numpy ==2.1.1
  • pip ==23.0.1
  • scipy ==1.14.1
  • setuptools ==66.1.1
  • wheel ==0.44.0
  • yamllint ==1.35.1