Skip to main content
ReadTheDocs PyPI-Server GitHub Workflow Status PyPI - Python Version

pydeltasnow

Python implementation of the deltaSNOW model by Winkler et al. 2021:

Winkler, M., Schellander, H., and Gruber, S.: Snow water equivalents exclusively from snow depths and their temporal changes: the DeltaSNOW model, Hydrol. Earth Syst. Sci., 25, 1165-1187, 10.5194/hess-25-1165-2021, 2021.

The original implementation is included within the nixmass R package of Winkler et al 2021. Differences of this version to the original R version are the following:

  • The model accepts breaks in the date series if a break is sourrounded by zeros. Additionally, breaks in the date series can be accepted if surrounded by NaNs. See below for more information. This behaviour can be useful for measurement series that are not continued in summer.

  • The user can specify how to deal with missing values in a measurement series. There are three parameters that control NaN handling:

    • ignore_zeropadded_gaps

    • ignore_zerofollowed_gaps

    • interpolate_small_gaps

    Note that the runtime efficiency of the model will decrease when one or several of these options are turnded on.

  • Accepts as input data only a pd.Series with pd.DatetimeIndex and no dataframe.

  • The time resolution (timestep in R implementation) will be automatically sniffed from the DatetimeIndex of the input series.

  • The user can specify the input and output units of the HS and SWE measurement series, respectively.

  • A pd.Series with the dates as pd.DatetimeIndex is returned.

The core of this code is mainly based on the work of Manuel Theurl, this version makes use of the numba just-in-time compiler for performance optimization.

Dependencies

The package is tested on python versions 3.7, 3.8 and 3.9. Higher python versions might work too but are not tested. pydeltasnow depends on the following packages:

Installation

Install pydeltasnow and its dependencies by runnig:

pip install pydeltasnow

Usage

For examples on how to use the package, please have a look at the documentation of this project.

Metadata

Release files for pydeltasnow 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydeltasnow 0.1.0
File Size Uploaded Provenance Actions
pydeltasnow-0.1.0.tar.gz 324.1 kB Without provenance Details for pydeltasnow-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydeltasnow 0.1.0
File Interpreter ABI Platform Actions
pydeltasnow-0.1.0-py3-none-any.whl Python 3 none any Details for pydeltasnow-0.1.0-py3-none-any.whl

Total release size: 343.7 kB

Release files / pydeltasnow-0.1.0.tar.gz

Download URL pydeltasnow-0.1.0.tar.gz
Size 324.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4555800e29ec8967bc0cadb3bdc7aae3dc6813a8cf01c1bf9ccacc0dc6cc7044
BLAKE2b-256 checksum
How to use checksums
1368aec9c8d45b77225ba8e4c2278f5f9998a8b297ff6079039686ef62241627
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / pydeltasnow-0.1.0-py3-none-any.whl

Download URL pydeltasnow-0.1.0-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54025e1ca4a9bb4c5b1848afdd822746dc665a0fb581293e9b13419fa7d50c20
BLAKE2b-256 checksum
How to use checksums
115036d6760ff8f3d7f9e95523826172e0db7e30de24ad53a454a4e0dbd06f11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Security for pydeltasnow 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page