xarray-contrib / cf-xarray

an accessor for xarray objects that interprets CF attributes

Home Page:https://cf-xarray.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Binder

Documentation Status

pre-commit.ci status

Code Coverage

Python Package Index

Conda Version

image

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.

About

an accessor for xarray objects that interprets CF attributes

https://cf-xarray.readthedocs.io/

License:Apache License 2.0


Languages

Language:Python 100.0%