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 from PyPI:
pip install earthkit-climate
Example usage:
import earthkit.climate as ekc
# Example: compute a precipitation indicator
sdii = ekc.indicators.daily_pr_intensity(precip_data)
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/
│ │ ├── indicators/ # Climate indicators
│ │ │ ├── xarray/ # xarray-based implementations
│ │ └── utils/
│ │ │ ├── climatology/
├── tests/
│ ├── docs/ # Documentation tests
│ ├── unit/ # Unit tests
│ ├── integration/ # Integration 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.
Metadata
Release files for earthkit-climate 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| earthkit_climate-0.4.0.tar.gz | 1.5 MB | Without provenance | Details for earthkit_climate-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| earthkit_climate-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for earthkit_climate-0.4.0-py3-none-any.whl |
Total release size: 1.6 MB
Release files / earthkit_climate-0.4.0.tar.gz
| Download URL | earthkit_climate-0.4.0.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
458548cbf27cc0a126bdf406b18522b3c3dc528d81d47136769badd0a1a4495d
|
|
BLAKE2b-256 checksum How to use checksums |
d9f3e164d191db7d8fbc9e3e039af103152373dc883bac4828bf26f91f24c7d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / earthkit_climate-0.4.0-py3-none-any.whl
| Download URL | earthkit_climate-0.4.0-py3-none-any.whl |
|---|---|
| Size | 54.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a779ef6a6e5a9849723183818155b7f9289e3c65b15966dbc3108037102126df
|
|
BLAKE2b-256 checksum How to use checksums |
2f4e08d1e7325bbb0d53bba52f2a93a20a040e37362bbf1d392309fa5e4e68b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for earthkit-climate 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.