Jose, I didn't realize you were going to interpolate between bands as well. Is this temperol data? This operation is actually performed by GDALFillNodata() method. So, modifying the script is not going to work.
You can look at the source of GDALFillNodata() method and decide on what to do. On Tue, Apr 5, 2011 at 7:30 PM, Jose Gomez-Dans <[email protected]>wrote: > Hi, > > Maybe I could look into updating it so it can deal with multi-band datasets > (ie, interpolate in 3D rather than in 2D)? > > > On 5 April 2011 14:04, Chaitanya kumar CH <[email protected]> wrote: > >> Jose, >> >> Perhaps the python script, gdal_fillnodata.py, can help you. >> http://www.gdal.org/gdal_fillnodata.html >> You will need GDAL's python bindings to run this. >> >> On Tue, Apr 5, 2011 at 5:21 PM, Jose Gomez-Dans <[email protected]>wrote: >> >>> Hi, >>> >>> I was wondering whether GDAL has the ability to interpolate multiband >>> rasters. I have a NxMxL cube (ie, a raster with L bands :D), and a mask of >>> the same size. The locations of my data cube where the associated mask is >>> zero (say) need to be interpolated from the surrounding pixels in the cube, >>> using something simple (not too bothered about the interpolation), such as >>> nearest neighbour or bilinear interpolation. >>> >>> Anyone got any suggestions? >>> J >>> >>> _______________________________________________ >>> gdal-dev mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/gdal-dev >>> >> >> >> >> -- >> Best regards, >> Chaitanya kumar CH. >> /tʃaɪθənjə/ /kʊmɑr/ >> +91-9494447584 >> 17.2416N 80.1426E >> > > -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
