Skip to main content

OceanArray

PyPI Python versions License: MIT Tests Documentation

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

seasenselib is required for reading raw instrument files (available on PyPI but needs --no-deps):

pip install pyrsktools pycnv
pip install seasenselib --no-deps

Python 3.9–3.12 is supported.

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.3.0.tar.gz (6.1 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.3.0-py3-none-any.whl (379.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oceanarray-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7593fcecce4e1cdd3f0f2d6ee4447ccb120e13cfeb5af0e90e9f43cbe38ea03c
MD5 15ae66065f0a92ceaddfb2102192cfe1
BLAKE2b-256 426407255902977bbff81708e051b5d6fc77fd6d7cde8bc98c0bb48a5fde5c46

See more details on using hashes here.

Provenance

The following attestation bundles were made for oceanarray-0.3.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: oceanarray-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 379.2 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8438bb870ee9564c8c107067c61760c6a8a55a0c627d9ea1dc1bad0804d2ac8e
MD5 372250bf48270b77ffaf8b9448cd802b
BLAKE2b-256 a61bdf612e35468e2ea5935913cd01286dca3bec47571a4fe4d0af89d5ee0227

See more details on using hashes here.

Provenance

The following attestation bundles were made for oceanarray-0.3.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

0.4.0

2 files

This release

0.3.0 This release

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