Raster extensions for Xarray
Project description
rasterix: Raster tricks for Xarray
This WIP project contains tools to make it easier to analyze raster data with Xarray.
The intent is to provide reusable building blocks for the many sub-ecosystems around: e.g. rioxarray, odc-geo, etc.
Contents
It currently has two pieces.
1. RasterIndex
See src/ rasterix/raster_index.py and notebooks/raster_index.ipynb for a brief demo.
2. Dask-aware rasterization wrappers
See src/rasterix/rasterize.py for dask-aware wrappers around exactextract, rasterio.features.rasterize, and rasterio.features.geometry_mask.
This code is likely to move elsewhere!
Installing
PyPI
rasterix alpha releases are available on pypi
pip install rasterix
Developing
- Clone the repo
git remote add upstream git@github.com:dcherian/rasterix.git cd rasterix - Install hatch
- Run the tests
hatch env run --env test.py3.13 run-pytest # Run the tests without coverage reports hatch env run --env test.py3.13 run-coverage-html # Run the tests with an html coverage report
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rasterix-0.1a3.tar.gz.
File metadata
- Download URL: rasterix-0.1a3.tar.gz
- Upload date:
- Size: 66.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb5ef3bdf6a8b43ebf1e8f28a1ff419a5945bdc7552814b1b83932a298e11003
|
|
| MD5 |
b159dffff24cae0f220872f6248757b9
|
|
| BLAKE2b-256 |
373add9d57ceabc666992628e62c8d2f98975e09d8e826286a0ca50d34d9872b
|
File details
Details for the file rasterix-0.1a3-py3-none-any.whl.
File metadata
- Download URL: rasterix-0.1a3-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0022e0c28f800971989db0e6eb0a3c79be8d22fa52447ae75f8a57461980925b
|
|
| MD5 |
97e2a6bc8d45bd49a9af1cbd895fc0f8
|
|
| BLAKE2b-256 |
a74fa725fea79421120d04c8cdf9ee37410b22b2178a124cdc8f115428d3ea06
|