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.11.tar.gz (686.7 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.10.11-py3-none-any.whl (78.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cf_xarray-0.10.11.tar.gz
  • Upload date:
  • Size: 686.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cf_xarray-0.10.11.tar.gz
Algorithm Hash digest
SHA256 e10ee37b0ed3ba36f42346360f2bc070c690ddc73bb9dcdd9463b3a221453be3
MD5 adcc791dc59cd28c840d4d3668e879b4
BLAKE2b-256 e378f4f38e7ea6221773ea48d85c00d529b1fdc7378a1a1b77c2b77661446a0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_xarray-0.10.11.tar.gz:

Publisher: pypi.yaml on xarray-contrib/cf-xarray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: cf_xarray-0.10.11-py3-none-any.whl
  • Upload date:
  • Size: 78.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cf_xarray-0.10.11-py3-none-any.whl
Algorithm Hash digest
SHA256 c47fff625766c69a66fedef368d9787acb0819b32d8bd022f8b045089b42109a
MD5 82b0194dc93cb7cd0357377e238694b8
BLAKE2b-256 65ce5c4f4660da5521d90bea62cdf8396d7e4ce4a00513e218d267b97f9ea453

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_xarray-0.10.11-py3-none-any.whl:

Publisher: pypi.yaml on xarray-contrib/cf-xarray

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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