<div dir="ltr"><div>Hi Anna,<br><br>I am not sure what you mean with 'special case'? The error message appears when I try to open the r.terraflow gui, i.e., before I can set any value.<br></div><div><br>Just to add, it works for me in GRASS 6.4 (running it right now), so I would assume it has something to do how this is implemented in GRASS 7.0?<br>
<br></div><div>Cheers,<br><br></div><div>Paulo<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 19, 2013 at 12:39 PM, GRASS GIS <span dir="ltr"><<a href="mailto:trac@osgeo.org" target="_blank">trac@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">#1888: r.terraflow won't run<br>
</div>--------------------------------+-------------------------------------------<br>
<div class="im"> Reporter:  pvanbosgeo          |       Owner:  grass-dev@…<br>
     Type:  defect              |      Status:  new<br>
 Priority:  normal              |   Milestone:  7.0.0<br>
</div><div class="im">Component:  wxGUI               |     Version:  svn-trunk<br>
 Keywords:  r.terraflow, forms  |    Platform:  Unspecified<br>
      Cpu:  Unspecified         |<br>
--------------------------------+-------------------------------------------<br>
<br>
</div>Comment(by annakrat):<br>
<br>
 The problem is that r.terraflow option ''d8cut'' has default value<br>
 'infinity'. The gui expects float and not string. Inside r.terraflow<br>
 answer infinity means<br>
<br>
 {{{<br>
 static const flowaccumulation_type MAX_ACCU = 1e+15;<br>
 }}}<br>
<br>
 I am not sure how to handle this special case. We can test 'infinity'<br>
 string and set maximum value of the Float Spin instead (which is currently<br>
 1e9, but it can be increased).<br>
<br>
 Anna<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Ticket URL: <<a href="http://trac.osgeo.org/grass/ticket/1888#comment:2" target="_blank">http://trac.osgeo.org/grass/ticket/1888#comment:2</a>><br>
GRASS GIS <<a href="http://grass.osgeo.org" target="_blank">http://grass.osgeo.org</a>><br>
<br>
</font></span></blockquote></div><br></div>