[gdal-dev] (ReadBlock vs. RasterIO) in python

Frank Warmerdam warmerdam at pobox.com
Fri Mar 7 14:47:08 EST 2008


Lucena, Ivan wrote:
> Frank, all,
> 
> Since we are all talking about speed this days I have some questions.
> 
> I am experimenting several alternatives of raster data storage and I am 
> measuring the processing time that it takes to access the data.
> 
> In one experiment I have 1200 1000x500 bands and I am measuring the time 
> to extract a small windows of values thought all the bands on different 
> data storage options:
> 
> o BIL, untiled
> o BIL, tiled
> o BSQ, untiled
> o BSQ, tiled
> 
> I am using Python's ReadAsArray in order to easily show the output but I 
> am wondering how does it (python and ReadasArray) affects my results.

Ivan,

ReadArray() uses RasterIO() if that is what you need to know.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list