[GRASS-user] r.series weights to zero

Markus Metz markus.metz.giswork at gmail.com
Thu Jun 7 08:30:51 PDT 2018


On Tue, Jun 5, 2018 at 2:51 PM, Frank David <frank.david at geophom.fr> wrote:
>
> Hi all Grass users,
>
> It's seems that r.series weights does not accept zero as weight... Is it
possible ?

Yes, weights must be positive.

> and so, why ?

A zero weight means that all values in this map are ignored. Zero weights
can also cause the sum of weights to be zero, leading to division by zero
and finally to +inf / -inf as a result.

Markus M
>
> I've got the following error message when running r.series with one
weight set to 0
>
> "/usr/local/grass-7.4.0svn/etc/python/grass/script/core.py",
> line 332, in handle_errors
>     returncode=returncode)
> grass.exceptions.CalledModuleError: Module run None
>
> Thank you for your comment.
>
> Frank
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180607/90e3dcbb/attachment.html>


More information about the grass-user mailing list