Skip to main content

Climate data analysis & statistics — clawing into your data.

Project description

climateclaw

CI PyPI Python License: MIT

Climate data analysis & statistics — clawing into your data.

Installation

Install via PyPI

pip install climateclaw

Install via Conda

conda install climateclaw

Usage

from climateclaw import compute_mean, compute_anomaly, detect_trend

compute_mean([13.1, 14.2, 13.8, 15.0])
# 14.025

compute_anomaly([13.5, 14.1], baseline=[12.0, 12.5, 13.0])
# array([1.17, 1.77])

detect_trend([13.1, 13.4, 13.8, 14.1, 14.5])
# {'slope': 0.35, 'intercept': 12.98, 'r_squared': 0.99, 'p_value': 0.0003}

OpenClaw

clawhub install climateclaw

Or call the bundled script directly:

./scripts/climate.sh trend "13.1,13.4,13.8,14.1,14.5"

Development

git clone https://github.com/climateclaw/climateclaw
cd climateclaw
pip install -e ".[dev]"
tox -e test
tox -e lint

Project details


Download files

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

Source Distribution

climateclaw-2603.0.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

climateclaw-2603.0.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file climateclaw-2603.0.0.tar.gz.

File metadata

  • Download URL: climateclaw-2603.0.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for climateclaw-2603.0.0.tar.gz
Algorithm Hash digest
SHA256 a8235019d7bbcd85231d7bf4efb96e5e5d146f837f58cc132962e53e9ca3048d
MD5 00986e6abeff6ca16d619a55622e9707
BLAKE2b-256 3ef26ca60267c78868897c862b16cdd3aa95ca9b497dce356cea8f1de0156071

See more details on using hashes here.

Provenance

The following attestation bundles were made for climateclaw-2603.0.0.tar.gz:

Publisher: release_ci.yml on climateclaw/climateclaw

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climateclaw-2603.0.0-py3-none-any.whl.

File metadata

  • Download URL: climateclaw-2603.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for climateclaw-2603.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba106a77c8a5989576f7ae8e1838ee32948c020daa000e362e325f9eb3614fe5
MD5 57d0f436276200e4978279a1f64c0ae2
BLAKE2b-256 176bba76836794a785232ec0e8d9e7a1c5600e248d045efa348a53b409bee48f

See more details on using hashes here.

Provenance

The following attestation bundles were made for climateclaw-2603.0.0-py3-none-any.whl:

Publisher: release_ci.yml on climateclaw/climateclaw

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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