Skip to content

a lightweight accessor for xarray objects that interprets CF attributes

License

Notifications You must be signed in to change notification settings

keewis/cf-xarray

 
 

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.

About

a lightweight accessor for xarray objects that interprets CF attributes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%