Hi Eugenio,
The result with SAGA Raster Calculator seems ok here, on QGIS 2.18.9, SAGA
2.3.2, both from OSGeo4W64 (result attached).
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.
Pedro
2017-05-31 10:19 GMT+01:00 frippe12573 <[email protected]>:
> Hi Paolo,
>
> the raster have the same size and origin.
> The pixels are precisely overlapped.
>
> I tried also r.mapcalc, but I got a worst result.
> Here the output of the log:
> https://pastebin.com/jNyyzHgf
>
> E.
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Wrong-result-with-Saga-Raster-calculator-tp5322429p5322442.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
<PAMDataset>
<PAMRasterBand band="1">
<Histograms>
<HistItem>
<HistMin>29.95432654062907</HistMin>
<HistMax>48.85810670216878</HistMax>
<BucketCount>225</BucketCount>
<IncludeOutOfRange>0</IncludeOutOfRange>
<Approximate>0</Approximate>
<HistCounts>1|1|0|1|1|1|2|0|0|3|0|2|1|1|1|1|4|2|3|3|1|6|5|7|4|5|7|9|3|2|2|4|1|3|7|3|5|2|2|3|3|4|2|2|3|2|1|2|5|1|3|2|0|3|4|2|6|0|2|0|0|3|2|2|0|1|3|3|2|4|4|0|2|1|5|1|2|2|3|1|1|1|0|1|0|0|1|0|1|0|0|1|0|0|1|2|0|1|0|0|1|0|1|0|0|0|0|1|0|0|1|0|0|0|1|0|0|1|0|0|0|0|2|0|0|0|1|0|0|0|0|0|0|0|1|0|0|0|0|0|0|1|0|0|1|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1</HistCounts>
</HistItem>
</Histograms>
<Metadata>
<MDI key="STATISTICS_MAXIMUM">48.816284179688</MDI>
<MDI key="STATISTICS_MEAN">34.189738354153</MDI>
<MDI key="STATISTICS_MINIMUM">29.99614906311</MDI>
<MDI key="STATISTICS_STDDEV">2.9834617207553</MDI>
</Metadata>
</PAMRasterBand>
</PAMDataset>
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user