Climate data analysis toolkit
Project description
Climakitae
A powerful Python toolkit for climate data analysis and retrieval from the Cal-Adapt Analytics Engine (AE).
Climakitae provides intuitive tools for accessing, analyzing, and visualizing downscaled CMIP6 data, enabling researchers and practitioners to perform comprehensive climate impact assessments for California.
[!WARNING] This package is under active development. APIs may change between versions.
Key Features
- 🌡️ Comprehensive Climate Data Access: Retrieve climate variables from hosted climate model, weather station, and renewable energy datasets
- 📊 Downscaled Climate Models: Access dynamical (WRF) and statistical (LOCA2) downscaling methods
- 🗺️ Spatial Analysis Tools: Built-in support for geographic subsetting and spatial aggregation
- 📈 Climate Indices: Calculate heat indices, warming levels, and extreme event metrics
- 🔧 Flexible Data Export: Export to NetCDF, CSV, and Zarr
About Cal-Adapt
Climakitae is developed as part of the Cal-Adapt Analytics Engine, a platform for California climate data and tools. Cal-Adapt provides access to cutting-edge climate science to support adaptation planning and decision-making.
Getting Started
Installation
Climakitae requires Python 3.12 or 3.13. We recommend uv on Linux/macOS and conda on Windows or when native geospatial dependencies cause trouble.
Quick install of the latest release:
# with uv
uv pip install climakitae
# with conda
conda create -n climakitae python=3.13 -y
conda activate climakitae
pip install climakitae
For editable installs, developer dependencies, and platform-specific tips, see the Installation Guide on the wiki.
Basic Usage
from climakitae.new_core.user_interface import ClimateData
# Retrieve monthly max temperature for Los Angeles in 2015
data = (
ClimateData()
.catalog("cadcat")
.activity_id("WRF")
.institution_id("UCLA")
.table_id("mon")
.grid_label("d03")
.variable("t2max")
.processes({
"time_slice": ("2015-01-01", "2015-12-31"),
"clip": "Los Angeles",
})
.get()
)
# Data is returned as a lazy xarray Dataset
print(data)
The legacy
climakitae.core.data_interface.get_dataAPI is still supported for backward compatibility, but new work should useClimateDatafromclimakitae.new_core.
Documentation
| Resource | Description |
|---|---|
| Installation Guide | Casual, power-user, and developer installs |
| AE Navigation Guide | Interactive notebook tutorial |
| API Reference | Complete API documentation |
| AE Notebooks | Sample notebooks and scripts |
| Contributing | Development guidelines |
Contributing
We welcome contributions! Please see our contributing guidelines for details on:
- 🐛 Reporting bugs
- 💡 Requesting features
- 🔧 Submitting code changes
- 📖 Improving documentation
For setting up a development environment (editable install, tests, formatters), see the Installation Guide on the wiki.
When opening a pull request, please tag at least two project maintainers for review.
License
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.
Related Projects
- climakitaegui - Interactive GUI tools for climakitae
- cae-notebooks - Example notebooks and tutorials
Support
- 📧 Email: analytics@cal-adapt.org
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file climakitae-1.5.5.tar.gz.
File metadata
- Download URL: climakitae-1.5.5.tar.gz
- Upload date:
- Size: 99.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64d91958284f7c06c59eeaa491cf7593b00141cf15a2b50e26e25cade596cdf9
|
|
| MD5 |
b386b44ef93c35b71c4b20980089e4be
|
|
| BLAKE2b-256 |
7c6c12c615d1004502c8658e7f61af4eacaa64b1365279120b7d201777f76875
|
Provenance
The following attestation bundles were made for climakitae-1.5.5.tar.gz:
Publisher:
publish.yml on cal-adapt/climakitae
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
climakitae-1.5.5.tar.gz -
Subject digest:
64d91958284f7c06c59eeaa491cf7593b00141cf15a2b50e26e25cade596cdf9 - Sigstore transparency entry: 1939848381
- Sigstore integration time:
-
Permalink:
cal-adapt/climakitae@e54bbbc0c1246f259b321c0911c0077585e6673e -
Branch / Tag:
refs/tags/v1.5.5 - Owner: https://github.com/cal-adapt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e54bbbc0c1246f259b321c0911c0077585e6673e -
Trigger Event:
release
-
Statement type:
File details
Details for the file climakitae-1.5.5-py3-none-any.whl.
File metadata
- Download URL: climakitae-1.5.5-py3-none-any.whl
- Upload date:
- Size: 30.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4100f59b43ab05b1aab8dcb128c182bdc934dec6e70299c5352b4879a21c5fb7
|
|
| MD5 |
c05db20278d6cae51b0be4912c659164
|
|
| BLAKE2b-256 |
5e1d0fd46519f0629794bb3727060d0e4a77cbcb96b6a5dc423b4e67c250487c
|
Provenance
The following attestation bundles were made for climakitae-1.5.5-py3-none-any.whl:
Publisher:
publish.yml on cal-adapt/climakitae
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
climakitae-1.5.5-py3-none-any.whl -
Subject digest:
4100f59b43ab05b1aab8dcb128c182bdc934dec6e70299c5352b4879a21c5fb7 - Sigstore transparency entry: 1939848478
- Sigstore integration time:
-
Permalink:
cal-adapt/climakitae@e54bbbc0c1246f259b321c0911c0077585e6673e -
Branch / Tag:
refs/tags/v1.5.5 - Owner: https://github.com/cal-adapt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e54bbbc0c1246f259b321c0911c0077585e6673e -
Trigger Event:
release
-
Statement type: