A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

rabpro

Delineating watershed basins and computing attribute statistics using Google Earth Engine.
https://github.com/VeinsOfTheEarth/rabpro

Category: Hydrosphere
Sub Category: Freshwater and Hydrology

Keywords

manuscript python

Keywords from Contributors

archiving transforms routes observation measur conversion birds parallel reporting profiles

Last synced: about 21 hours ago
JSON representation

Repository metadata

Delineating watershed basins and computing attribute statistics using Google Earth Engine

README.md

Package to delineate watershed basins and compute attribute statistics using Google Earth Engine.

Setup

Software installation Data configuration Software configuration

Usage

See Example notebooks:

Data configuration Basic workflow Multiple basins workflow Basin stats examples

Citation

The following text is the current citation for rabpro:

Schwenk, J., T. Zussman, J. Stachelek, and J. Rowland. (2022). rabpro: global watershed boundaries, river elevation profiles, and catchment statistics. Journal of Open Source Software, 7(73), 4237, https://doi.org/10.21105/joss.04237.

If you delineate watersheds, you should cite either or both (depending on your method) of HydroBasins:

Lehner, B., Grill G. (2013). Global river hydrography and network routing: baseline data and new approaches to study the world’s large river systems. Hydrological Processes, 27(15): 2171–2186. https://doi.org/10.1002/hyp.9740

or MERIT-Hydro:

Yamazaki, D., Ikeshima, D., Sosa, J., Bates, P. D., Allen, G. H., & Pavelsky, T. M. (2019). MERIT Hydro: A high‐resolution global hydrography map based on latest topography dataset. Water Resources Research, 55(6), 5053-5073. https://doi.org/10.1029/2019WR024873

Development

Testing

python -m pytest
python -m pytest -k "test_img"

Local docs build

cd docs && make html

Contributing

We welcome all forms of user contributions including feature requests, bug reports, code, and documentation requests - simply open an issue.

Note that rabpro adheres to Black code style and NumPy-style docstrings for documentation. We ask that contributions adhere to these standards as much as possible. For code development contributions, please contact us via email (rabpro at lanl [dot] gov) to be added to our slack channel where we can hash out a plan for your contribution.

Citation (CITATION.cff)

cff-version: 1.2.0
title: >-
  rabpro: global watershed boundaries, river
  elevation profiles, and catchment statistics
message: 'If you use this software, please cite it as below.'

authors:
- given-names: Jon
  family-names: Schwenk
  affiliation: Los Alamos National Laboratory
  orcid: 'https://orcid.org/0000-0001-5803-9686'
- given-names: Tal
  family-names: Zussman
  affiliation: Columbia University
  orcid: 'https://orcid.org/0000-0003-3087-8511'
- given-names: Jemma
  family-names: Stachelek
  affiliation: '@lanl'
  orcid: 'https://orcid.org/0000-0002-5924-2464'
- given-names: Joel C.
  family-names: Rowland
  orcid: 'https://orcid.org/0000-0001-6308-8976'

version: 0.5.2
url: "https://github.com/VeinsOfTheEarth/rabpro"

preferred-citation:
  type: article
  authors:
  - given-names: Jon
    family-names: Schwenk
    affiliation: Los Alamos National Laboratory
    orcid: 'https://orcid.org/0000-0001-5803-9686'
  - given-names: Tal
    family-names: Zussman
    affiliation: Columbia University
    orcid: 'https://orcid.org/0000-0003-3087-8511'
  - given-names: Jemma
    family-names: Stachelek
    affiliation: '@lanl'
    orcid: 'https://orcid.org/0000-0002-5924-2464'
  - given-names: Joel C.
    family-names: Rowland
    orcid: 'https://orcid.org/0000-0001-6308-8976'
  title: >-
    rabpro: global watershed boundaries, river
    elevation profiles, and catchment statistics
  journal: Journal of Open Source Software
  year: 2022
  volume: 7
  issue: 73
  start: 4237
  doi: 10.21105/joss.04237
  url: https://doi.org/10.21105/joss.04237
  publisher:
    name: The Open Journal

license: BSD-3-Clause
license-url: "https://github.com/VeinsOfTheEarth/rabpro/blob/main/LICENSE.txt"
repository-code: "https://github.com/VeinsOfTheEarth/rabpro"

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 1,039
Total Committers: 6
Avg Commits per committer: 173.167
Development Distribution Score (DDS): 0.588

Commits in past year: 62
Committers in past year: 3
Avg Commits per committer in past year: 20.667
Development Distribution Score (DDS) in past year: 0.177

Name Email Commits
jsta s****2@m****u 428
GitHub Action a****n@g****m 256
Tal Zussman t****s@g****m 216
Jon Schwenk j****k@g****m 114
dependabot[bot] 4****] 15
Jon Schwenk j****k@l****v 10

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 79
Total pull requests: 38
Average time to close issues: about 1 month
Average time to close pull requests: 21 days
Total issue authors: 9
Total pull request authors: 4
Average comments per issue: 3.23
Average comments per pull request: 0.92
Merged pull request: 33
Bot issues: 0
Bot pull requests: 15

Past year issues: 1
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: about 10 hours
Past year issue authors: 1
Past year pull request authors: 1
Past year average comments per issue: 1.0
Past year average comments per pull request: 0.0
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 1

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/VeinsOfTheEarth/rabpro

Top Issue Authors

  • jsta (48)
  • jonschwenk (17)
  • kanishkan91 (8)
  • thurber (1)
  • Monte-Carlo (1)
  • tzussman (1)
  • jmdelvecchio (1)
  • LabSR-UT (1)
  • jcrowland70 (1)

Top Pull Request Authors

  • dependabot[bot] (15)
  • tzussman (13)
  • jsta (9)
  • TrellixVulnTeam (1)

Top Issue Labels

  • data request (8)
  • documentation (2)

Top Pull Request Labels

  • dependencies (15)

Package metadata

conda-forge.org: rabpro

rabpro computes longitudinal river profiles, global watershed delineation, watershed stats.

  • Homepage: https://github.com/VeinsOfTheEarth/rabpro
  • Licenses: BSD-3-Clause
  • Latest release: 0.5.2 (published almost 3 years ago)
  • Last Synced: 2025-04-02T02:09:28.832Z (26 days ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 34.025%
    • Stargazers count: 43.699%
    • Average: 43.727%
    • Forks count: 46.009%
    • Dependent packages count: 51.175%

Dependencies

environment.yml conda
  • appdirs
  • beautifulsoup4
  • earthengine-api
  • gdal
  • gdown
  • geopandas
  • numpy
  • pyproj >2.2.0
  • python >=3.7,<3.10
  • requests
  • scikit-image
  • shapely
  • tqdm
conda/yum_requirements.txt pypi
  • mesa-libGL *
docs/doc_requirements.txt pypi
  • nbsphinx *
  • numpydoc *
  • sphinx *
  • sphinx-panels *
  • sphinx_rtd_theme *
setup.py pypi
  • appdirs *
  • beautifulsoup4 *
  • earthengine-api *
  • gdal *
  • gdown *
  • geopandas >=0.7.0
  • numpy *
  • pyproj *
  • requests *
  • scikit-image *
  • shapely *
  • tqdm *
tests/test_requirements.txt pypi
  • coverage * test
  • pytest * test
.github/workflows/build.yaml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/data-comment.yml actions
  • peter-evans/create-or-update-comment a35cf36e5301d70b76f316e867e7788a55a31dae composite
.github/workflows/docs.yaml actions
  • JamesIves/github-pages-deploy-action 4.1.4 composite
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/gee_catalog.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
conda/Dockerfile docker
  • continuumio/miniconda3 4.7.10 build

Score: -Infinity