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.
-
- 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
-
- Time-based resampling – upsample or downsample data along the time dimension
All methods work seamlessly with chunked (lazily loaded) xarray.Datasets and are powered by Dask for scalable, out-of-core computation.
The package is independent of the core xcube framework and has minimal dependencies:
affine, dask, dask-image, numba, numpy, pyproj, xarray, zarr.
Find out more in the xcube-resampling Documentation.