<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Watershed Analysis with GRASS</title>
	<atom:link href="http://www.surfaces.co.il/watershed-analysis-with-grass/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surfaces.co.il/watershed-analysis-with-grass/</link>
	<description>Open Source - GIS - Thoughts</description>
	<lastBuildDate>Tue, 21 May 2013 11:45:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Micha Silver</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-4965</link>
		<dc:creator>Micha Silver</dc:creator>
		<pubDate>Tue, 21 May 2013 11:45:59 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-4965</guid>
		<description><![CDATA[&lt;blockquote cite=&quot;#commentbody-4945&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-4945&quot; rel=&quot;nofollow&quot;&gt;Tom&lt;/a&gt; :&lt;/strong&gt;
          &lt;p&gt;Hi Micha,&lt;/p&gt;
&lt;p&gt;I’ll try be more specific. The error generally reads “No such file or directory” at the line which references the text file of X Y co-ordinates. I have tried with many different file paths and extensions in the script. Also with a dummy set of co-ordinates to test. All with no success.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br&gt;
Tom&lt;/p&gt;
         &lt;/blockquote&gt;
And you say that when you run the commands one by one, everything goes as expected? In that case it&#039;s probably some syntax error, or so. Would you care to share the script somewhere so we can have a look, and (maybe) make some suggestions?
--
Micha]]></description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-4945"><p>
<strong><a href="#comment-4945" rel="nofollow">Tom</a> :</strong></p>
<p>Hi Micha,</p>
<p>I’ll try be more specific. The error generally reads “No such file or directory” at the line which references the text file of X Y co-ordinates. I have tried with many different file paths and extensions in the script. Also with a dummy set of co-ordinates to test. All with no success.</p>
<p>Thanks,<br />
Tom</p>
</blockquote>
<p>And you say that when you run the commands one by one, everything goes as expected? In that case it&#8217;s probably some syntax error, or so. Would you care to share the script somewhere so we can have a look, and (maybe) make some suggestions?<br />
&#8211;<br />
Micha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-4945</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 20 May 2013 15:19:32 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-4945</guid>
		<description><![CDATA[Hi Micha,

I&#039;ll try be more specific. The error generally reads &quot;No such file or directory&quot; at the line which references the text file of X Y co-ordinates. I have tried with many different file paths and extensions in the script. Also with a dummy set of co-ordinates to test. All with no success.

Thanks,
Tom]]></description>
		<content:encoded><![CDATA[<p>Hi Micha,</p>
<p>I&#8217;ll try be more specific. The error generally reads &#8220;No such file or directory&#8221; at the line which references the text file of X Y co-ordinates. I have tried with many different file paths and extensions in the script. Also with a dummy set of co-ordinates to test. All with no success.</p>
<p>Thanks,<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Micha Silver</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-4922</link>
		<dc:creator>Micha Silver</dc:creator>
		<pubDate>Sat, 18 May 2013 17:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-4922</guid>
		<description><![CDATA[Hi Tom:
Can you be more specific? What works, and what error appears? at what stage?]]></description>
		<content:encoded><![CDATA[<p>Hi Tom:<br />
Can you be more specific? What works, and what error appears? at what stage?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-4912</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 16 May 2013 18:17:05 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-4912</guid>
		<description><![CDATA[Hi,
I am having some trouble with different parts of the script. I often get an error saying that a file cannot be found or created in the mapset or other. I am trying to run a .sh script in the GRASS command window through a virtual ubunto operation system. The commands work when typed into the command window.
Thanks,
Tom]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am having some trouble with different parts of the script. I often get an error saying that a file cannot be found or created in the mapset or other. I am trying to run a .sh script in the GRASS command window through a virtual ubunto operation system. The commands work when typed into the command window.<br />
Thanks,<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Strahler stream order in GRASS &#171; Scratching Surfaces</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-3709</link>
		<dc:creator>Strahler stream order in GRASS &#171; Scratching Surfaces</dc:creator>
		<pubDate>Sat, 01 Sep 2012 17:02:57 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-3709</guid>
		<description><![CDATA[[...] Horton  number. GRASS GIS offers, alongside the watershed delineation tool r.watershed (discussed here), a set of addons for stream network analysis. We&#8217;ll examine how to use these addons, and how [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Horton  number. GRASS GIS offers, alongside the watershed delineation tool r.watershed (discussed here), a set of addons for stream network analysis. We&#8217;ll examine how to use these addons, and how [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-1275</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Fri, 13 Jan 2012 15:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-1275</guid>
		<description><![CDATA[Hi again,

Sorry, I think I got it! The bash file wasn&#039;t in the same directory as the data - hence it was not liking anything I was asking it do. All set for now and it appears to be running! Fingers crossed. 

Thank you]]></description>
		<content:encoded><![CDATA[<p>Hi again,</p>
<p>Sorry, I think I got it! The bash file wasn&#8217;t in the same directory as the data &#8211; hence it was not liking anything I was asking it do. All set for now and it appears to be running! Fingers crossed. </p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-1274</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Fri, 13 Jan 2012 15:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-1274</guid>
		<description><![CDATA[Hi Micha, 
I am not sure what version of GRASS you developed the code for, but I am working on Windows 6.4.1 and the code is not working. I have tried in the GUI as well as in the command line and its not working at all. I get a list of errors indicating that I have not defined things correctly and that i is not recognized.  The only thing I can think is that currently R does not talk with Grass in this version. Did you require GRASS to talk to R when you wrote this? Any other suggestions would be really appreciated, thanks for your time.]]></description>
		<content:encoded><![CDATA[<p>Hi Micha,<br />
I am not sure what version of GRASS you developed the code for, but I am working on Windows 6.4.1 and the code is not working. I have tried in the GUI as well as in the command line and its not working at all. I get a list of errors indicating that I have not defined things correctly and that i is not recognized.  The only thing I can think is that currently R does not talk with Grass in this version. Did you require GRASS to talk to R when you wrote this? Any other suggestions would be really appreciated, thanks for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steph</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-1273</link>
		<dc:creator>Steph</dc:creator>
		<pubDate>Fri, 13 Jan 2012 00:56:44 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-1273</guid>
		<description><![CDATA[Hi Micha, 

Thanks so much for the quick reply. I have tried to run this in the GRASS command prompt in windows but it continues to return an error. Perhaps I am doing it wrong. I have just copy pasted your code into the Windows prompt window that is part of the GUI. I also tried it in the command line - still did not work for me. Also, I noticed that in my cross_points.txt file I don&#039;t have any headers - is that  problem? I was expecting that Grass would output a .txt with headers, but that is not the case. Perhaps I need more patience. Now that I know the code is right for Grass I will keep trying, as I must simply just be doing some step wrong. Thanks again!]]></description>
		<content:encoded><![CDATA[<p>Hi Micha, </p>
<p>Thanks so much for the quick reply. I have tried to run this in the GRASS command prompt in windows but it continues to return an error. Perhaps I am doing it wrong. I have just copy pasted your code into the Windows prompt window that is part of the GUI. I also tried it in the command line &#8211; still did not work for me. Also, I noticed that in my cross_points.txt file I don&#8217;t have any headers &#8211; is that  problem? I was expecting that Grass would output a .txt with headers, but that is not the case. Perhaps I need more patience. Now that I know the code is right for Grass I will keep trying, as I must simply just be doing some step wrong. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Micha Silver</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-1271</link>
		<dc:creator>Micha Silver</dc:creator>
		<pubDate>Thu, 12 Jan 2012 06:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-1271</guid>
		<description><![CDATA[&lt;blockquote cite=&quot;#commentbody-1270&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-1270&quot; rel=&quot;nofollow&quot;&gt;Stephanie&lt;/a&gt; :&lt;/strong&gt;
          &lt;p&gt;I don’t get how you run the loop in GRASS, is that Python code and if so, how do you get it to work in GRASS? To me it is not intuitive to run r.water.outlet in a loop. Can you please explain to me a bit more how are you doing this and where I must input your code in the new GRASS with Python. Thank you. S&lt;/p&gt;
         &lt;/blockquote&gt;
Hi Stephanie:
No it&#039;s not Python, although you certainly could do the same loop in python.
The example above is a simple bash script. If you enter the commands in a terminal window on linux (or a GRASS command prompt in windows) it should work. If you have the drainage outlet points in a text file &#039;cross_pts.txt&#039; then the loop structure:
&lt;code&gt;while read X Y; do
   .... ;
done &lt; cross_pts.txt
&lt;/code&gt;
reads each line separately till the end of the file and allows you to use the X,Y values for each individual run of r.water.outlet.
HTH,
Micha]]></description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-1270"><p>
<strong><a href="#comment-1270" rel="nofollow">Stephanie</a> :</strong></p>
<p>I don’t get how you run the loop in GRASS, is that Python code and if so, how do you get it to work in GRASS? To me it is not intuitive to run r.water.outlet in a loop. Can you please explain to me a bit more how are you doing this and where I must input your code in the new GRASS with Python. Thank you. S</p>
</blockquote>
<p>Hi Stephanie:<br />
No it&#8217;s not Python, although you certainly could do the same loop in python.<br />
The example above is a simple bash script. If you enter the commands in a terminal window on linux (or a GRASS command prompt in windows) it should work. If you have the drainage outlet points in a text file &#8216;cross_pts.txt&#8217; then the loop structure:<br />
<code>while read X Y; do<br />
   .... ;<br />
done < cross_pts.txt<br />
</code><br />
reads each line separately till the end of the file and allows you to use the X,Y values for each individual run of r.water.outlet.<br />
HTH,<br />
Micha</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie</title>
		<link>http://www.surfaces.co.il/watershed-analysis-with-grass/comment-page-1/#comment-1270</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Wed, 11 Jan 2012 22:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=241#comment-1270</guid>
		<description><![CDATA[I don&#039;t get how you run the loop in GRASS, is that Python code and if so, how do you get it to work in GRASS? To me it is not intuitive to run r.water.outlet in a loop. Can you please explain to me a bit more how are you doing this and where I must input your code in the new GRASS with Python. Thank you. S]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t get how you run the loop in GRASS, is that Python code and if so, how do you get it to work in GRASS? To me it is not intuitive to run r.water.outlet in a loop. Can you please explain to me a bit more how are you doing this and where I must input your code in the new GRASS with Python. Thank you. S</p>
]]></content:encoded>
	</item>
</channel>
</rss>
