SnowReservoir
- class rameau.core.snow.SnowReservoir(melting=None, retention=None, degree_day=None, snow_correction=None, swe=0, r=0)[source]
Snow reservoir.
- Parameters:
melting (
dictorParameter, optional) – SWE likely to melt daily from caloris of the soil (1/10 mm/day).retention (
dictorParameter, optional) – Maximum water retention of the snowpack (%).degree_day (
dictorDegreeDayParameters, optional) – Degree day model parameters.snow_correction (
dictorSnowCorrectionParameters, optional) – Correction terms of meteorological inputs applied during the snow melting physical processes.swe (
float) – Snow water equivalent (mm).r (
float) – Water retention (%).
- Returns:
Examples
We create a snow reservoir:
>>> s = rm.snow.SnowReservoir( ... degree_day=dict(temperature=0.1, coefficient=4), ... retention=5, ... melting=5, ... snow_correction=dict(temperature=0.5), ... swe=2 ... ) >>> s.swe 2.0 >>> s.production(rainfall=5, pet=2, temperature=-2) {'snow_melt_to_soil': 0.5, 'snow_melt': 0.0, 'runoff': 0.0, 'aet': 2.0, 'upet': 0.0} >>> s.swe 4.5
Methods
production(rainfall, pet, temperature[, ...])Production function of the snow reservoir.
Attributes
Degree day model parameters.
SWE likely to melt daily from caloris of the soil (1/10 mm/day).
Water retention (%)
Maximum water retention of the snowpack (%).
Correction terms of meteorological inputs applied during the snow melting physical processes.
Snow water equivalent (mm).