Skip to main content

Woodpecker

Small, precise fixes for climate data.

CI Docs Online Docs PyPI License Python

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roocs_woodpecker-0.7.1.tar.gz (59.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roocs_woodpecker-0.7.1-py3-none-any.whl (87.9 kB view details)

Uploaded Python 3

File details

Details for the file roocs_woodpecker-0.7.1.tar.gz.

File metadata

  • Download URL: roocs_woodpecker-0.7.1.tar.gz
  • Upload date:
  • Size: 59.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for roocs_woodpecker-0.7.1.tar.gz
Algorithm Hash digest
SHA256 5e11f7668342411ae329fc7972aea96831123d552ff68ce2511ae9c4d39180f0
MD5 ba4826d0921b3e2142f9e8b73aa65ded
BLAKE2b-256 674e78f8a2d750a18284bd184d76b388f2444fc77822debf688c761f004482e8

See more details on using hashes here.

File details

Details for the file roocs_woodpecker-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for roocs_woodpecker-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36da55ab61e1bcabf64b04dcdf231c70e88b394e0d80efb533d8eea882a930a2
MD5 f2408e05160c18ee18fe4f5cc5da0276
BLAKE2b-256 7934e7939582b6ba06b63631bc3a95a9b640481fe86866b9b72a5634c1d1746d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page