Skip to main content

A personal hydrology and hydraulics package based on Christophe Ancey and Giovanni De Cesare's teaching: http://fr.ancey.ch/cours/masterGC/cours-hydraulique.pdf

Project description

hydrogibs

Small hydrology package created for the sake of a class projects with Christophe Ancey and Giovanni De Cesare.

The only module that's currently usable is the GR4 model containing:

A Catchment object:

Catchment(X1, X2, X3, X4, surface=1, initial_volume=0) with

  • X1 within [0,1]
  • X2 [mm]
  • X3 within [0,1]
  • X4 [h]
  • surface [km^2]
  • initial_volume [mm]

Preset catchments:

  • Defined as Laval(X1=57.6/100, X2=7.8, X3=2.4/100, X4=0.38, *args, **kwargs), the available presets (listed in the presets dictionary) are:
    • Laval
    • Erlenbach
    • Rimbaud
    • Latte
    • Sapine
    • Rietholzbach
    • Lumpenenbach
    • Vogelbach
    • Brusquet

A rain object

Rain(time: numpy.ndarray, rainfall: numpy.ndarray)

A block rain (rainfall = intensity if t < duration else 0): BlockRain(intensity: float, duration: float)

An app to goof around with all parameters

App(catchment, rain)

Hydraulic profiles

hydrogibs.fluvial.canal.Section(x_array, z_array).plot()

Example file

example.ipynb might help you get the hang of this package

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

hydrogibs-0.0.90.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

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

hydrogibs-0.0.90-py3-none-any.whl (2.8 MB view details)

Uploaded Python 3

File details

Details for the file hydrogibs-0.0.90.tar.gz.

File metadata

  • Download URL: hydrogibs-0.0.90.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for hydrogibs-0.0.90.tar.gz
Algorithm Hash digest
SHA256 7c9852fbce8b1f1a536c5935ae6a4bea933956a1cef4beea3056c98253982024
MD5 289e02db4589855d86a9a1f5cdaa658e
BLAKE2b-256 02fef1e43910d3af73e67c0779b6f5c02aa95860988cb5f62b0ff17cde6b6222

See more details on using hashes here.

File details

Details for the file hydrogibs-0.0.90-py3-none-any.whl.

File metadata

  • Download URL: hydrogibs-0.0.90-py3-none-any.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for hydrogibs-0.0.90-py3-none-any.whl
Algorithm Hash digest
SHA256 dbf28c3a039b4f2f03a9478c2c35bae298b1360ad2e7874e558e46ce78aff833
MD5 9f5083dfdd47ee6bdb47954400f73c49
BLAKE2b-256 7a6240c705735013829ca43051d7c9733ae376b7a0f323ab9f95b76d99074a56

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