Metadata-Version: 2.4
Name: xee
Version: 0.1.1
Summary: A Google Earth Engine extension for Xarray.
Author-email: Google LLC <noreply@google.com>
License: Apache-2.0
Project-URL: Homepage, https://github.com/google/xee
Project-URL: Issues, https://github.com/google/Xee/issues
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: xarray[parallel]
Requires-Dist: earthengine-api>=1.6.12
Requires-Dist: pyproj
Requires-Dist: affine
Requires-Dist: shapely
Provides-Extra: tests
Requires-Dist: absl-py; extra == "tests"
Requires-Dist: pytest; extra == "tests"
Requires-Dist: pyink; extra == "tests"
Requires-Dist: rasterio; extra == "tests"
Requires-Dist: rioxarray; extra == "tests"
Requires-Dist: typing_extensions; extra == "tests"
Provides-Extra: dataflow
Requires-Dist: absl-py; extra == "dataflow"
Requires-Dist: apache-beam[gcp]; extra == "dataflow"
Requires-Dist: gcsfs<=2026.5.0; extra == "dataflow"
Requires-Dist: xarray-beam; extra == "dataflow"
Provides-Extra: examples
Requires-Dist: absl-py; extra == "examples"
Requires-Dist: apache-beam[gcp]; extra == "examples"
Requires-Dist: gcsfs<=2026.5.0; extra == "examples"
Requires-Dist: matplotlib; extra == "examples"
Requires-Dist: xarray-beam; extra == "examples"
Dynamic: license-file

> **⚠️ Breaking Change in v0.1.0**
>
> v0.1.0 includes a major refactor with breaking API changes.
>
> -   Migration steps:
>     [docs/migration-guide-v0.1.0.md](docs/migration-guide-v0.1.0.md)
> -   Canonical install options (prerelease vs stable):
>     [docs/installation.md](docs/installation.md)

# Xee: Xarray + Google Earth Engine

![Xee Logo](https://raw.githubusercontent.com/google/Xee/main/docs/xee-logo.png)

Xee is an Xarray backend for Google Earth Engine. Open `ee.Image` /
`ee.ImageCollection` objects as lazy `xarray.Dataset`s and analyze
petabyte-scale Earth data with the scientific Python stack.

[![image](https://img.shields.io/pypi/v/xee.svg)](https://pypi.python.org/pypi/xee)
[![image](https://static.pepy.tech/badge/xee)](https://pepy.tech/project/xee)
[![Conda Recipe](https://img.shields.io/badge/recipe-xee-green.svg)](https://github.com/conda-forge/xee-feedstock)
[![image](https://img.shields.io/conda/vn/conda-forge/xee.svg)](https://anaconda.org/conda-forge/xee)
[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/xee.svg)](https://anaconda.org/conda-forge/xee)

## Install

For the latest v0.1.0 prerelease:

```bash
pip install --upgrade --pre xee
```

For all installation paths (including stable line and conda), see
[docs/installation.md](docs/installation.md).

## Minimal example

```python
import ee
import xarray as xr
from xee import helpers

# Authenticate once (on a persistent machine):
#   earthengine authenticate

project = 'PROJECT-ID'  # Set your Earth Engine registered Google Cloud project ID
# Initialize (high-volume endpoint recommended for reading stored collections)
ee.Initialize(project=project, opt_url='https://earthengine-highvolume.googleapis.com')

# Open a dataset by matching its native grid
ic = ee.ImageCollection('ECMWF/ERA5_LAND/MONTHLY_AGGR')
grid = helpers.extract_grid_params(ic)
ds = xr.open_dataset(ic, engine='ee', **grid)
print(ds)
```

Next steps:

-   [Quickstart](docs/quickstart.md)
-   [Concepts (grid params, CRS, orientation)](docs/concepts.md)
-   [User Guide (workflows)](docs/guide.md)

## Features

-   Lazy, parallel pixel retrieval through Earth Engine
-   Flexible output grid definition (fixed resolution or fixed shape)
-   CF-friendly dimension order: `[time, y, x]`
-   Plays nicely with Xarray, Dask, and friends

## Community & Support

-   [Discussions](https://github.com/google/Xee/discussions)
-   [Issues](https://github.com/google/Xee/issues)

## Contributing

See [Contributing](https://github.com/google/Xee/blob/main/docs/contributing.md)
and sign the required CLA. For local development, we recommend the Pixi
environments defined in this repository for reproducible test and docs runs.

## License

[Apache 2.0](https://github.com/google/Xee/blob/main/LICENSE)

`SPDX-License-Identifier: Apache-2.0`

This is not an official Google product.
