Skip to main content

Climakitae

codecov CI docs PyPI version Python License Code style: black DOI:10.5281/zenodo.18111935

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_data API is still supported for backward compatibility, but new work should use ClimateData from climakitae.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

Support


Contributors

Contributors

Download files

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

Source Distribution

climakitae-1.5.8.tar.gz (98.5 MB view details)

Uploaded Source

Built Distribution

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

climakitae-1.5.8-py3-none-any.whl (30.0 MB view details)

Uploaded Python 3

File details

Details for the file climakitae-1.5.8.tar.gz.

File metadata

  • Download URL: climakitae-1.5.8.tar.gz
  • Upload date:
  • Size: 98.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for climakitae-1.5.8.tar.gz
Algorithm Hash digest
SHA256 84b51c3de1a02de4b68574eca056b895751e22e5d005779c540b74937dacba07
MD5 bb964c35fb2db2d8fe0a2ea4b6149001
BLAKE2b-256 7bff2361a285f9d834d96b787fd5e82ed46f7a0fdcdf3dc743064a50b107312c

See more details on using hashes here.

Provenance

The following attestation bundles were made for climakitae-1.5.8.tar.gz:

Publisher: publish.yml on cal-adapt/climakitae

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

File details

Details for the file climakitae-1.5.8-py3-none-any.whl.

File metadata

  • Download URL: climakitae-1.5.8-py3-none-any.whl
  • Upload date:
  • Size: 30.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for climakitae-1.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 55dd2604d7e49f1f570d72276bec97cf95b8127bec28247f27f6b736d79d60f0
MD5 48d820e99e5d1052f92a4cd8cbd37633
BLAKE2b-256 7e83f1471c6731830d7038e08badac2c5bb16f768d683b4ab063be8210d9f252

See more details on using hashes here.

Provenance

The following attestation bundles were made for climakitae-1.5.8-py3-none-any.whl:

Publisher: publish.yml on cal-adapt/climakitae

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

Release history Release notifications | RSS feed

1.5.9

2 files

This release

1.5.8 This release

2 files

1.5.7

2 files

1.5.6

2 files

1.5.5

2 files

1.5.4

2 files

1.5.3

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

1.4.6

2 files

1.4.5

2 files

1.4.4

2 files

1.4.3

2 files

1.4.2

2 files

1.4.0

2 files

1.3.0

2 files

1.2.3

2 files

1.2.2

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page