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

SMODERP2D

Distributed event-based model for surface and subsurface runoff and erosion.
https://github.com/storm-fsv-cvut/smoderp2d

Category: Natural Resources
Sub Category: Soil and Land

Keywords

gis-based soil-erosion surface-runoff

Keywords from Contributors

arrays earth-observation geospatial-analysis grass-gis open-science parallel-computing timeseries-analysis

Last synced: about 18 hours ago
JSON representation

Repository metadata

SMODERP2D - Distributed event-based model for surface and subsurface runoff and erosion

README.md

SMODERP2D

cmd_provider_consistency_test
grass_provider_consistency_test

Distributed event-based model for surface and subsurface runoff and erosion.

    @ @ @   @       @     @ @     @ @ @     @ @ @ @  @ @ @    @ @ @
   @        @ @   @ @   @     @   @     @   @        @     @  @     @
   @        @   @   @  @       @  @      @  @        @     @  @     @
     @ @    @       @  @       @  @      @  @ @ @    @ @ @    @ @ @
         @  @       @  @       @  @      @  @        @   @    @
         @  @       @   @     @   @     @   @        @    @   @
    @ @ @   @       @     @ @     @ @ @     @ @ @ @  @     @  @
    \  \  /   / /    \   \  /   \  /    /     /       @ @ @   @ @ @
     \ _\/   /_/      \   \/     \/    /_____/       @     @  @     @
         \__/          \  /      _\___/                    @  @      @
             \____      \/      /                         @   @      @
                  \_____/______/                        @     @      @
                               \                      @       @     @
                                \___________________ @ @ @ @  @ @ @

User documentation: https://storm-fsv-cvut.github.io/smoderp2d-manual/

How to test

Download SMODERP2D source code to your computer.

git clone https://github.com/storm-fsv-cvut/smoderp2d.git

From Docker container

Build an image:

docker build \
 --tag smoderp2d:latest --file docker/Dockerfile .

Run SMODERP2D command line tool from Docker container:

docker run \
 -v `pwd`:/opt/smoderp2d -w /opt/smoderp2d/ --rm --entrypoint \
 ./bin/start-smoderp2d.py smoderp2d \
 --config tests/config_files/quicktest_stream_rill.ini

GRASS GIS

Build an image with GRASS GIS support:

docker build \
 --tag smoderp2d-grass:latest --file docker/grass/Dockerfile .

Run SMODERP2D with GRASS GIS provider from Docker container:

docker run \
 -v `pwd`:/opt/smoderp2d -w /opt/smoderp2d/ --rm --entrypoint \
 ./tests/run_grass_gistest.sh smoderp2d-grass \
 nucice

Run locally

Command line

PYTHONPATH=$PYTHONPATH:`pwd` ./bin/start-smoderp2d.py --config tests/config_files/quicktest_stream_rill.ini

QGIS

Requirements: QGIS 3.28.10 and higher

Define QGIS_PLUGINPATH and PYTHONPATH environmental variables in
Settings -> Options -> System and restart QGIS.

Than enable SMODERP2D plugin in Plugins -> Manage and Install Plugins....

Alternatively set up environment variables in command line before starting QGIS:

PYTHONPATH=$PYTHONPATH:`pwd` QGIS_PLUGINPATH=`pwd`/bin/qgis qgis tests/data/nucice/qgis_project.qgz

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: "Kavka"
    given-names: "Petr"
    orcid: "https://orcid.org/0000-0002-6511-9518"
  - family-names: "Landa"
    given-names: "Martin"
    orcid: "https://orcid.org/0000-0001-6869-3542"
  - family-names: "Jeřábek"
    given-names: "Jakub"
    orcid: "https://orcid.org/0000-0003-0413-1537"
  - family-names: "Pešek"
    given-names: "Ondřej"
    orcid: "https://orcid.org/0000-0002-2363-8002"
title: "SMODERP - Distributed event-based model for surface and subsurface runoff and erosion."
version: 2.0.1
date-released: 2024-09-01
url: "https://github.com/storm-fsv-cvut/smoderp2d"
references:
  - type: "software"
    title: "SMODERP - Distributed event-based model for surface and subsurface runoff and erosion."
    authors:
      - family-names: "Kavka"
        given-names: "Petr"
      - family-names: "Landa"
        given-names: "Martin"
      - family-names: "Jeřábek"
        given-names: "Jakub"
      - family-names: "Pešek"
        given-names: "Ondřej"
    version: "2.0.1"
    date-released: "2024-09-01"
    url: "https://github.com/storm-fsv-cvut/smoderp2d"
  - type: "article"
    title: "SMODERP2D—Sheet and Rill Runoff Routine Validation at Three Scale Levels"
    authors:
      - family-names: "Kavka"
        given-names: "Petr"
      - family-names: "Jeřábek"
        given-names: "Jakub"
      - family-names: "Landa"
        given-names: "Martin"
    date-released: "2022-01-23"
    url: "https://doi.org/10.3390/w14030327"
    doi: "10.3390/w14030327"
    keywords: ["sheet flow", "rill flow", "scales", "model validation", "SMODERP"]

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 1,467
Total Committers: 10
Avg Commits per committer: 146.7
Development Distribution Score (DDS): 0.635

Commits in past year: 85
Committers in past year: 5
Avg Commits per committer in past year: 17.0
Development Distribution Score (DDS) in past year: 0.482

Name Email Commits
ondrej p****k@g****m 535
Martin Landa l****n@g****m 482
jerabekjak j****u@g****m 244
Michael Kala m****a@e****z 136
kavkapet p****a@f****z 30
pikorcik t****e@s****z 28
Jan Devátý j****y@f****z 6
jerabekjak j****k@f****z 4
Jakub S 1****a 1
ondrej o****j@b****z 1

Committer domains:


Issue and Pull Request metadata

Last synced: about 18 hours ago

Total issues: 186
Total pull requests: 86
Average time to close issues: about 1 year
Average time to close pull requests: 23 days
Total issue authors: 9
Total pull request authors: 6
Average comments per issue: 1.97
Average comments per pull request: 1.37
Merged pull request: 72
Bot issues: 0
Bot pull requests: 1

Past year issues: 15
Past year pull requests: 40
Past year average time to close issues: 20 days
Past year average time to close pull requests: 4 days
Past year issue authors: 6
Past year pull request authors: 4
Past year average comments per issue: 1.87
Past year average comments per pull request: 0.55
Past year merged pull request: 35
Past year bot issues: 0
Past year bot pull requests: 1

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/storm-fsv-cvut/smoderp2d

Top Issue Authors

  • landam (91)
  • jerabekjak (46)
  • pesekon2 (20)
  • kavkapet (16)
  • TomasLib (4)
  • kalator (4)
  • kubatjanf (2)
  • pikorcik (2)
  • jehlijos (1)

Top Pull Request Authors

  • pesekon2 (38)
  • landam (28)
  • jerabekjak (17)
  • dependabot[bot] (1)
  • kavkapet (1)
  • kubsta (1)

Top Issue Labels

  • enhancement (46)
  • ArcGIS (39)
  • data preparation (38)
  • bug (35)
  • GRASS GIS (20)
  • QGIS (19)
  • task (12)
  • +branch: infiltration_tacr (8)
  • question (8)
  • help wanted (7)
  • post-processing (6)
  • profile1d (5)
  • diffusive wave approximation (2)
  • MS Windows (2)
  • +branch: tf_smoderp (2)
  • invalid (2)

Top Pull Request Labels

  • enhancement (24)
  • GRASS GIS (5)
  • bug (5)
  • QGIS (5)
  • data preparation (5)
  • profile1d (4)
  • tests (2)
  • WPS (2)
  • +branch: infiltration_tacr (1)
  • dependencies (1)
  • ArcGIS (1)

Dependencies

bin/wps/requirements.txt pypi
  • numpy >=1.14
  • python-magic ==0.4.18
  • pywps ==4.2.8
  • werkzeug <2
docker/requirements.txt pypi
  • numpy >=1.14
bin/wps/Dockerfile docker
  • ubuntu 18.04 build
bin/wps/docker-compose-letsencrypt.yml docker
  • smoderp_wps_demo latest
bin/wps/docker-compose.yml docker
  • smoderp_wps_demo latest
docker/Dockerfile docker
  • python 3.10-slim-bullseye build
.github/workflows/cmd_provider.yml actions
.github/workflows/cmd_template.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/grass_provider.yml actions
  • actions/checkout v3 composite
.github/workflows/requirements2.7.txt pypi
  • configparser *
  • numpy ==1.16.6
  • pytest ==4.6.11
setup.py pypi
.github/workflows/requirements.txt pypi
  • configparser *
.github/workflows/requirements3.11.txt pypi
  • numpy ==1.23.5
  • pytest *
.github/workflows/requirements3.9.txt pypi
  • numpy ==1.20.1
  • pytest ==7.2.2

Score: 6.536691597591306