Skip to content

xarray-contrib/cf-xarray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dc80226 · Mar 18, 2025
Dec 17, 2021
Mar 7, 2025
Mar 18, 2025
Mar 7, 2025
Mar 6, 2025
Feb 7, 2021
May 3, 2022
Jan 30, 2025
Jan 30, 2025
Jan 30, 2023
Oct 22, 2024
May 27, 2020
Feb 9, 2023
Jan 13, 2024
Mar 7, 2025

Repository files navigation

Binder Documentation Status GitHub Workflow CI Status pre-commit.ci status Code Coverage Python Package Index Conda Version https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow

cf-xarray

A lightweight convenience wrapper for using CF attributes on xarray objects.

For example you can use .cf.mean("latitude") instead of .mean("lat") if appropriate attributes are set! This allows you to write code that does not require knowledge of specific dimension or coordinate names particular to a dataset.

See more in the introductory notebook.

Try out our Earthcube 2021 Annual Meeting notebook submission.