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.10.0.tar.gz (511.9 kB view details)

Uploaded Source

Built Distribution

cf_xarray-0.10.0-py3-none-any.whl (69.8 kB view details)

Uploaded Python 3

File details

Details for the file cf_xarray-0.10.0.tar.gz.

File metadata

  • Download URL: cf_xarray-0.10.0.tar.gz
  • Upload date:
  • Size: 511.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cf_xarray-0.10.0.tar.gz
Algorithm Hash digest
SHA256 7b45319fc315175854c9e701a84ebb795eb4b2764a2d05bd2d9d3ea87d004d18
MD5 089112a85d5b48027bd51fe187756081
BLAKE2b-256 35c4d1caa4212b9be4af61db5a8e5bd719d24b739bceb949cb18424792b9dbde

See more details on using hashes here.

File details

Details for the file cf_xarray-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: cf_xarray-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 69.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cf_xarray-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24ea127556d014960b0a469227692157c2cd56abc443801d3e5919bb0399c1f1
MD5 986c0f4f3c7f9b5678c81cb8fe754d5f
BLAKE2b-256 1b2c7ba6a2a7ad421075ec3bd33ff4b5067763816687d2da95ea0751eee9621f

See more details on using hashes here.

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