Skip to content

A Python package providing low-level, dask-aware spatial resampling algorithms.

License

Notifications You must be signed in to change notification settings

xcube-dev/xcube-resampling

xcube-resampling

Build Status codecov PyPI Version Anaconda-Server Badge Anaconda-Server Badge Code style: 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 and are powered by Dask 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, zarr.

Find out more in the xcube-resampling Documentation.

About

A Python package providing low-level, dask-aware spatial resampling algorithms.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages