Skip to main content

Hydrological Lumped Model Tools

Project description

Lumped Models (LuMod) for Hydrology

LuMod is an easy to use set of Lumped Models for hydrological simulation in Python language.

Compared with other source codes that pretend to be fast, LuMod was created to facilitate the modeling and the results processing. Moreover, some features of LuMod are compiled with numba to increase simulation speed.

Documentation

Full documentation and examples are available here: LuMod-Docs

Installation is available from PyPI: LuMod project

If you are not familiar with Python, try our Web Application: LuMod-App

Key Features

LuMod incorporates well know hydrological models with different structures:

  • MILC: One layer Lumped version of the MISDc model adapted for continous daily simulation.
  • HYMOD: Rainfall-Runoff Model based on the Probability-Distributed Model concept that runs at daily timestep.
  • HBV: Modified version of the Hydrologiska Byråns Vattenbalansavdelning (HBV) model.
  • GR4J: Well known daily rain-runoff model that depends of four parameters.
  • GR2M: Monthly rain-runoff model that depends of two parameters.
  • GR1A: One parameter annual rain-runoff model.
  • MonteCarlo: Random-based simulation for parameters optimization and uncertainty analysis.

Quick installation

The easier way to install LuMod is using PyPI:

pip install lumod

Basic Example

LuMod was thought to be easy to use and compatible with libraries dedicated to DataScience, so it works with Pandas and Matplotlib to facilitate the analysis of simulations.

# Import modules
import lumod
from lumod import tools

# Load example data
info, forcings = lumod.load_example(2)

# Create a model
parameters = {"x1": 500, "x3": 200}  # define some parameters
model = lumod.models.GR4J(area=info.area, lat=info.lat, params=parameters)
print(model)

# Run your model
simulations = model.run(forcings, x2=3.0) # modify parameter x2 before start

# Validate your model
tools.plots.model_evaluation(forcings.prec, forcings.qt, simulations.qt)

Citation

Coming Soon

Author

Main Developer

Saúl Arciniega Esparza, Ph.D., Full Time Associate Professor at the Faculty of Engineering at the National Autonomous University of Mexico, working on the Hydrogeology Group.

LinkedIn | Twitter | ResearchGate

Collaborators

Christian Birkel, Ph.D., Full Time Professor and Researcher at the Departament of Geography at University of Costa Rica, and leader of the Observatory of Water and Global Change (OACG).

Facebook | ResearchGate

Acknowledgments

Funding

The National Council of Science and Technology (CONACYT), the Leverhulme Trust and the German Academic Exchange Service (DAAD) are thanked for partial funding of this work.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lumod-0.1.3.0.tar.gz (279.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lumod-0.1.3.0-py3-none-any.whl (259.5 kB view details)

Uploaded Python 3

File details

Details for the file lumod-0.1.3.0.tar.gz.

File metadata

  • Download URL: lumod-0.1.3.0.tar.gz
  • Upload date:
  • Size: 279.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.7.7 Windows/10

File hashes

Hashes for lumod-0.1.3.0.tar.gz
Algorithm Hash digest
SHA256 08d04de401671873e6678c408fb40662aa376480d8950ce74fa9f218e1fba545
MD5 a5712814bd46e72d9cd5ce72827a3eaa
BLAKE2b-256 adeec8602676d2f66c0a7140113436eb5248c7fcd0615cea836b91741806712e

See more details on using hashes here.

File details

Details for the file lumod-0.1.3.0-py3-none-any.whl.

File metadata

  • Download URL: lumod-0.1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 259.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.7.7 Windows/10

File hashes

Hashes for lumod-0.1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 814f029cf4b62534d36fc7b6a7d2be1102f0a580135d1164c282c00ae6c67a42
MD5 ea499a85e61f400eb3084e8f9df5ce2f
BLAKE2b-256 bdff3bc99193126c11421ad4a778bb216879a64fee27c0f0c84b4bbdb1f7f272

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page