You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fast same-CRS merge and early-exit in numba dispatch (#1045)
Two optimizations that make merge 4.5-7.3x faster:
1. Same-CRS tiles skip reprojection entirely. When source and
target CRS match, tiles are placed into the output grid by
direct coordinate alignment (array slicing). Falls back to
full reprojection if resolutions differ by >1%.
2. try_numba_transform now bails before allocating coordinate
arrays when neither CRS side is a supported geographic system.
This saved ~100ms per tile for unsupported pairs.
Merge benchmark (4 overlapping WGS84 tiles):
512x512: 13ms (was 59ms, now 2.3x faster than rioxarray)
1024x1024: 48ms (was 293ms, now 2.6x faster than rioxarray)
2048x2048: 344ms (was 2520ms, now 1.6x faster than rioxarray)
0 commit comments