[QGIS-Developer] QgsRasterCalculator no output file

Hauer Lukas lukas.hauer at josephinum.at
Fri Jun 29 02:05:55 PDT 2018


Hi!

I have 3 layers in my qgis project. The first is called correct_crs(vektor), second and third are satellite images (raster) from sentinel band 4 and band 8.
I want to calculate with these pictures the ndvi via python in a script. I produced following code - - > https://pastebin.com/dpLK6DnW

My problem is that "calc.processCalculation()" returns memory error - 5 (early it returned parse error - 4). And I don't know how to handle such error

Kind regards Lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180629/e8cf90d1/attachment.html>


More information about the QGIS-Developer mailing list