Skip to content

Commit 17abb25

Browse files
adacovskclaude
andcommitted
refactor(geospatial): remove StructuredGrid support, ensure consistent return types
- Remove StructuredGrid-specific code from GeospatialIndex (uses its own optimized intersect method) - Fix StructuredGrid.intersect to return (nan, nan, nan) instead of (None, nan, nan) for outside points with z coordinate - Update GeospatialIndex.query_point to return np.nan instead of None for outside points, matching native methods - Update GeospatialIndex.query_points to return int64 array when all points are inside, float64 only when nan values present - Add comprehensive tests for return type consistency across all grid types (StructuredGrid, VertexGrid, UnstructuredGrid) - Add tests for 1:1 point-to-cell mapping behavior - Add tests for 3D layered UnstructuredGrid tie-breaking 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 98f1980 commit 17abb25

File tree

3 files changed

+621
-103
lines changed

3 files changed

+621
-103
lines changed

0 commit comments

Comments
 (0)