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.1.tar.gz (691.2 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.1-py3-none-any.whl (79.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cf_xarray-0.11.1.tar.gz
  • Upload date:
  • Size: 691.2 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.1.tar.gz
Algorithm Hash digest
SHA256 c5935d7bf6d95a7229ba9741501d8491164d35f0e5b5d366c2dce302ae742276
MD5 b4f6cadbed52516a758589e32930a57e
BLAKE2b-256 a303c7e3b996e404103b540427160f14df063fd31a9859df2b198b48ebf536ff

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cf_xarray-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 79.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b55c77af7bc5c0768a65ab6eafef89646e5cbf003a12ec37513983565e25f888
MD5 8a303320652823e44066959618c700bc
BLAKE2b-256 f42f2d4f04e27c2481fd697522340df04f3a278dfe9a1f13292b2f9e39b98a44

See more details on using hashes here.

Provenance

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