OceanArray
Python tools for processing moored oceanographic array observations from raw instrument files to quality-controlled, CF-compliant NetCDF.
It covers a single mooring's instruments — stages 1–3, stacking, and pressure gridding, each documented in an HTML report. Deriving calibration-dip offsets is handled by caldip, and shipboard CTD processing by ctdcast.
Documentation: https://ocean-uhh.github.io/oceanarray/
Installation
pip install oceanarray
Or, with uv:
uv pip install oceanarray
This pulls in seasenselib (used to read raw instrument files in stage 1) automatically.
Python 3.11–3.13 is supported. See the installation guide for isolated-environment (conda / venv / uv) and from-source options.
Quick start
Create a skeleton YAML, fill in the deployment metadata, then process:
oceanarray init dsG3_1_2026 --proc-dir /data/proc
# edit /data/proc/dsG3_1_2026/dsG3_1_2026.mooring.yaml
oceanarray validate /data/proc/dsG3_1_2026/dsG3_1_2026.mooring.yaml
oceanarray process dsG3_1_2026 --raw-dir /data/raw --proc-dir /data/proc --stage 1 2 3 stack grid
oceanarray report dsG3_1_2026 --raw-dir /data/raw --proc-dir /data/proc --all
See the documentation for the recommended first-processing workflow, YAML reference, and CLI reference.
Python API
import oceanarray
oceanarray.process("dsG3_1_2026", raw_dir="/data/raw", proc_dir="/data/proc")
See the API reference for the full interface.
Acknowledgements
Development was assisted by Claude Code (Anthropic) and GitHub Copilot code review.
The data-processing approach draws on methods developed for the RAPID mooring array programme (UK/US funded). oceanarray is developed toward the DFG Ocean Array infrastructure project (DFG project number 571027118), from which it takes its name, and was first applied in the AEI–DFG MIXSED project (DFG project number 541914507).
License
MIT License
Metadata
Release files for oceanarray 0.5.1
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 | |
|---|---|---|---|---|
| oceanarray-0.5.1.tar.gz | 9.2 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oceanarray-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 MB
Release files / oceanarray-0.5.1.tar.gz
| Download URL | oceanarray-0.5.1.tar.gz |
|---|---|
| Size | 9.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72f867a58797d8c8def45270c69abc60071ff570e8edd04763467a10624b2f15
|
|
BLAKE2b-256 checksum How to use checksums |
fd95a0a448522d9c0d25ce3244ed2fed5cb084c577714dcae2476bd4dda5a919
|
| 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 23, 2026.
Transparency logRelease files / oceanarray-0.5.1-py3-none-any.whl
| Download URL | oceanarray-0.5.1-py3-none-any.whl |
|---|---|
| Size | 588.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23027e398ca14e447086572e2ee6a3279917fdd7f32de42e36d9630ddfc63473
|
|
BLAKE2b-256 checksum How to use checksums |
595a7ba0c13541703a0f4340d9d6df8f23120f05f7ea5ae08cc1bab20eb0c1e7
|
| 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 23, 2026.
Transparency logSecurity for oceanarray 0.5.1
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 oceanarray-0.5.1.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 23, 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.