I have built this functionality into the code, so r.watershed MFD functionality will be used if available, regardless of which GRASS version. However, our wired ethernet is out, so I cannot commit is to SVN until they fix that (the computer I keep the versions on does not have a wifi card). I will commit these changes to SVN as soon as the internet is restored to us!<br>
<br>Cheers,<br><br>Isaac<br><br><div class="gmail_quote">On Thu, Apr 29, 2010 at 10:15 AM, Isaac Ullah <span dir="ltr"><<a href="mailto:isaac.ullah@asu.edu">isaac.ullah@asu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">We should be able to implement the Python version of this code idea
fairly easily. It looks like it might be the better method from a
programming point of view, as it tests for the presence of the actual
flag, rather than for a version number which will infer usage of the
flag, and which could change depending upon the development branch and
backporting decisions. <br><br></div><div class="gmail_quote"><div class="im">On Wed, Apr 28, 2010 at 10:58 PM, Michael Barton <span dir="ltr"><<a href="mailto:Michael.Barton@asu.edu" target="_blank">Michael.Barton@asu.edu</a>></span> wrote:<br>
</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div><br>
<br>
On Apr 28, 2010, at 10:31 PM, Hamish wrote:<br>
<br>
> oh by the way, my current favourite shell script way of testing if a flag<br>
> exists (yet) in a module is not to test the version/revision, but to do a<br>
> more direct query:<br>
><br>
> r.watershed --interface-description | grep -c '<flag name="f">'<br>
><br>
> which should return 0 or 1.<br>
><br>
><br>
> Hamish<br>
><br>
<br>
</div></div>This won't work on Windows, however, except under msys.<br>
<font color="#888888"><br>
Michael<br>
</font></blockquote></div></div></div><br><br clear="all"><div><div></div><div class="h5"><br>-- <br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Candidate,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>
Mediterranean Landscape Dynamics Project<br>
***************************************************<br><a href="mailto:isaac.ullah@asu.edu" target="_blank">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com" target="_blank">ullah@archaeologist.com</a><br>
<br><a href="http://www.public.asu.edu/%7Eiullah" target="_blank">http://www.public.asu.edu/~iullah</a><br>
***************************************************<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Isaac I Ullah, M.A.<br><br>Archaeology PhD Candidate,<br>ASU School of Evolution and Social Change<br><br>Research Assistant,<br>Mediterranean Landscape Dynamics Project<br>
***************************************************<br><a href="mailto:isaac.ullah@asu.edu">isaac.ullah@asu.edu</a><br><a href="mailto:ullah@archaeologist.com">ullah@archaeologist.com</a><br><br><a href="http://www.public.asu.edu/~iullah">http://www.public.asu.edu/~iullah</a><br>
***************************************************<br>