Skip to content

Bump rusterize >= 0.8.1 and ease dependency requirements #95

Merged
dcherian merged 2 commits into
xarray-contrib:mainfrom
ttrotto:main
Jun 17, 2026
Merged

Bump rusterize >= 0.8.1 and ease dependency requirements #95
dcherian merged 2 commits into
xarray-contrib:mainfrom
ttrotto:main

Conversation

@ttrotto

@ttrotto ttrotto commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The latest release of rusterize (0.8.1) extends the burn parameter to include a custom numpy.ndarray of values to be burned onto the array (must match geometry length). This bypasses the need to construct an ad-hoc geopandas.GeoDataFrame and drop polars as a required dependency (#94).

It also rasterizes geometries ~10% faster than previous versions.

Passes all tests on a fresh pixi environment on my machine (ubuntu 24.04 x64)

@dcherian dcherian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow, nice. thank you!

@dcherian dcherian enabled auto-merge (squash) June 17, 2026 00:21
@dcherian dcherian merged commit 7899c7a into xarray-contrib:main Jun 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants