Small hydrology package created for the sake of class projects with Christophe Ancey and Giovanni De Cesare.
The only module that's currently usable is the GR4 model containing:
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]
- Defined as
Laval(X1=57.6/100, X2=7.8, X3=2.4/100, X4=0.38, *args, **kwargs)
, the available presets (listed in thepresets
dictionary) are:- Laval
- Erlenbach
- Rimbaud
- Latte
- Sapine
- Rietholzbach
- Lumpenenbach
- Vogelbach
- Brusquet
Rain(time: numpy.ndarray, rainfall: numpy.ndarray)
A block rain (rainfall = intensity if t < duration else 0): BlockRain(intensity: float, duration: float)
App(catchment, rain)
hydrogibs.fluvial.canal.Section(x_array, z_array).plot()
example.ipynb
might help you get the hang of this package