<div dir="ltr"><div><div>Hi Eugenio,<br><br></div>The result with SAGA Raster Calculator seems ok here, on QGIS 2.18.9, SAGA 2.3.2, both from OSGeo4W64 (result attached).<br><br>Z_top_res.tif have values from 724.403 to 1423.553, and so, the first condition is never true. Then, it always make ((b-c)/a)*1000, and the result seems ok to me.<br><br><br></div>Pedro<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-31 10:19 GMT+01:00 frippe12573 <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Paolo,<br>
<br>
the raster have the same size and origin.<br>
The pixels are precisely overlapped.<br>
<br>
I tried also r.mapcalc, but I got a worst result.<br>
Here the output of the log:<br>
<a href="https://pastebin.com/jNyyzHgf" rel="noreferrer" target="_blank">https://pastebin.com/jNyyzHgf</a><br>
<br>
E.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Wrong-result-with-Saga-Raster-calculator-tp5322429p5322442.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/Wrong-result-with-<wbr>Saga-Raster-calculator-<wbr>tp5322429p5322442.html</a><br>
<span class="im HOEnZb">Sent from the QGIS - User mailing list archive at Nabble.com.<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a></div></div></blockquote></div><br></div>