Skip to main content

A Python package to read, export and post process data (*.pnt files) recorded by SnowMicroPen, a snow penetration probe for scientific applications developed at SLF.

Project description

A Python package to read, export and post process data (*.pnt files) recorded by SnowMicroPen, a snow penetration probe for scientifc applications developed at SLF.

The software is open source and released under GPL. Contributions are welcome.

Installing

Use a virtual environment (recommended), then install with either pip or uv.

Using pip

python -m venv .venv
source .venv/bin/activate
python -m pip install snowmicropyn

To upgrade in the same environment:

python -m pip install --upgrade snowmicropyn

Using uv

uv venv
uv pip install snowmicropyn

To upgrade in the same environment:

uv pip install --upgrade snowmicropyn

Editable install (development)

git clone https://github.com/slf-dot-ch/snowmicropyn.git
cd snowmicropyn
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .

A Simple Example

from snowmicropyn import Profile

p = Profile.load('/examples/profiles/S37M0876.ini')

ts = p.timestamp
coords = p.coordinates
samples = p.samples  # It's a pandas dataframe

Documentation

The project’s documentation can be studied on Read the Docs.

Contact

To get in touch, please write to snowmicropen@slf.ch.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snowmicropyn-1.4.0.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snowmicropyn-1.4.0-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file snowmicropyn-1.4.0.tar.gz.

File metadata

  • Download URL: snowmicropyn-1.4.0.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for snowmicropyn-1.4.0.tar.gz
Algorithm Hash digest
SHA256 adddc80d48e13dc1cc76282d82e8bfd2b2b3adfe44630a6bf9ef3e4a0a2d4d6c
MD5 3495f0e277941b0f64b0f3b278d4bb50
BLAKE2b-256 65de675d9c21b4ebf3a1db1e0d21ac794a4dc4da35fce460dfce28e2e938d9c7

See more details on using hashes here.

File details

Details for the file snowmicropyn-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: snowmicropyn-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for snowmicropyn-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6eb256e7c09cf8a6cb27515074adf8a0c5fb946c8ed2357b154fbec45b52b6ab
MD5 c010999c540280e5cbea87a2ea1ee610
BLAKE2b-256 f2461b5ef41a714dfbc9fe01d53695f87a401b8fc67d4409c367dcb6cb1479c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page