Skip to content

Commit 3df7c1c

Browse files
committed
add todo to nearest_grid_fill
1 parent ae6129d commit 3df7c1c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/invert4geom/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ def _nearest_grid_fill(
138138
filled grid
139139
"""
140140

141+
# TODO: also check out rasterio fillnodata() https://rasterio.readthedocs.io/en/latest/api/rasterio.fill.html#rasterio.fill.fillnodata
142+
# uses https://gdal.org/en/stable/api/gdal_alg.html#_CPPv414GDALFillNodata15GDALRasterBandH15GDALRasterBandHdiiPPc16GDALProgressFuncPv
143+
# can fill with nearest neighbor or inverse distance weighting
144+
141145
# get coordinate names
142146
original_dims = list(grid.sizes.keys())
143147

0 commit comments

Comments
 (0)