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 (dict or Parameter, optional) – SWE likely to melt daily from caloris of the soil (1/10 mm/day).

  • retention (dict or Parameter, optional) – Maximum water retention of the snowpack (%).

  • degree_day (dict or DegreeDayParameters, optional) – Degree day model parameters.

  • snow_correction (dict or SnowCorrectionParameters, optional) – Correction terms of meteorological inputs applied during the snow melting physical processes.

  • swe (float) – Snow water equivalent (mm).

  • r (float) – Water retention (%).

Returns:

SnowReservoir

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

Degree day model parameters.

melting

SWE likely to melt daily from caloris of the soil (1/10 mm/day).

r

Water retention (%)

retention

Maximum water retention of the snowpack (%).

snow_correction

Correction terms of meteorological inputs applied during the snow melting physical processes.

swe

Snow water equivalent (mm).