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.11.3.tar.gz (694.0 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.11.3-py3-none-any.whl (80.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cf_xarray-0.11.3.tar.gz
Algorithm Hash digest
SHA256 0a896112fca0b09e449a45133d1ce1509c0e525606f41206aab8bddb17b4c7fa
MD5 5edf4a4468ab3e573dd9c988c9beb607
BLAKE2b-256 cb1307f02aa2abb9204caa31f713ef5b3402f8344e0c962d28ca17d1ca9587c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_xarray-0.11.3.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.11.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cf_xarray-0.11.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d5bff6bbba04de04f1a700a4395d379e1db4f767864fde82b30f874f208484e2
MD5 56dceacb31b8ce28edc668d10d8a8a85
BLAKE2b-256 715020a143566e20ecaf4f28302a92cc04252c224ab69200e254a282f7feb79a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_xarray-0.11.3-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