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.91.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.91-py3-none-any.whl (2.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hydrogibs-0.0.91.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.91.tar.gz
Algorithm Hash digest
SHA256 8613b6d921444a0cd74fdf920ba51bd30ba4e2311a2e823a0d6dc200f058bb5b
MD5 389f012195be3825f3df126d448f3c81
BLAKE2b-256 7a8d26f1ad58ac8c6dbf7407fea33f2711f3090332c2975d9b313c64d3ec4774

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hydrogibs-0.0.91-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.91-py3-none-any.whl
Algorithm Hash digest
SHA256 94255c1cf1d033153f91f394fab3dfbd563545e17257fb1ab5ffeca0ab626d28
MD5 cfbae27e404aa836e5668b0df845aef7
BLAKE2b-256 84ef3d924653bf55696d000fff35a169bda9c659cede5fd7d54b0d3e1f8223df

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