Module Reference¶
Main module¶
This module provides the main user interface to the deltaSNOW model with the
swe_delatsnow() function.
|
Calculate snow water equivalent from a snow depth timeseries with the DeltaSNOW model. |
Utils¶
This module contains utility functions for missing value handling and daterange continuity validation.
Check for continuity on dates |
|
Check that every non-zero HS chunk has continuous dates and same resolution. |
|
|
Interpolate small gaps in Hobs. |
|
Return start and stop indices of consecutive nonzero chunks in Hobs. |
|
Create a boolean mask for valid small gaps. |
|
Get indices of Nan data-gaps in Hobs that are surrounded or followed by zeros. |
Core module¶
Core of the DeltaSNOW model. This module provides the public function
deltasnow_snowpack_evolution() which implements the algorithm of the
deltaSNOW model with numba but does not validate input data. Users are
discouraged to use this function and should rather use the
pydeltasnow.main.swe_deltasnow() function instead.
Significant parts of the code in this module are based on the work of Manuel Theurl: https://github.com/manueltheurl/snow_to_swe
|
This is the main loop in the delta snow model. |