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.6.tar.gz (513.5 kB view details)

Uploaded Source

Built Distribution

cf_xarray-0.10.6-py3-none-any.whl (71.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cf_xarray-0.10.6.tar.gz
Algorithm Hash digest
SHA256 159236eca465453784ee7efa2a430d5e2092978db8a5d4d8b591f61d0639cb89
MD5 e4820ca0714735222291128ab90b3f50
BLAKE2b-256 5b158c916b4118ece2011c0c1365b64823ce361d352c460785402c78b8520ba8

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for cf_xarray-0.10.6-py3-none-any.whl
Algorithm Hash digest
SHA256 39b457e47bb1557749ede115d1126ad9340eafb26ddeea0fef3a81149fc4d019
MD5 cb795e99174acf5c5a9afb8fa0c549e8
BLAKE2b-256 69552cce57427624814f4c6db8b14147fb73b86ed82e808d3dfd36426195071c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_xarray-0.10.6-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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page