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
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.0rc2
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 | Actions |
|---|---|---|---|---|
| argoflat-0.1.0rc2.tar.gz | 16.7 kB | With provenance | Details for argoflat-0.1.0rc2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| argoflat-0.1.0rc2-py3-none-any.whl | Python 3 | none | any | Details for argoflat-0.1.0rc2-py3-none-any.whl |
Total release size: 34.8 kB
Release files / argoflat-0.1.0rc2.tar.gz
| Download URL | argoflat-0.1.0rc2.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3854d5b780d34db3916ab57657f7b8dd0f0af53f3b26f091c95a3eeac2e4066c
|
|
BLAKE2b-256 checksum How to use checksums |
e6682efcb07ed4aec46df98244b858908f0fdd48d7282315fb1e8268f2eaa512
|
| 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 logRelease files / argoflat-0.1.0rc2-py3-none-any.whl
| Download URL | argoflat-0.1.0rc2-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
563ab956adbc2a15383cbb092eaac141b550855be33f6f5e8fef00280bb90328
|
|
BLAKE2b-256 checksum How to use checksums |
ace4f0367f330aa0c40265eadd85ce2714fcce0796362716adaf2bbd5a39eb04
|
| 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 logSecurity for argoflat 0.1.0rc2
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.
Attestation for argoflat-0.1.0rc2.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 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.