wmf

Watershed Modelling Framework

https://github.com/nicolas998/wmf

Science Score: 36.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 11 committers (27.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.4%) to scientific vocabulary

Keywords

hydrological-model hydrological-modelling hydrology
Last synced: 10 months ago · JSON representation

Repository

Watershed Modelling Framework

Basic Info
  • Host: GitHub
  • Owner: nicolas998
  • License: gpl-3.0
  • Language: Python
  • Default Branch: develop
  • Homepage:
  • Size: 20.5 MB
Statistics
  • Stars: 29
  • Watchers: 5
  • Forks: 20
  • Open Issues: 20
  • Releases: 8
Topics
hydrological-model hydrological-modelling hydrology
Created over 10 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.md


wmf


WMF (Watershed Modeling Framework) is a module to design to work with hydrographic watersheds and the execution of hydrological models. Additionally, it contains tools for data visualization, analysis of variables, and geomorphological analysis.

In a Linux machine you just need you can install the module by typing:

  • sudo python3 setup.py install

or

  • python3 setup.py install --user

To import the module:

  • from wmf import wmf

Modules


WMF is the result of two Fortran modules and one python script.

cuencas.f90

This module has the tools to extract streams and watersheds from a given DIR and DEM maps. Also, it has multiple functions to perform different tasks based on the topology of the watershed. Some of the tasks are:

  • Obtain the area, slope, TI, HAND, Width function, Horton Order.
  • Extract the network, identify hillslopes and links.
  • Convert raster to the topology of the watershed. It can also convert variables to hills or vice-versa.

modelos.f90

This module has the TETIS model (Velez, 2001) written from scratch. It also contains several sub-models and has functions to write and read binary data related to the input and output variables of the hydrological model. The sub-models are:

  • HydroFlash: A flash flood 1D hydraulic model to obtain flood plains during execution based on the DEM and the results of the hydrological model.

  • SHIA-landslide: An adaptation of the landslide model developed by Aristizabal (2014).

  • SED: An adaptation of the sediment production model developed for the CASC2D-SED model.

wmf.py

This is the base script that merges cuencas.f90 and modelos.f90. It has defined several classes such as the SimuBasin class that could be considered the heart of WMF. In this module, we have many functionalities done as an interface to the Fortran modules.

Requirements:

  • A Fortran compiler such as gfortran, also the user must have the python3-dev tools.
  • Python 3.6
  • A Unix machine
  • You must have these packages.
    • numpy
    • glob
    • mpl_toolkits.basemap
    • netCDF4
    • osgeo
    • gdal
    • scipy
    • os
    • pandas
    • datetime
    • matplotlib

I also have tried WMF in Google Colab just type:

!pip install git+https://github.com/nicolas998/WMF.git

Owner

  • Name: Nicolas998
  • Login: nicolas998
  • Kind: user
  • Company: @Iowa-Flood-Center

GitHub Events

Total
  • Watch event: 1
  • Push event: 3
  • Pull request event: 2
  • Fork event: 1
Last Year
  • Watch event: 1
  • Push event: 3
  • Pull request event: 2
  • Fork event: 1

Committers

Last synced: almost 2 years ago

All Time
  • Total Commits: 494
  • Total Committers: 11
  • Avg Commits per committer: 44.909
  • Development Distribution Score (DDS): 0.243
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
nicolas998 n****n@g****m 374
vanesalo10 v****m@u****o 38
marcae777 m****7@g****m 27
nicolas998 m****o@s****o 19
scastil s****i@u****o 12
seospinale s****a@g****m 11
camilo2046 c****6@g****m 9
PatoSalamanca s****i@u****o 1
nicolas998 n****s@u****a 1
Low Kian Seong l****s 1
vanesalo10 4****0 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 39
  • Total pull requests: 64
  • Average time to close issues: 3 months
  • Average time to close pull requests: 11 days
  • Total issue authors: 3
  • Total pull request authors: 9
  • Average comments per issue: 0.95
  • Average comments per pull request: 0.06
  • Merged pull requests: 62
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 months
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nicolas998 (32)
  • Scastil (6)
  • JulianOspina20 (1)
Pull Request Authors
  • nicolas998 (28)
  • vanesalo10 (10)
  • camilo2046 (10)
  • the-beatle (8)
  • seospinale (3)
  • miguel-source (2)
  • gurbuzf (1)
  • PatoSalamanca (1)
  • samland1116 (1)
Top Labels
Issue Labels
enhancement (26) qgis (12) bug (10) help wanted (4)
Pull Request Labels
enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 16 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 17
  • Total maintainers: 1
pypi.org: wmf

Watershed Modelling Framework

  • Versions: 17
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 16 Last month
Rankings
Forks count: 8.1%
Dependent repos count: 8.9%
Dependent packages count: 10.1%
Stargazers count: 11.6%
Average: 15.7%
Downloads: 39.6%
Maintainers (1)
Last synced: 10 months ago