Skip to main content

PADOCC Package

PyPI version

Padocc (Pipeline to Aggregate Data for Optimal Cloud Capabilities) is a Data Aggregation pipeline for creating Kerchunk (or alternative) files to represent various datasets in different original formats. Currently the Pipeline supports writing JSON/Parquet Kerchunk files for input NetCDF/HDF files. Further developments will allow GeoTiff, GRIB and possibly MetOffice (.pp) files to be represented, as well as using the Pangeo Rechunker tool to create Zarr stores for Kerchunk-incompatible datasets.

Example Notebooks at this link

Documentation hosted at this link

Kerchunk Pipeline

Release 1.4.4

Release date: 22nd January 2026

See the release notes for details.

This package acknowledges contributions by Matt Brown as a pre-release tester.

Installation

To install this package, clone the repository using git clone, then follow the steps below to install the package with the necessary dependencies.

python -m venv .venv
source .venv/bin/activate
pip install poetry
poetry install

Alternatively, install from PyPi with:

pip install padocc==1.4.4

Example Basic Usage.

Once installed, set a working directory environment variable. This location will be used to create all files within the PADOCC pipeline.

export WORKDIR=path/to/my/area

Note: You may also want to set the LOTUS_CFG environment variable, which must point to a lotus config file for use in parallel job deployment. See this link https://cedadev.github.io/padocc/detailed/parallel.html#lotus-2-configurations for more details.

  1. Assemble the initialisation files.

You will need a text file containing all paths to the files you wish to aggregate per-dataset. (For files with a single variable in each, you will need a text file per variable.) Alternatively if all files can be described by a simple wildcard pattern i.e path/to/files/*.nc you may use this. These must go into a CSV file formatted as below for each row:

name_of_dataset,<path_to_text_file_OR_pattern>,,

Add a new row for each dataset/variable described by a set of input files.

Run the following commands in order (if you have >5 datasets in your CSV group you may want to look into parallelisation).

padocc init -G <group_name> -i <path_to_csv_file> -v
padocc scan -G <group_name> -v
padocc compute -G <group_name> -v
padocc validate -G <group_name> -v

If there are problems in the scan/compute phase please refer to the list of known errors here https://cedadev.github.io/padocc/detailed/features.html#custom-pipeline-errors. If the validate phase ends with Fatal errors you may need to recompute with alternative aggregators (V or K). Please try all the combinations to see if any aggregation works (--aggregator V or K in compute, with -n to increment version number).

Validations that result in Success or Warnings are OK and can proceed to completion. The report generated in validation is saved to the completion directory by default.

Note: Only do this once all groups are finished validation. Check this with padocc status -G <group_name>

padocc complete -G <group_name> --completion_dir path/to/outputs

If the data is NOT in the CEDA archive, you will need to add custom --sub and --replace to change the local filepaths of your input files to remote paths (wherever they are downloadable).

For all other queries please contact Daniel Westwood (daniel.westwood@stfc.ac.uk)

Metadata

Release files for padocc 1.5.1

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

Source distribution (sdist)

Source distribution for padocc 1.5.1
File Size Uploaded
padocc-1.5.1.tar.gz 10.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for padocc 1.5.1
File Interpreter ABI Platform
padocc-1.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.0 MB

Release files / padocc-1.5.1.tar.gz

Download URL padocc-1.5.1.tar.gz
Size 10.0 MB
Tags Source
SHA-256 checksum
How to use checksums
2729e45958678eae2c8ba9452820005b36bbe8ecbe104a4028a98ea9df8eded3
BLAKE2b-256 checksum
How to use checksums
dfa5b6b85ee280e6f04e7a68f72d97c2f9c48bac432fedf4632697c0e7b567e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.11.9 Linux/5.14.0-687.38.1.el9_8.x86_64

Release files / padocc-1.5.1-py3-none-any.whl

Download URL padocc-1.5.1-py3-none-any.whl
Size 10.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d0eaf9dfe072d335cc382e907daf65151bc3ed867fc4a331b82caf1098a714cf
BLAKE2b-256 checksum
How to use checksums
0a1b04d285f2b0960eb94281aae232ab23d48d73fe761ecc74dab0c1611f1ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.11.9 Linux/5.14.0-687.38.1.el9_8.x86_64

Release history Release notifications | RSS feed

This release

1.5.1 This release

2 release files

1.5.0

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release 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