Skip to content

Predictia/earthkit-climate

 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%