Re: [Qgis-user] Raster calculator script failing for multiple rasters

2016-09-14 Thread Nicolas Cadieux
Hi what kind of error are you getting? Is Qgis just crashing? Do you get an error message? Does the script work with smaller files? Nicolas Envoyé de mon iPad > Le 14 sept. 2016 à 02:05, R HG [via OSGeo.org] > a écrit : > > Thanks Nicolas for

Re: [Qgis-user] Raster calculator script failing for multiple rasters

2016-09-14 Thread R HG
Thanks Nicolas for your reply. It does seem to be a memory problem, although it doesnt show the typical "Memory Error". Without the script I could do that operation with the same rasters. It involves four files and it is basically (a-b)*(c-d). GDAL also failed to load all files at once, so I

Re: [Qgis-user] Raster calculator script failing for multiple rasters

2016-09-13 Thread Nicolas Cadieux
Hi, I have never use the Qgis raster calculator via Python so I can't help there. What is the problem? Does Qgis crash? If so, the rasters may be to big for the memory. You mentioned the rasters were very big and that may be the problem. I recommend you test the calculation with smaller

[Qgis-user] Raster calculator script failing for multiple rasters

2016-09-13 Thread R HG
Hi, I'm trying to do raster calculations with big and multiple rasters. I am new to python, but I managed to use the QgsRasterCalculator algorithm to do the average of three rasters. The problem comes when I introduce a forth layer and try to do a more complex equation: #calculating c4s (