Metadata-Version: 2.1
Name: cfapyx
Version: 2024.10.11
Summary: The pure-Python implementation of the CF Aggregation conventions, including the Xarray engine to enable reading CFA-netCDF files.
License: {file = "LICENSE"}
Keywords: cf,cf-conventions,xarray,cloud,ArrayPartition
Author: dwest77
Author-email: daniel.westwood@stfc.ac.uk
Requires-Python: >=3.11,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: ArrayPartition (>=1.0.1,<2.0.0)
Requires-Dist: cfdm (==1.11.1.0)
Requires-Dist: cftime (==1.6.4)
Requires-Dist: cfunits (==3.3.7)
Requires-Dist: dask (==2024.7.0)
Requires-Dist: h5py (==3.11.0)
Requires-Dist: netCDF4 (==1.6.5)
Requires-Dist: pytest (==7.2.0)
Requires-Dist: scipy (==1.12.0)
Requires-Dist: sphinx (==7.1.2)
Requires-Dist: sphinx-rtd-theme (==2.0.0)
Requires-Dist: xarray (==2024.6.0)
Description-Content-Type: text/markdown

![CFAPyX long logo: Blue, Green and White squares arranged in Diamond formation](https://github.com/cedadev/CFAPyX/blob/main/docs/source/_images/CFAPyX_long.jpg)

CFA python Xarray module for using CFA files with xarray.

See the [Documentation](https://cedadev.github.io/CFAPyX/) for more details.
cfapyx on [Github](https://github.com/cedadev/CFAPyX)

For use with the Xarray module as an additional backend.

> **_NOTE:_** The `create` functionality was added to version 2024.10.11 and is currently in alpha release. Please report any unexpected errors or issues using the GitHub Issues tab for this repository.

# Installation

```
pip install xarray==2024.6.0
pip install cfapyx
```

# Usage as Xarray Engine

```
import xarray as xr

ds = xr.open_dataset('cfa_file.nca', engine='CFA')
# Continue as normal

```

