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.
Metadata
Release files for snowmicropyn 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| snowmicropyn-1.4.0.tar.gz | 4.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| snowmicropyn-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 MB
Release files / snowmicropyn-1.4.0.tar.gz
| Download URL | snowmicropyn-1.4.0.tar.gz |
|---|---|
| Size | 4.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adddc80d48e13dc1cc76282d82e8bfd2b2b3adfe44630a6bf9ef3e4a0a2d4d6c
|
|
BLAKE2b-256 checksum How to use checksums |
65de675d9c21b4ebf3a1db1e0d21ac794a4dc4da35fce460dfce28e2e938d9c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / snowmicropyn-1.4.0-py3-none-any.whl
| Download URL | snowmicropyn-1.4.0-py3-none-any.whl |
|---|---|
| Size | 4.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6eb256e7c09cf8a6cb27515074adf8a0c5fb946c8ed2357b154fbec45b52b6ab
|
|
BLAKE2b-256 checksum How to use checksums |
f2461b5ef41a714dfbc9fe01d53695f87a401b8fc67d4409c367dcb6cb1479c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|