[GRASS-user] r.width.funct in correct version
Veronica Andreo
veroandreo at gmail.com
Wed Feb 20 09:57:53 PST 2019
Hola Juan,
El mié., 20 feb. 2019 12:52, Juan Lopez <cubarro at gmail.com> escribió:
> Dear Veronica.
> I am agree with you. Maybe Nikos needs maplotlib, but I get allways
> the same error. Here is a copy of my terminal messages:
>
> Traceback (most recent call last):
> File "/home/jefe/.grass7/addons/scripts/r.width.funct",
> line 135, in <module>
> sys.exit(main())
> File "/home/jefe/.grass7/addons/scripts/r.width.funct",
> line 84, in main
> prc[0,0] , prc[0,1] = findint(kl,0.05) , 0.05
> File "/home/jefe/.grass7/addons/scripts/r.width.funct",
> line 128, in findint
> z1, z2, f1, f2 = kl[int(Xf[0])][0], kl[int(Xf[0]-1)][0],
> kl[int(Xf[0])][1], kl[int(Xf[0]-1)][1]
> IndexError: invalid index to scalar variable.
> ('Tot. cells', 3679327.0)
> ('Tot. area', 3456746376.8999004)
> ('Max distance', 69179.644669000001)
>
But is this the error when installing?
It seems more like the error after using the command itself. If that's the
case, please share the exact command you used, so others can help. Also, if
you could reproduce the error with North Carolina dataset, that would be
even better.
Vero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190220/122a23ab/attachment.html>
More information about the grass-user
mailing list