Closed smknaake closed 2 weeks ago
Using xugrid.OverlapRegridder throws IndexError with mapbox_earcut triangle results from polygons.
xugrid.OverlapRegridder
Throws: IndexError: index 128 is out of bounds for axis 0 with size 128 which is caused by a pre-allocated array.
IndexError: index 128 is out of bounds for axis 0 with size 128
Should be fixed by #23
I did a quick benchmark as in #13, checking size seems to make no noticeable difference; and re-allocations will generally be rare.
Using
xugrid.OverlapRegridder
throws IndexError with mapbox_earcut triangle results from polygons.Throws:
IndexError: index 128 is out of bounds for axis 0 with size 128
which is caused by a pre-allocated array.