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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cf_xarray-0.8.2-py3-none-any.whl (58.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cf_xarray-0.8.2.tar.gz
  • Upload date:
  • Size: 492.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for cf_xarray-0.8.2.tar.gz
Algorithm Hash digest
SHA256 c53be435008bfd4ea934e9b62f52620497359ad2cde343aa29594f2b34012f76
MD5 f72e9bc060f99a20b020b6610e192e86
BLAKE2b-256 3b98b0e931ca5ac88f8b84f5c7a944fdce63abe5ca202a2a95b98bc16e7daafc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cf_xarray-0.8.2-py3-none-any.whl
  • Upload date:
  • Size: 58.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for cf_xarray-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7218077605ed106fd9b27073bf0dd5c957ac8a193d388812af478cdc6de57524
MD5 f35acbd1c75aa4effe5dd0248ec6112b
BLAKE2b-256 1c2c44676f81099b12933f9cb5a13e7e54c95b6af6b4b98e59c22b0280215ddc

See more details on using hashes here.

Supported by

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