Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Fix/Voronoi issue#79

Merged
JPXKQX merged 4 commits intoecmwf:developfrom
OpheliaMiralles:fix/voronoi-issue
Nov 21, 2024
Merged

Fix/Voronoi issue#79
JPXKQX merged 4 commits intoecmwf:developfrom
OpheliaMiralles:fix/voronoi-issue

Conversation

@OpheliaMiralles
Copy link
Copy Markdown
Contributor

@OpheliaMiralles OpheliaMiralles commented Nov 18, 2024

Add management of empty lists in regions. np.asarray([]) returns an array with dtype float64, whereas the code from scipy expects int64.

Fixes #45


📚 Documentation preview 📚: https://anemoi-graphs--79.org.readthedocs.build/en/79/

@FussyDuck
Copy link
Copy Markdown

FussyDuck commented Nov 18, 2024

CLA assistant check
All committers have signed the CLA.

@OpheliaMiralles OpheliaMiralles changed the title Fix/voronoi issue Fix/Voronoi issue Nov 18, 2024
@HCookie HCookie requested a review from JPXKQX November 19, 2024 09:18
Copy link
Copy Markdown
Member

@JPXKQX JPXKQX left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution! This solves a long-standing issue for many users.

@JPXKQX JPXKQX merged commit 1c95900 into ecmwf:develop Nov 21, 2024
@JPXKQX JPXKQX mentioned this pull request Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Buffer dtype mismatch, expected 'npy_intp' but got 'double'

3 participants