[GRASS-dev] Testing sample fire simulation data in GRASS 7

Vaclav Petras wenzeslaus at gmail.com
Thu Jan 2 09:26:34 PST 2014


On Thu, Jan 2, 2014 at 9:13 AM, Markus Neteler <neteler at osgeo.org> wrote:

> On Thu, Jan 2, 2014 at 12:25 AM, Vaclav Petras <wenzeslaus at gmail.com>
> wrote:
> > Hi,
> >
> > I wanted to test sample fire simulation data
> > (http://grass.osgeo.org/download/sample-data/) in GRASS 7. I used the
> > provided script and tried one command after each other (you cannot use
> the
> > whole script because of r.spread X mon connection).
> >
> > However, the r.ros command is working only partially for me:
> >
> > GRASS 7.0.svn (fire_demolocation):~/... > r.ros -s model=fuel_model
> > moisture_1h=1hour_moisture  moisture_live=live_moisture
> velocity=wind_speed
> > direction=wind_direction slope=slope aspect=aspect elevation=elevation
> > output=my_ros
> >  100%
> > ERROR: Invalid descriptor: 11
>
> If you run it without -s, it works:
>
> GRASS 7.0.svn (fire_demolocation):~/grassdata/fire_demolocation >
> 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
> WARNING: ...
>
> GRASS 7.0.svn (fire_demolocation):~/grassdata/fire_demolocation >
> r.ros model=fuel_model moisture_1h=1hour_moisture
> moisture_live=live_moisture velocity=wind_speed
> direction=wind_direction slope=slope aspect=aspect elevation=elevation
> output=my_ros
>  100%
> r.ros complete. Raster maps <my_ros.base>, <my_ros.max> and <my_ros.maxdir>
> created.
>
> So the issue in in the -s code.
>
> Thanks for checking this. I overlooked the fact that I haven't used -s
before.

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).

I might look at r.ros -s related code but not sure when.

Vasek

 Markus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140102/9d11e24e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rros_spotdist_g7_and_g6.png
Type: image/png
Size: 73086 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140102/9d11e24e/attachment-0001.png>


More information about the grass-dev mailing list