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.2.tar.gz (692.8 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.2-py3-none-any.whl (80.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cf_xarray-0.11.2.tar.gz
  • Upload date:
  • Size: 692.8 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.2.tar.gz
Algorithm Hash digest
SHA256 9e78c12d7a5ac7f77cb3e984455d7e821c5069c9bd6ba3aad8942b65619db008
MD5 854b7a19d292bab3530549525f872992
BLAKE2b-256 ba53eac17f1d80b0eea5ee9259f2d1b316002b30bed8d84542fddab3c083e35a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cf_xarray-0.11.2-py3-none-any.whl
  • Upload date:
  • Size: 80.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e68ed870bafd58ac9ce81287ead785e5952b0c023fdee6a3ce1a3b6e7fac2ebc
MD5 0d43b70237d4547e2e737c9120baf3ac
BLAKE2b-256 8921374ad9c7b01a44a9d2fbc80c97392f3d55c2d0e319e4d9e397a3fd108212

See more details on using hashes here.

Provenance

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