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

RUBEM

A distributed hydrological model to calculate monthly flows with changes in land use over time.
https://github.com/LabSid-USP/RUBEM

Category: Hydrosphere
Sub Category: Freshwater and Hydrology

Keywords

catchment grid hydrological-model hydrology pcraster remote-sensing rubem simulation-model water

Keywords from Contributors

archiving measur transforms optimize generic compose observation conversion animals projection

Last synced: about 13 hours ago
JSON representation

Repository metadata

The Rainfall rUnoff Balance Enhanced Model (RUBEM) distributed hydrological model

README.md

DOI
GPL v3 License
Unit tests
CodeQL
Documentation Status
Issues
Contributors
GitHub Commit Activity
Forks
Stargazers
LabSid YouTube Channel

About The Project

The Rainfall rUnoff Balance Enhanced Model (RUBEM) [^MELLOetal2022a][^MELLOetal2022b] is a hydrological model for transforming precipitation into surface and subsurface runoff. The model is based on equations that represent the physical processes of the hydrological cycle, with spatial distribution defined by pixel, in distinct vegetated and non-vegetated covers, and has the flexibility to study a wide range of applications, including impacts of changes in climate and land use, has flexible spatial resolution, the inputs are raster-type matrix files obtained from remote sensing data and operates with a reduced number of parameters arranged in a configuration file that facilitates its modification throughout the area.

Main features

The model was developed based on classical concepts of hydrological processes and equations based mainly on SPHY [^TERINKetal2015], WEAP [^YATESetal2005], and WetSpass-M [^ABDOLLAHIetal2017]. The main features of the developed model are:

  • Distributed monthly step model;
  • Hydrological process based on soil water balance in each pixel, and flow total calculated after composition of the resulting accumulated flow, according to Direction drainage network flow established by the digital elevation model (DEM);
  • Calculations for two zones: rootzone and saturated;
  • Evapotranspiration and interception process based on vegetation index: Leaf Area Index (LAI), Photosynthetically Active Radiation Fraction (FPAR) and Normalized Difference Vegetation Index (NDVI); and
  • Sub-pixel level coverage classification, represented by four fractions that represent percentage of total pixel area covered exclusively by: area vegetated, bare soil area, water area and impervious area.

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • From Miniconda base envionment create a new conda envionment

    conda env create -n rubem --file env-prod.yml
    
  • Activate the new environment

    • Windows

      conda activate rubem
      
    • Linux, macOS

      source activate rubem
      

Installation

  1. Download the latest release zip file from the releases page;
  2. Extract the zip, and copy the extracted root directory into a local directory.

Usage

  • Typical usage example
  python rubem --configfile config.ini
  • Help usage example
python rubem -h

For more examples, please refer to the user guide and tutorials.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. See CONTRIBUTING.md for more information.

License

Distributed under the GPLv3 License. See LICENSE.md for more information.

Contact

[!TIP]
In any of our communication channels please abide by the Code of Conduct. In summary, being friendly and patient, considerate, respectful, and careful in your choice of words.

Acknowledgements

[^ABDOLLAHIetal2017]: Abdollahi, K., Bashir, I., Harouna, M., Griensven, A., Huysmans, M., Batelaan, O., Verbeiren, B., A distributed monthly water balance model: formulation and application on Black Volta Basin, Environ Earth Sci, 76:198, 2017. https://doi.org/10.1007/s12665-017-6512-1
[^MELLOetal2022a]: Méllo Júnior, A.V.; Olivos, L.M.O.; Billerbeck, C.; Marcellini, S.S.; Vichete, W.D.; Pasetti, D.M.; da Silva, L.M.; Soares, G.A.d.S.; Tercini, J.R.B. Rainfall Runoff Balance Enhanced Model Applied to Tropical Hydrology. Water 2022, 14, 1958. https://doi.org/10.3390/w14121958
[^MELLOetal2022b]: Méllo Júnior, A.V.; Olivos, L.M.O.; Billerbeck, C.; Marcellini, S.S.; Vichete, W.D.; Pasetti, D.M.; da Silva, L.M.; Soares, G.A.d.S.; Tercini, J.R.B. Rainfall-Runoff Balance Enhanced Model Applied to Tropical Hydrology - Supplementary Document. Zenodo 2022. https://doi.org/10.5281/zenodo.6614981
[^TERINKetal2015]: Terink, W., Lutz, A. F., Simons, G. W. H., Immerzeel, W. W., & Droogers, P. SPHY v2.0: Spatial Processes in HYdrology. Geoscientific Model Development 2015, 8(7), 2009–2034. https://doi.org/10.5194/gmd-8-2009-2015
[^YATESetal2005]: Yates, D., Sieber, J., Purkey, D., & Huber-Lee, A. WEAP21—A Demand-, Priority-, and Preference-Driven Water Planning Model. Water International 2005, 30(4), 487–500. https://doi.org/10.1080/02508060508691893

Citation (CITATION.cff)

cff-version: 1.2.0
title: Rainfall rUnoff Balance Enhanced Model (RUBEM)
message: >-
  If you use this software, please cite it using the metadata from this file.
type: software
authors:
- given-names: Arisvaldo
  name-suffix: Jr
  family-names: 'Vieira Méllo'
  email: [email protected]
  orcid: 'https://orcid.org/0000-0001-7110-3128'
  affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
- given-names: Lina Maria
  family-names: Osorio Olivos
  email: [email protected]
  affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
  orcid: 'https://orcid.org/0000-0001-7180-6544'
- given-names: Camila
  family-names: Billerbeck
  email: [email protected]
  affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
  orcid: 'https://orcid.org/0000-0001-5727-2128'
- given-names: Silvana
  family-names: Susko Marcellini
  email: [email protected]
  affiliation: >-
    Laboratório de Sistemas de Suporte a Decisões Aplicados à Engenharia Ambiental e de Recursos Hídricos (LabSid), Escola Politécnica, Universidade de São Paulo, São Paulo, Brasil
  orcid: 'https://orcid.org/0000-0002-3940-8287'
- given-names: William
  family-names: Dantas Vichete
  email: [email protected]
  affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
  orcid: 'https://orcid.org/0000-0003-1225-1037'
- given-names: Daniel
  family-names: Manabe Pasetti
  email: [email protected]
  affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
- given-names: Lígia
  family-names: Monteiro da Silva
  email: [email protected]
  affiliation: >-
    Laboratório de Sistemas de Suporte a Decisões Aplicados à Engenharia Ambiental e de Recursos Hídricos (LabSid), Escola Politécnica, Universidade de São Paulo, São Paulo, Brasil
  orcid: 'https://orcid.org/0000-0002-3033-2140'
- given-names: Gabriel Anísio
  family-names: Santos Soares
  name-particle: dos
  orcid: 'https://orcid.org/0000-0002-3231-0455'
  email: [email protected]
  affiliation: >-
    Laboratório de Sistemas de Suporte a Decisões Aplicados à Engenharia Ambiental e de Recursos Hídricos (LabSid), Escola Politécnica, Universidade de São Paulo, São Paulo, Brasil #magic___^_^___line
- given-names: João Rafael
  family-names: Bergamaschi Tercini
  email: [email protected]
  affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
  orcid: 'https://orcid.org/0000-0002-6070-1090'
identifiers:
- type: doi
  value: 10.5281/zenodo.10562516
repository-code: 'https://github.com/LabSid-USP/rubem'
abstract: >-
  The Rainfall rUnoff Balance Enhanced Model (RUBEM) is a hydrological model for transforming precipitation into surface and subsurface runoff. The model is based on equations that represent the physical processes of the hydrological cycle, with spatial distribution defined by pixel, in distinct vegetated and non-vegetated covers, and has the flexibility to study a wide range of applications, including impacts of changes in climate and land use, has flexible spatial resolution, the inputs are raster-type matrix files obtained from remote sensing data and operates with a reduced number of parameters arranged in a configuration file that facilitates its modification throughout the area.
keywords:
- hydrological modelling
- distributed model
- land use and land cover
- water balance
- remote sensing
- PCRaster
license: GPL-3.0
preferred-citation:
  type: article
  authors:
  - given-names: Arisvaldo
    name-suffix: Jr
    family-names: 'Vieira Méllo'
    email: [email protected]
    orcid: 'https://orcid.org/0000-0001-7110-3128'
    affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
  - given-names: Lina Maria
    family-names: Osorio Olivos
    email: [email protected]
    affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
    orcid: 'https://orcid.org/0000-0001-7180-6544'
  - given-names: Camila
    family-names: Billerbeck
    email: [email protected]
    affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
    orcid: 'https://orcid.org/0000-0001-5727-2128'
  - given-names: Silvana
    family-names: Susko Marcellini
    email: [email protected]
    affiliation: >-
      Laboratório de Sistemas de Suporte a Decisões Aplicados à Engenharia Ambiental e de Recursos Hídricos (LabSid), Escola Politécnica, Universidade de São Paulo, São Paulo, Brasil
    orcid: 'https://orcid.org/0000-0002-3940-8287'
  - given-names: William
    family-names: Dantas Vichete
    email: [email protected]
    affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
    orcid: 'https://orcid.org/0000-0003-1225-1037'
  - given-names: Daniel
    family-names: Manabe Pasetti
    email: [email protected]
    affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
  - given-names: Lígia
    family-names: Monteiro da Silva
    email: [email protected]
    affiliation: >-
      Laboratório de Sistemas de Suporte a Decisões Aplicados à Engenharia Ambiental e de Recursos Hídricos (LabSid), Escola Politécnica, Universidade de São Paulo, São Paulo, Brasil
    orcid: 'https://orcid.org/0000-0002-3033-2140'
  - given-names: Gabriel Anísio
    family-names: Santos Soares
    name-particle: dos
    orcid: 'https://orcid.org/0000-0002-3231-0455'
    email: [email protected]
    affiliation: >-
      Laboratório de Sistemas de Suporte a Decisões Aplicados à Engenharia Ambiental e de Recursos Hídricos (LabSid), Escola Politécnica, Universidade de São Paulo, São Paulo, Brasil #magic___^_^___line
  - given-names: João Rafael
    family-names: Bergamaschi Tercini
    email: [email protected]
    affiliation: 'Universidade de São Paulo, São Paulo, Brasil'
    orcid: 'https://orcid.org/0000-0002-6070-1090'
  doi: "10.3390/w14121958"
  journal: "Water"
  title: "Rainfall Runoff Balance Enhanced Model Applied to Tropical Hydrology"
  start: 1958
  issue: 12
  volume: 14
  year: 2022

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 525
Total Committers: 4
Avg Commits per committer: 131.25
Development Distribution Score (DDS): 0.09

Commits in past year: 2
Committers in past year: 1
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Gabriel Soares 7****l 478
Lina Osorio l****o@u****r 34
dependabot[bot] 4****] 9
dmpasetti 4****i 4

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 103
Total pull requests: 119
Average time to close issues: about 1 month
Average time to close pull requests: 6 days
Total issue authors: 4
Total pull request authors: 4
Average comments per issue: 0.62
Average comments per pull request: 0.23
Merged pull request: 114
Bot issues: 0
Bot pull requests: 18

Past year issues: 0
Past year pull requests: 3
Past year average time to close issues: N/A
Past year average time to close pull requests: 5 months
Past year issue authors: 0
Past year pull request authors: 1
Past year average comments per issue: 0
Past year average comments per pull request: 1.0
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 3

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/LabSid-USP/RUBEM

Top Issue Authors

  • soaressgabriel (95)
  • LINAMARIAOSORIO (5)
  • wdvichete84 (2)
  • camilabillerbeck (1)

Top Pull Request Authors

  • soaressgabriel (96)
  • dependabot[bot] (18)
  • LINAMARIAOSORIO (4)
  • wdvichete84 (1)

Top Issue Labels

  • enhancement (77)
  • documentation (21)
  • high (19)
  • bug (16)
  • stale (15)
  • help wanted (8)
  • question (4)
  • test (2)
  • low (1)

Top Pull Request Labels

  • enhancement (25)
  • documentation (12)
  • bug (7)
  • help wanted (4)
  • high (3)
  • stale (1)

Dependencies

doc/requirements.txt pypi
  • Sphinx ==4.2.0
  • sphinx-autodoc-typehints ==1.12.0
  • sphinx-rtd-theme ==1.0.0
  • sphinxcontrib-email ==0.3.5
  • sphinxcontrib-youtube ==1.0.1
.github/workflows/build-test-conda.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/codecov-conda.yml actions
  • actions/checkout master composite
  • actions/setup-python master composite
  • codecov/codecov-action v2 composite
.github/workflows/codeql-analysis.yml actions
  • actions/checkout v2 composite
  • github/codeql-action/analyze v1 composite
  • github/codeql-action/autobuild v1 composite
  • github/codeql-action/init v1 composite
.github/workflows/greetings.yml actions
  • actions/first-interaction v1 composite
.github/workflows/stale.yml actions
  • actions/stale v3 composite
.github/workflows/build-release.yml actions
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
  • softprops/action-gh-release v1 composite

Score: 3.465735902799726