Metadata-Version: 2.4
Name: xcube-resampling
Version: 0.3.2
Summary: A package to resample, reproject, and rectify geospatial datasets.
Author: xcube Development Team
License: MIT
Project-URL: Documentation, https://github.com/xcube-dev/xcube-resampling
Project-URL: Repository, https://github.com/xcube-dev/xcube-resampling
Project-URL: Changelog, https://github.com/xcube-dev/xcube-resampling/blob/main/CHANGES.md
Project-URL: Issues, https://github.com/xcube-dev/xcube-resampling/issues
Keywords: xcube,xarray,dask,reprojection,rectification,affine transformation,parallel processing
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development
Classifier: Topic :: Scientific/Engineering
Classifier: Typing :: Typed
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: affine>=2.2
Requires-Dist: dask>=2021.6
Requires-Dist: dask-image>=0.6
Requires-Dist: numpy>=1.16
Requires-Dist: pyproj>=3.0
Requires-Dist: xarray>=2024.7
Provides-Extra: dev
Requires-Dist: black; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: hatch; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: jupyterlab; extra == "dev"
Requires-Dist: matplotlib; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: twine; extra == "dev"
Provides-Extra: doc
Requires-Dist: mkdocs; extra == "doc"
Requires-Dist: mkdocs-autorefs; extra == "doc"
Requires-Dist: mkdocs-jupyter; extra == "doc"
Requires-Dist: mkdocs-material; extra == "doc"
Requires-Dist: mkdocstrings; extra == "doc"
Requires-Dist: mkdocstrings-python; extra == "doc"
Dynamic: license-file

# xcube-resampling

[![Build Status](https://github.com/xcube-dev/xcube-resampling/actions/workflows/unit-tests.yml/badge.svg?branch=main)](https://github.com/xcube-dev/xcube-resampling/actions/workflows/unit-tests.yml)
[![codecov](https://codecov.io/gh/xcube-dev/xcube-resampling/graph/badge.svg?token=ktcp1maEgz)](https://codecov.io/gh/xcube-dev/xcube-resampling)
[![PyPI Version](https://img.shields.io/pypi/v/xcube-resampling)](https://pypi.org/project/xcube-resampling/)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/xcube-resampling/badges/version.svg)](https://anaconda.org/conda-forge/xcube-resampling)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/xcube-resampling/badges/license.svg)](https://anaconda.org/conda-forge/xcube-resampling)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

**xcube-resampling** provides efficient algorithms for transforming datasets into 
different spatial grids and temporal scales. It is designed for geospatial workflows that need
flexible resampling and reprojection. This library provides up and downsampling for both
spatial and temporal domains.

### ✨ Features
- #### Spatial Resampling
    - **Affine resampling** – simple resampling using affine transformations
    - **Reprojection** – convert datasets between different coordinate reference systems (CRS)
    - **Rectification** – transform irregular grids into regular, well-structured grids

- #### Temporal Resampling
    - **Time-based resampling** – upsample or downsample data along the time dimension

All methods work seamlessly with chunked (lazily loaded) [xarray.Datasets](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html) and are powered by [Dask](https://www.dask.org/) for scalable, out-of-core computation.

### ⚡ Lightweight & Independent
The package is independent of the core *xcube* framework and has minimal dependencies:
`affine, dask, dask-image, numba, numpy, pyproj, xarray`.

Find out more in the [xcube-resampling Documentation](https://xcube-dev.github.io/xcube-resampling/).
