DegreeDayParameters

class rameau.core.snow.DegreeDayParameters(coefficient=None, temperature=None)[source]

Degree day model parameters.

Parameters:
  • coefficient (dict or Parameter, optional) – Amount of melt that occurs per positive degree day (mm/°C/day)

  • temperature (dict or Parameter, optional) – Temperature threshold above which all rainfall is assumed to fall as snow (°C).

Returns:

DegreeDayParameters

Examples

>>> temperature = rm.Parameter(value=0.2)
>>> coefficient = dict(value=2)
>>> corrections = rm.snow.DegreeDayParameters(
...     temperature=temperature, coefficient=coefficient
... )
>>> corrections.coefficient.value
2.0

Attributes

coefficient

Amount of melt that occurs per positive degree day (mm/°C/day).

temperature

Temperature threshold above which all rainfall is assumed to fall as snow (°C).