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.0.tar.gz (690.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.0-py3-none-any.whl (78.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cf_xarray-0.11.0.tar.gz
  • Upload date:
  • Size: 690.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.0.tar.gz
Algorithm Hash digest
SHA256 c539757c3ffad7413aa874dc9a9cec1862ba8c433a66817b02ecf6e19f011261
MD5 6a1ab07007c64ce0345227d7c41fb412
BLAKE2b-256 169351a605895ddad334a8da8b1eb2eef9c0818200185c0e632e5f2bc2b0aeb1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: cf_xarray-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 78.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25c44b98c59236ca048d2a084e8846a7c341eceb22467772b807ac11f49463f3
MD5 1d4977a3c782c8b39af0cdfbb764e922
BLAKE2b-256 36fdeb9606cda66a3d9583ff6231dafe2c45c1865506b4529b5d170665124f8e

See more details on using hashes here.

Provenance

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