Skip to main content

A convenience wrapper for using CF attributes on xarray objects

Project description

Binder Documentation Status GitHub Workflow CI Status pre-commit.ci status Code Coverage Python Package Index Conda Version https://zenodo.org/badge/267381269.svg 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.

Project details


Download files

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

Source Distribution

cf_xarray-0.7.8.tar.gz (334.1 kB view hashes)

Uploaded Source

Built Distribution

cf_xarray-0.7.8-py3-none-any.whl (51.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page