|
15 | 15 | * Pinned `tornado >=6.0,<6.5` due to an incompatibility with current |
16 | 16 | xcube server implementation. |
17 | 17 |
|
| 18 | +### Enhancements |
| 19 | + |
| 20 | +* Introduced a more efficient and robust approach for dataset reprojection: |
| 21 | + |
| 22 | + * **New method:** Added `xcube.core.resampling.reproject_dataset`, a high-performance |
| 23 | + alternative to `xcube.core.resampling.resample_in_space` for reprojecting datasets |
| 24 | + to different coordinate reference systems (CRS). |
| 25 | + |
| 26 | + * **Recommended usage:** Ideal for reprojection between regular grids. It improves |
| 27 | + computational efficiency and simplifies the reprojection process. |
| 28 | + It is not addressing _rectification_ from irregular to regular grids (e.g., Sentinel-3). |
| 29 | + |
| 30 | + * **Validation:** The notebook `examples/notebook/resampling/reproject_esa_cci_landcover_new_method.ipynb` |
| 31 | + shows that `reproject_dataset` and `resample_in_space` produce nearly identical |
| 32 | + results when reprojecting to a different CRS, with only negligible differences. |
| 33 | + |
| 34 | + * **Backward compatibility:** `resample_in_space` remains available to preserve |
| 35 | + compatibility with existing services. Once `reproject_dataset` proves stable in |
| 36 | + production use, it may be integrated into `resample_in_space`. |
| 37 | + |
| 38 | + * **Technical context:** `resample_in_space` currently uses either affine transforms |
| 39 | + or the [Spatial Rectification Algorithm](https://xcube.readthedocs.io/en/latest/rectify.html#spatial-rectification-algorithm), |
| 40 | + which is specialized for non-regular 2D grids (e.g., Sentinel-3). While applicable |
| 41 | + to regular grid reprojection, the algorithm is unnecessarily complex for such cases. |
| 42 | + |
| 43 | + |
| 44 | + |
18 | 45 | ## Changes in 1.9.1 |
19 | 46 |
|
20 | 47 | ### Enhancements |
|
0 commit comments