Skip to main content

cdo-toolkit

CDO-based NetCDF regridding toolkit: weight caching, time-chunked processing, parallel workers, Rich progress UI, and optional surface/seafloor level extraction.

Works with general NetCDF files. CMIP6 filename helpers (tos_Omon_... variable filtering, nominal_resolution metadata) live in cdo_toolkit.cmip but are optional.

Requirements

  • Python ≥ 3.10
  • CDO binary on PATH (e.g. conda install -c conda-forge cdo)

Install

pip install cdo-toolkit
# editable from source
pip install -e .

CLI

cdo-toolkit /path/to/data -o /path/to/out -r 1.0 1.0 -w 4
python -m cdo_toolkit /path/to/file.nc --extract-surface

Python API

from pathlib import Path
from cdo_toolkit import CDORegridPipeline, regrid_directory, regrid_single_file

regrid_directory(Path("data/"), target_resolution=(1.0, 1.0), max_workers=8)

Package layout

Module Role
pipeline CDORegridPipeline core
api High-level regrid_directory, regrid_single_file, …
workers Process-pool worker entrypoints
ui Rich progress bars
cmip Optional CMIP6 filename/metadata helpers
paths Weight-cache and intermediate-file path helpers

License

BSD-3-Clause

Metadata

Release files for cdo-toolkit 0.1.0

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

Source distribution (sdist)

Source distribution for cdo-toolkit 0.1.0
File Size Uploaded Provenance
cdo_toolkit-0.1.0.tar.gz 40.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cdo-toolkit 0.1.0
File Interpreter ABI Platform
cdo_toolkit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 85.8 kB

Release files / cdo_toolkit-0.1.0.tar.gz

Download URL cdo_toolkit-0.1.0.tar.gz
Size 40.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a5b224ffd0a73772f2b354699fe09231bbae9bc52fde643764010486b7d02cc2
BLAKE2b-256 checksum
How to use checksums
82d59ade454dff5c0927dfa25b2ae2b8bd6e093b3247b7ae43aa434c9f88ca1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.16

Release files / cdo_toolkit-0.1.0-py3-none-any.whl

Download URL cdo_toolkit-0.1.0-py3-none-any.whl
Size 45.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab752132a286fd5d75c9d5eaa7ddcb0bc92a31677b428aa7bf6a6ebbde6a2b71
BLAKE2b-256 checksum
How to use checksums
f98b539d3100235b9869d244604c2de606a03a74d06856402251b0fb765fa9c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.16

Security for cdo-toolkit 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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