rasterix: Raster tricks for Xarray
June 17, 2026 ยท View on GitHub
This project contains tools to make it easier to analyze raster data with Xarray. It currently has two pieces.
RasterIndexfor indexing using the affine transform recorded in GeoTIFFs.- Dask-aware rasterization wrappers around
exactextract,rasterio.features.rasterize,rusterize.rusterize, andrasterio.features.geometry_mask.
Our intent is to provide reusable building blocks for the many sub-ecosystems around: e.g. rioxarray, odc.geo, etc.
Installing
rasterix releases are available on pypi
pip install rasterix