ewatercycle_lorenz.forcing

Forcing related functionality for HBV, see eWaterCyle documentation for more detail.

Module Contents

class ewatercycle_lorenz.forcing.LorenzForcing

Bases: ewatercycle.base.forcing.DefaultForcing

Container for Lorenz forcing data.

Args:

Examples

From existing forcing data:

from ewatercycle.forcing import sources

forcing = sources.LorenzForcing(
    directory='/home/davidhaasnoot/Code/Forcing/',
    start_time=0.0,
    end_time=20.0,
    F=8,
    dt=1e-3
)
Inherited from base forcing:

shape: Path to a shape file. Used for spatial selection: can be None directory: Directory where forcing data files are stored. start_time: Start time of forcing in UTC and ISO format string e.g ‘YYYY-MM-DDTHH:MM:SSZ’. end_time: End time of forcing in UTC and ISO format string e.g. ‘YYYY-MM-DDTHH:MM:SSZ’.

F: float = 8
dt: float = 0.001