Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xarray-contrib/cf-xarray
an accessor for xarray objects that interprets CF attributes
https://github.com/xarray-contrib/cf-xarray
cf-conventions metadata xarray
Last synced: about 1 month ago
JSON representation
an accessor for xarray objects that interprets CF attributes
- Host: GitHub
- URL: https://github.com/xarray-contrib/cf-xarray
- Owner: xarray-contrib
- License: apache-2.0
- Created: 2020-05-27T17:16:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T22:14:28.000Z (3 months ago)
- Last Synced: 2024-10-29T22:32:36.797Z (2 months ago)
- Topics: cf-conventions, metadata, xarray
- Language: Python
- Homepage: https://cf-xarray.readthedocs.io/
- Size: 1.42 MB
- Stars: 158
- Watchers: 14
- Forks: 39
- Open Issues: 75
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
- open-sustainable-technology - cf-xarray - An accessor for xarray objects that interprets CF attributes. (Climate Change / Climate Data Standards)
README
.. image:: https://img.shields.io/static/v1.svg?logo=Jupyter&label=Pangeo+Binder&message=GCE+us-central1&color=blue&style=for-the-badge
:target: https://binder.pangeo.io/v2/gh/xarray-contrib/cf-xarray/main?urlpath=lab
:alt: Binder.. image:: https://img.shields.io/readthedocs/cf-xarray/latest.svg?style=for-the-badge
:target: https://cf-xarray.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status.. image:: https://img.shields.io/github/actions/workflow/status/xarray-contrib/cf-xarray/ci.yaml?branch=main&logo=github&style=for-the-badge
:target: https://github.com/xarray-contrib/cf-xarray/actions
:alt: GitHub Workflow CI Status.. image:: https://results.pre-commit.ci/badge/github/xarray-contrib/cf-xarray/main.svg
:target: https://results.pre-commit.ci/latest/github/xarray-contrib/cf-xarray/main
:alt: pre-commit.ci status.. image:: https://codecov.io/gh/xarray-contrib/cf-xarray/branch/main/graph/badge.svg?token=hR3x9559bZ
:target: https://codecov.io/gh/xarray-contrib/cf-xarray
:alt: Code Coverage.. image:: https://img.shields.io/pypi/v/cf-xarray.svg?style=for-the-badge
:target: https://pypi.org/project/cf-xarray
:alt: Python Package Index.. image:: https://img.shields.io/conda/vn/conda-forge/cf_xarray.svg?style=for-the-badge
:target: https://anaconda.org/conda-forge/cf_xarray
:alt: Conda Version.. image:: https://zenodo.org/badge/267381269.svg
:target: https://zenodo.org/badge/latestdoi/267381269.. image:: 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
:target: https://fair-software.eucf-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 `_.