<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 2, 2014 at 9:13 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On Thu, Jan 2, 2014 at 12:25 AM, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com">wenzeslaus@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I wanted to test sample fire simulation data<br>
> (<a href="http://grass.osgeo.org/download/sample-data/" target="_blank">http://grass.osgeo.org/download/sample-data/</a>) in GRASS 7. I used the<br>
> provided script and tried one command after each other (you cannot use the<br>
> whole script because of r.spread X mon connection).<br>
><br>
> However, the r.ros command is working only partially for me:<br>
><br>
> GRASS 7.0.svn (fire_demolocation):~/... > r.ros -s model=fuel_model<br>
> moisture_1h=1hour_moisture moisture_live=live_moisture velocity=wind_speed<br>
> direction=wind_direction slope=slope aspect=aspect elevation=elevation<br>
> output=my_ros<br>
> 100%<br>
> ERROR: Invalid descriptor: 11<br>
<br>
</div>If you run it without -s, it works:<br>
<br>
GRASS 7.0.svn (fire_demolocation):~/grassdata/fire_demolocation ><br>
g.remove --q rast=my_ros.max,my_ros.base,my_ros.maxdir,my_ros.spotdist,my_spread,my_spread.x,my_spread.y,my_path<br>
WARNING: ...<br>
<br>
GRASS 7.0.svn (fire_demolocation):~/grassdata/fire_demolocation ><br>
r.ros model=fuel_model moisture_1h=1hour_moisture<br>
<div class="im">moisture_live=live_moisture velocity=wind_speed<br>
direction=wind_direction slope=slope aspect=aspect elevation=elevation<br>
output=my_ros<br>
100%<br>
</div>r.ros complete. Raster maps <my_ros.base>, <my_ros.max> and <my_ros.maxdir><br>
created.<br>
<br>
So the issue in in the -s code.<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div>Thanks for checking this. I overlooked the fact that I haven't used -s before.<br><br>Even the <my_ros.spotdist> map is created and is the same in G7 and G6 (haven't tested, but I guess that only color table differs, see attached screenshot).<br>
</div><div><br></div><div>I might look at r.ros -s related code but not sure when.<br></div><br></div><div class="gmail_quote">Vasek<br></div><div class="gmail_quote"><br><div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888">
Markus<br>
</font></span></blockquote></div><br></div></div>