[gdal-dev] gdal_calc.py - new optional feature / performance improvement

Graeme B. Bell grb at skogoglandskap.no
Fri Jun 21 01:58:17 PDT 2013


Hi,

This may be of use to anyone who regularly uses gdal_calc.py.

http://trac.osgeo.org/gdal/ticket/5130

- easy patch

- you can get a performance boost of up to 33% depending on how you use gdal_calc or the type of data you have

- you can handle nodata processing with more flexibility if you prefer

- there's no risk of regressions or new complications for existing users

Thoughts/comments welcomed. 

My own use case involves taking different actions in the calculation function depending on which input rasters have data or nodata values at a given point. The performance boost is just a bonus :)

Graeme. 


More information about the gdal-dev mailing list