Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ARGOFLAT: The Argo dataset as a lossless, analysis-ready, cloud-optimized contiguous ragged array

A simple solution to enable fast random access to Argo profiles and ML-ready batch sampling from a global aggregate.

‼️ Work in progress ‼️

Our full Argo dataset is currently build with the entire GDAC pressure, temperature and salinity data (BGC data will follow).

The full (expert) dataset:

  • has: 20_565 floats, 3_418_235 P/T/S profiles and 1_360_094_341 measurement points.
  • is about 11 GB, as one or more zarr stores.
  • is available for testing in 3 versions:
    • As a single zarr store (~10.8 GB)
    • As a collection of 11 zarr stores (~1 GB) with about 2000 floats each
    • As a collection of 21 zarr stores (~500 MB) with about 1000 floats each
  • is available for testing through 3 protocoles: local, https, s3.

A derived version following the AST/ADMT guideline to select Argo measurements suitable for research is also available (See What is the difference between an 'R' and a 'D' profile file?):

  • has: 15_354 floats, 2_255_098 P/T/S profiles and 936_728_750 measurement points.
  • is available for testing in 1 version, as a single zarr store (~4.5 GB).
  • is available for testing through 3 protocoles: local, https, s3.

The ARGOFLAT collection of datasets basically follow the Argopy user modes:

  • 🏄 expert mode return all the Argo data, without any postprocessing
  • 🚣 research mode simplifies the dataset to its heart, preserving only data of the highest quality for research studies, including studies sensitive to small pressure and salinity bias (e.g. calculations of global ocean heat content or mixed layer depth).

Basic concept

argoflat

User API

Open or connect to an ArgoFlat dataset:

from argoflat import FlatData

fd = FlatData("stores/argoflat_expert.zarr")  # all floats in 1 zarr
# fd = FlatData("stores/argoflat_research.zarr")  # all floats in 1 zarr

# fd = FlatData("stores_1000/argoflat_expert_0*.zarr") # 1000 floats per zarr
# fd = FlatData("stores_2000/argoflat_expert_0*.zarr") # 2000 floats per zarr

# fd = FlatData("s3://bucket/argoflat_*.zarr", anon=True)

Use profile selectors similar to Argopy access point syntax:

ds = fd.region([-75., 0., 0., 45.])
ds = fd.region([-75., 0., 0., 45., '20000101', '20201231'])

ds = fd.float(1901514)
ds = fd.float([1901514, 1902284])

ds = fd.profile(1901514, [2, 3])
ds = fd.profile([1901514, 1902284], 3)
ds = fd.profile([1901514, 1902284], [2, 3])

Or use profile selection with standard 0-based indexing:

ds = fd[100] 
ds = fd[10:20] 
ds = fd[[1, 5, 8]]
ds = fd[:] # Full dataset !

The xarray dataset that is returned has all profiles meta-data loaded in memory (eg: LATITUDE, LONGITUDE, etc ...) and all measurements in chunks of 1_000_000 points (e.g.: PRES, TEMP, etc...).


🫣 qwen 3.8 LLM running on Ifremer self hosted openwebui was used as a debugging tool in this shame project.

Metadata

Release files for argoflat 0.1.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for argoflat 0.1.0rc1
File Size Uploaded Provenance Actions
argoflat-0.1.0rc1.tar.gz 16.8 kB With provenance Details for argoflat-0.1.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for argoflat 0.1.0rc1
File Interpreter ABI Platform Actions
argoflat-0.1.0rc1-py3-none-any.whl Python 3 none any Details for argoflat-0.1.0rc1-py3-none-any.whl

Total release size: 35.0 kB

Release files / argoflat-0.1.0rc1.tar.gz

Download URL argoflat-0.1.0rc1.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ad7dc1202d1fa219b5f4b76de11abf11f16f6f0cf81cb857f0ac5695a31d9acc
BLAKE2b-256 checksum
How to use checksums
b17b45541967efefd92110322e244eb90a8b5e26c92f2d566e2c95c74209b204
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 Nov 10, 2026.

Transparency log

Release files / argoflat-0.1.0rc1-py3-none-any.whl

Download URL argoflat-0.1.0rc1-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed3949908f319704cab09157b52af1f32438a0f70504546aea7331cb360bd77d
BLAKE2b-256 checksum
How to use checksums
ae864d14a9a22105d2daea921a13edf9bf6fd4034ae98d334eecb746db06ef10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 Nov 10, 2026.

Transparency log

Security for argoflat 0.1.0rc1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for argoflat-0.1.0rc1.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 Nov 10, 2026.

Transparency log

A 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.

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