<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Pedro,</div><div><br></div><div>Thank you for the reply and it helped me a lot. So here what I did. I needed to create the raster file such wind speed is 230 ft/min. So I used the following command.</div><div><br></div><div>r.mapcalc "new_wind_speed = 350" <br></div><div><br></div><div>Then I run the fire behavior module and observed the changing of the spread. Did the same procedure for wind direction.</div><div><br></div><div>r.mapcalc "new_wind_direction = 50" <br></div><div><br></div><div>I want to know that whether what I did was correct and is it the right way to create input raster file.</div><div><br></div><div>BR,</div><div>Vidura Dantanarayana.<br></div><div> <br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 3, 2018 at 4:52 PM Pedro Venâncio <<a href="mailto:pedrongvenancio@gmail.com">pedrongvenancio@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi Vidura,<div dir="auto"><br></div><div dir="auto">Just like Moritz said, you need to start by the basics about GRASS.</div><div dir="auto"><br></div><div dir="auto">That said, it is better to create new raster layers than change the existing ones.</div><div dir="auto"><br></div><div dir="auto">To test other wind speed and direction, moisture, etc, just create new rasters with r.mapcalc </div><div dir="auto"><br></div><div dir="auto"><a href="https://grass.osgeo.org/grass74/manuals/r.mapcalc.html" target="_blank">https://grass.osgeo.org/grass74/manuals/r.mapcalc.html</a> <br></div><div dir="auto"><br></div><div dir="auto">Start with constant rasters, using the example in the r.mapcalc manual.</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto">Pedro Venâncio</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">A seg, 3/09/2018, 06:22, Vidura Dantanarayana <<a href="mailto:vidurada@gmail.com" target="_blank">vidurada@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Pedro,</div><div><br></div><div>Thank you very much for the explanation. That helped me to get a basic idea of what these files do. Then what I did was to change these files. I changed some records in wind speed and wind direction (the files in demomapset/cats). But what I observed was there was no change in the shape of spread even after the alterations. Is there anyone who willing to help me in crating custom files if I provide the relevent information. I need to crate wind, moisture, and fire origin files.</div><div><br></div><div>BR,</div><div>Vidura Dantanarayana. <br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 1, 2018 at 7:23 PM Pedro Venâncio <<a href="mailto:pedrongvenancio@gmail.com" rel="noreferrer" target="_blank">pedrongvenancio@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi Vidura,</div><div><br></div><div>You need to prepare the input data to r.ros algorithm<br><br><a href="https://grass.osgeo.org/grass74/manuals/r.ros.html" rel="noreferrer" target="_blank">https://grass.osgeo.org/grass74/manuals/r.ros.html</a><br><br>The input data needs to be in raster format. <br><br>First you need to use the standard NFFL 13 fuel models system (<a href="https://www.fs.fed.us/rm/pubs/rmrs_gtr153.pdf" rel="noreferrer" target="_blank">https://www.fs.fed.us/rm/pubs/rmrs_gtr153.pdf</a>) as fuel model input raster.<br><br>You also need the fuel moisture content for all sizes and response times (dead 1h, 10h, 100h and live), in percentage.<br><br>As Moritz explained to you, you can see that the 1hour_moisture raster of the sample data is composed by:<br><br>- 3% moisture in areas of fuel model 4;<br>- 15% moisture in areas of fuel model 8.<br><br>You can give homogeneous fuel moisture content for each response times, or different if you have that information, like in the sample data.<br><br>Then you need an elevation raster (DEM), calculate slope and aspect (if you don't have them yet, with r.slope.aspect), and a raster with wind speed (in feet/minute) and another with wind direction (clockwise from north, in degrees).<br><br>With this data, you run r.ros and with the output rasters, run r.spread <br><br><a href="https://grass.osgeo.org/grass74/manuals/r.spread.html" rel="noreferrer" target="_blank">https://grass.osgeo.org/grass74/manuals/r.spread.html</a> <br><br>r.spread just need the an additional raster, with the ignition(s)/starting sources. Pixels of starting sources raster needs to be only values of 1 (ignition points/areas) and 0 (other areas). If you have the ignitions in vector format, just use v.to.rast.<br><br>I hope this helps.</div><div><br></div><div>Best regards,</div><div>Pedro Venâncio</div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Vidura Dantanarayana <<a href="mailto:vidurada@gmail.com" rel="noreferrer" target="_blank">vidurada@gmail.com</a>> escreveu no dia sábado, 1/09/2018 à(s) 14:12:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi all,<div><br></div><div>Thank you very much Moritz Lennert for the explanation and apologize for the mistake I've done. I will try what you suggest by myself. Hope It's okay to questioning again if I found a problem again. Have a wonderful day. Cheers!!!</div><div><br></div><div>BR,</div><div>Vidura Dantanarayana.</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 1, 2018 at 2:04 AM Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be" rel="noreferrer" target="_blank">mlennert@club.worldonline.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vidura,<br>
<br>
First of all, please keep discussions on the list.<br>
<br>
On 31/08/18 09:48, Vidura Dantanarayana wrote:<br>
> Hi Moritz,<br>
> <br>
> Really appreciate your help as we are facing this problem for some days <br>
> now. First I'm a beginner user. Can you explain what are the categories <br>
> and how those used in GRASS GIS? <br>
<br>
GRASS GIS is an extremely wonderful and powerful tool, but it does need <br>
some initial learning in order to understand how to use it. Just <br>
answering the questions below will not provide that for you.<br>
<br>
I would suggest that you go through some of the basic introductory <br>
material, just in order to get a feeling for GRASS GIS, before attacking <br>
your specific problem.<br>
<br>
You could have a look at the following resources (at least for their <br>
introductory parts):<br>
<br>
- <a href="https://grass.osgeo.org/grass74/manuals/helptext.html" rel="noreferrer noreferrer" target="_blank">https://grass.osgeo.org/grass74/manuals/helptext.html</a><br>
- <a href="https://grass.osgeo.org/grass74/manuals/rasterintro.html" rel="noreferrer noreferrer" target="_blank">https://grass.osgeo.org/grass74/manuals/rasterintro.html</a><br>
- <a href="https://grass.osgeo.org/grass74/manuals/vectorintro.html" rel="noreferrer noreferrer" target="_blank">https://grass.osgeo.org/grass74/manuals/vectorintro.html</a><br>
- <br>
<a href="https://grasswiki.osgeo.org/wiki/From_GRASS_GIS_novice_to_power_user_(workshop_at_FOSS4G_Boston_2017)" rel="noreferrer noreferrer" target="_blank">https://grasswiki.osgeo.org/wiki/From_GRASS_GIS_novice_to_power_user_(workshop_at_FOSS4G_Boston_2017)</a><br>
- <br>
<a href="http://www.training.gismentors.eu/isprs-summer-school-2016/lesson1/grass-gis.html" rel="noreferrer noreferrer" target="_blank">http://www.training.gismentors.eu/isprs-summer-school-2016/lesson1/grass-gis.html</a><br>
<br>
Or search for "GRASS GIS" in YouTube for some videos.<br>
<br>
> Let's say I need to create custom <br>
> 1hour_moisture (or any other file), so how can I create these files?<br>
<br>
How you create these files depends on the data that you have as input.<br>
<br>
If you look at the metadata of the file in the demolocation <br>
(right-click->Metadata or '<a href="http://r.info" rel="noreferrer noreferrer" target="_blank">r.info</a> 1hour_moisture' you will this <br>
information at the end:<br>
<br>
| Data Description: <br>
|<br>
| generated by r.mapcalc <br>
|<br>
| <br>
|<br>
| Comments: <br>
|<br>
| if(fuel_class==4,3,if(fuel_class==8,15))<br>
<br>
<br>
This means that the authors had a raster file called 'fuel_class' and <br>
used the raster calculator (r.mapcalc) to reclass that file attributing <br>
the value 3 to those pixels who had class=4 in the original map and <br>
value 15 to pixels with class=8.<br>
<br>
I have no idea what this original map contained, so cannot help you <br>
further (I don't know much about fire spread modeling).<br>
<br>
> Can <br>
> you look at the following problem again?<br>
> <br>
> <br>
> # 1 categories -----------------------------------------------------> (1)<br>
> Map of Fire Origin of Bass River Fire --------------------> (2)<br>
> <br>
> 0.00 0.00 0.00 0.00 ---------------------------------------------> (3)<br>
> 0:no data -----------------------------------------------------------> (4)<br>
> 1:fire origin ---------------------------------------------------------> (5)<br>
> <br>
> I need to know how to customize the location of origin. I mean, I want <br>
> to ignite the fire from another place rather the place specified in demo <br>
> data.<br>
<br>
If you have the origin location as coordinates, you can create a vector <br>
point at the location using v.in.ascii: in the GUI of that module you <br>
can enter coordinates interactively. Then you convert the map to a <br>
raster map using v.to.rast.<br>
<br>
Moritz<br>
</blockquote></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" rel="noreferrer" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>