seagliderOG1
seagliderOG1 converts Seaglider basestation files (pSSSDDDD*.nc) into OceanGliders OG1 format. One mission in, one OG1 file out; the platform, contributor and institution metadata come from a mission.yaml you keep with your data, never from defaults inside the package. Based on votoutils' convert_to_og1.
Install
pip install seagliderOG1
# or from source
pip install git+https://github.com/ocean-uhh/seagliderOG1.git
Quick start
seagliderOG1 draft --raw-dir /data/005/20080606 # see the data first: a draft page, no config
seagliderOG1 init sg005.yaml --raw-dir /data/005/20080606 # template from the first file
seagliderOG1 validate sg005.yaml # config, raw_dir, dive range
seagliderOG1 process sg005.yaml # -> <output_dir>/<id>.nc
seagliderOG1 report <output_dir>/<id>.nc # the conversion page
For a root of SN/DATE mission directories, point --raw-dir at the root and select with --all or --mission GLOB; -n previews without writing. mission.yaml holds the raw-data directory (raw_dir), output directory, dive range, platform block, and the contributor and institution records; paths in it resolve relative to the file.
Python
from seagliderOG1 import convert, readers, writers
datasets = readers.read_mission(source, first, last)
ds = convert.to_og1(
datasets,
contributors=[{"name": "Jane Doe", "role": "PI", "email": "jane@example.org"}],
institutions=[{"name": "University of Hamburg", "role": "Operator"}],
)
writers.write(ds, out)
contributors and institutions are lists of records, one entry per person (or institution) per role; see the CLI reference in the documentation.
Documentation
Documentation and CLI reference; the notebooks/demo.ipynb notebook is a worked example.
Acknowledgements
seagliderOG1 converts Seaglider basestation files into OceanGliders OG1 format, driven by a mission configuration the user owns. It was started at the University of Hamburg (ocean-uhh) in preparation for the DFG (Deutsche Forschungsgemeinschaft) research infrastructure Swarm of Ocean Gliders (Projektnummer 544335393).
Initial development was supported by Voice of the Ocean (VOTO) under the SEA-CODE project (SeaExplorer–Seaglider Cross-platform Open Diagnostics & Evaluation), which builds platform-independent, open-source diagnostics for glider data — with glidertest and seagliderOG1 as its core packages — and supports exchanges between the University of Hamburg and VOTO, and, at the University of Hamburg, by the DFG through the PycnMix project (Projektnummer 558671572).
seagliderOG1 is an open community project; CONTRIBUTING.md covers licensing, credit and scope. Development was assisted by Claude Code (Anthropic) and GitHub Copilot code review.
License
See LICENSE for details.
Metadata
Release files for seagliderOG1 0.2.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 | Provenance | |
|---|---|---|---|---|
| seagliderog1-0.2.0.tar.gz | 10.2 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seagliderog1-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 MB
Release files / seagliderog1-0.2.0.tar.gz
| Download URL | seagliderog1-0.2.0.tar.gz |
|---|---|
| Size | 10.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5379addd24153aad5fbe7d85245ba205704c6e80dbe8904f0cda4023b6ed50c9
|
|
BLAKE2b-256 checksum How to use checksums |
2bb43e5db0fd34e7e1f3f8451722f62c7ef3da1d638277416def3d5ee3822c6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.
Transparency logRelease files / seagliderog1-0.2.0-py3-none-any.whl
| Download URL | seagliderog1-0.2.0-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
146ce3dab83dd46a3a513f5ad2aef3484a227febfbb011b24fb8bb335f0e70f1
|
|
BLAKE2b-256 checksum How to use checksums |
008a24ce5dde50d51cc78016669d6903c1a8ef36cd3e86e9262f29d762311946
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.
Transparency logSecurity for seagliderOG1 0.2.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for seagliderog1-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.
Transparency logA 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.