Skip to content

Repository files navigation

snowmicropyn

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.

About

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.

Topics

Resources

Stars

12 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages