[GRASS-user] r.hants and r.series.lwr in Windows
Sajid Pareeth
spareeth at gmail.com
Fri Jun 26 17:26:29 PDT 2020
Dear Helmut
Thank you for testing and finding the issue. Both commands work well
without infinity in Windows.
Big help for continuing to use GRASS GIS in Windows for the course.
I have opened an issue in github.
Regards
Sajid
On Fri, Jun 26, 2020 at 11:05 AM Helmut Kudrnovsky <hellik at web.de> wrote:
> >there is somewhere an old ticket in trac.
>
> see
>
> https://trac.osgeo.org/grass/ticket/3432
> https://trac.osgeo.org/grass/ticket/2919
>
> ----------------------------------------
> [...]
> My guess - input.d8cut->answer contains extra chars (CR/LF issue?) and
> thus changing line to read:
>
> if (strncmp(input.d8cut->answer, "infinity", 8) == 0) {
>
> would solve the issue. Still, if it is so, then it is worth to digg deeper
> to see why it is failing as strcmp is used in many modules.
> [...]
> I guess that the MS Windows version of sscanf does not recognize infinity
> as a floating point number, while the Linux version does.
> [...]
>
> ----------------------------------------
>
> IMHO it's still worth to fix the issue with inf/INF as this issue pops up
> from time to time.
>
> if it's not possible, the manual should be updated where needed that
> examples work also in winGRASS. PR welcome. :-)
>
> kind regards
> Helmut
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20200627/b85d1f96/attachment.html>
More information about the grass-user
mailing list