Skip to content

Commit 25ec8e9

Browse files
committed
Update README with Numba/CUDA projection table (#1045)
Updated Reproject description and added a table listing the six projections with native Numba CPU and CUDA GPU kernels.
1 parent c90253a commit 25ec8e9

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,22 @@ write_vrt('mosaic.vrt', ['tile1.tif', 'tile2.tif']) # generate VRT
212212

213213
| Name | Description | Source | NumPy xr.DataArray | Dask xr.DataArray | CuPy GPU xr.DataArray | Dask GPU xr.DataArray |
214214
|:----------:|:------------|:------:|:----------------------:|:--------------------:|:-------------------:|:------:|
215-
| [Reproject](xrspatial/reproject/__init__.py) | Reprojects a raster to a new CRS using an approximate transform and numba JIT resampling | Standard (inverse mapping) | ✅️ | ✅️ | ✅️ | ✅️ |
215+
| [Reproject](xrspatial/reproject/__init__.py) | Reprojects a raster to a new CRS with Numba JIT / CUDA coordinate transforms and resampling | Standard (inverse mapping) | ✅️ | ✅️ | ✅️ | ✅️ |
216216
| [Merge](xrspatial/reproject/__init__.py) | Merges multiple rasters into a single mosaic with configurable overlap strategy | Standard (mosaic) | ✅️ | ✅️ | 🔄 | 🔄 |
217217

218+
Built-in Numba JIT and CUDA projection kernels bypass pyproj for common CRS pairs:
219+
220+
| Projection | EPSG examples | CPU Numba | CUDA GPU |
221+
|:-----------|:-------------|:---------:|:--------:|
222+
| Web Mercator | 3857 | ✅️ | ✅️ |
223+
| UTM (Transverse Mercator, Krueger 6th-order) | 326xx, 327xx, 269xx | ✅️ | ✅️ |
224+
| Ellipsoidal Mercator | 3395 | ✅️ | ✅️ |
225+
| Lambert Conformal Conic | 2154, State Plane | ✅️ | ✅️ |
226+
| Albers Equal Area | 5070 | ✅️ | ✅️ |
227+
| Cylindrical Equal Area | 6933 | ✅️ | ✅️ |
228+
229+
Other CRS pairs fall back to pyproj automatically.
230+
218231
-------
219232

220233
### **Utilities**

0 commit comments

Comments
 (0)