Woodpecker
Small, precise fixes for climate data.
Woodpecker checks, previews, and applies known climate-data fixes through a small Python API, CLI, and recipe system. Use it when a dataset needs a documented repair before it enters a larger processing workflow.
flowchart LR
D["Dataset"] --> C["check"]
C --> F["findings"]
F --> R["recipe or fix id"]
R --> P["dry-run preview"]
P --> A["apply"]
Quick Start
Install the roocs-woodpecker distribution from PyPI. The Python package and
command-line program remain named woodpecker:
pip install roocs-woodpecker
For a development checkout:
conda env create -f environment.yml
conda activate woodpecker
make dev
woodpecker list-recipes
Run a discovered recipe:
import woodpecker
recipe = woodpecker.recipe.get("cmip6.core_units")
findings = woodpecker.recipe.check(dataset, recipe)
if findings:
woodpecker.recipe.apply(dataset, recipe, dry_run=True).preview
woodpecker.recipe.apply(dataset, recipe, dry_run=False)
From the command line:
woodpecker check ./data --recipe-id cmip6.core_units
woodpecker apply ./data --recipe-id cmip6.core_units --dry-run
Use woodpecker.apply(...), woodpecker.recipe.apply(...), and
woodpecker apply ... for applying selected changes.
Docs
Project Map
woodpecker/: core API, CLI, recipes, fixes, stores, and results.plugins/: bundled dataset-family plugins.docs/: MkDocs pages and generated references.tests/: unit and integration tests.scripts/: docs and catalog generators.
Development
make format
make lint
make test
make docs
Woodpecker is licensed under the terms in LICENSE.
Metadata
Release files for roocs-woodpecker 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| roocs_woodpecker-0.7.1.tar.gz | 59.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| roocs_woodpecker-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 147.8 kB
Release files / roocs_woodpecker-0.7.1.tar.gz
| Download URL | roocs_woodpecker-0.7.1.tar.gz |
|---|---|
| Size | 59.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e11f7668342411ae329fc7972aea96831123d552ff68ce2511ae9c4d39180f0
|
|
BLAKE2b-256 checksum How to use checksums |
674e78f8a2d750a18284bd184d76b388f2444fc77822debf688c761f004482e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / roocs_woodpecker-0.7.1-py3-none-any.whl
| Download URL | roocs_woodpecker-0.7.1-py3-none-any.whl |
|---|---|
| Size | 87.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36da55ab61e1bcabf64b04dcdf231c70e88b394e0d80efb533d8eea882a930a2
|
|
BLAKE2b-256 checksum How to use checksums |
7934e7939582b6ba06b63631bc3a95a9b640481fe86866b9b72a5634c1d1746d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|