Skip to main content

Tools for calculating climate indicies, climate change analysis and attribution.

Project description

ECMWF Software EnginE Maturity Level Licence Latest Release

Quick StartDocumentation

[!IMPORTANT] This software is Emerging and subject to ECMWF's guidelines on Software Maturity.

earthkit-climate is the package responsible for the climate index calculation within the earthkit ecosystem. It includes a wrapper prototype that allows the use of the xclim python package to compute a large amount of pre-defined climate indices used by the climate science community, and to define new ones.

Quick Start

Install the package in editable mode:

pip install -e .

Example usage:

from earthkit.climate.indicators import precipitation, temperature
from earthkit.climate.utils import conversions

# Example: compute a precipitation index
pr = precipitation.simple_daily_intensity(precip_data, freq="monthly")

Documentation

For full documentation, including API reference and example notebooks, visit the earthkit-climate ReadTheDocs page

Development

See the development guidelines in the documentation.

Project Structure

earthkit-climate/
├── .github/
│   ├── workflows/             # GitHub Actions (push/release)
├── docs/                      # Sphinx-based documentation
├── src/earthkit/
│   ├── climate/
│   │   ├── api/               # API wrapper logic
│   │   ├── indicators/        # Climate indices (precipitation, temperature, etc.)
│   │   └── utils/             # Type conversions, percentiles, provenance
├── tests/
│   ├── unit/                  # Unit tests
└── tools/                     # Scripts for code generation, etc.

License

Copyright 2022-, European Centre for Medium Range Weather Forecasts.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

In applying this licence, ECMWF does not waive the privileges and immunities
granted to it by virtue of its status as an intergovernmental organisation
nor does it submit to any jurisdiction.

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

earthkit_climate-0.3.2.tar.gz (696.8 kB view details)

Uploaded Source

Built Distribution

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

earthkit_climate-0.3.2-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file earthkit_climate-0.3.2.tar.gz.

File metadata

  • Download URL: earthkit_climate-0.3.2.tar.gz
  • Upload date:
  • Size: 696.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for earthkit_climate-0.3.2.tar.gz
Algorithm Hash digest
SHA256 bd2c5bf92b890e398003f24da067c0b249d51552bcb0eaf9f40d4258ea38bfa3
MD5 1ab8bcb32d12f1463c2348683e79c01b
BLAKE2b-256 04543a55a7162874b183406cc00c67a39e41e43cedc04b58e5d6efcda93920bf

See more details on using hashes here.

File details

Details for the file earthkit_climate-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for earthkit_climate-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45ca63b9a6ebb360b6106d5793f91c1399a45b142df4b52337adf3abf2c3bf34
MD5 4960c030335086e196da5745c25bdb18
BLAKE2b-256 492c71a5f9d9886d9686cc54ff1a53acb581599b27cd1e6235fde802ff3192fc

See more details on using hashes here.

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