Skip to main content

OceanArray

PyPI Python versions License: MIT Tests Documentation DOI

Python tools for processing moored oceanographic array observations from raw instrument files to quality-controlled, CF-compliant NetCDF.

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.10–3.12 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

Download files

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

Source Distribution

oceanarray-0.4.0.tar.gz (8.2 MB view details)

Uploaded Source

Built Distribution

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

oceanarray-0.4.0-py3-none-any.whl (453.9 kB view details)

Uploaded Python 3

File details

Details for the file oceanarray-0.4.0.tar.gz.

File metadata

  • Download URL: oceanarray-0.4.0.tar.gz
  • Upload date:
  • Size: 8.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for oceanarray-0.4.0.tar.gz
Algorithm Hash digest
SHA256 06833ea4934cc8993e749d8a8603955a068fc130c519ea7774e22b9be18ef598
MD5 32ea411cb1497af169aecae22f74609a
BLAKE2b-256 2e5de467205a66c1926424a0814cafcd3f7de070a6363ced8d537bbce46d0a33

See more details on using hashes here.

Provenance

The following attestation bundles were made for oceanarray-0.4.0.tar.gz:

Publisher: pypi.yml on ocean-uhh/oceanarray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oceanarray-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: oceanarray-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 453.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for oceanarray-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47d8f3056199adb3fc39120fe46de88c9e6e3eaf9e62a992699b38e1a1a7d876
MD5 cfc659fc96f6cc8f2b4845254a1b8a13
BLAKE2b-256 eea90850276e9f4c1c1eb99aa02828b1521f61fff350093eba87a00a63466ab0

See more details on using hashes here.

Provenance

The following attestation bundles were made for oceanarray-0.4.0-py3-none-any.whl:

Publisher: pypi.yml on ocean-uhh/oceanarray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page