<div dir="ltr">Hi Madi,<div><br></div><div>I got it working now. I think that my DEM is so big (one country). I created a subset and it is now working. Is there a way where I can just choose my region of interest from my country-wide DEM and then process it? Right now what I am doing is to clip the DEM to create a subset and process it.</div>

<div><br></div><div>Hope my query is clear.</div><div><br></div><div>Thanks,</div><div>-Leo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 4, 2014 at 5:45 PM, Margherita Di Leo <span dir="ltr"><<a href="mailto:diregola@gmail.com" target="_blank">diregola@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Leo,<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 4, 2014 at 11:37 AM, Leo Kris Palao <span dir="ltr"><<a href="mailto:lk.palao@gmail.com" target="_blank">lk.palao@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear GRASS users,</div><div><br></div><div>I want to use r.hazard.flood module of GRASS but could not get it to work. I am running it in the command console. My expression is:</div>



<div>r.hazard.flood map=myanmar_dem_modis flood=flood mti=mti</div>

<div><br></div><div>Below is the error that I am getting. I have also r.area installed.</div><div><br></div><div>The projection of my Map is in Sinusoidal. I have my GRASS installed via the OSGeo4W installer, as I use this method to install QGIS.</div>





<div><br></div><div>I am using Windows 7 Professional OS 64-bit</div><div>My GRASS version is 6.4.3</div><div><br></div><div>Another question: Is there a GUI for this module in the Windows version of GRASS?</div><div><br>





</div><div>Thanks,</div><div>-Leo</div><div><br></div><div>Error message:<br></div><div><div>r.hazard.flood map=myanmar_dem_modis flood=flood mti=mti                        </div><div>Cellsize : 118.28096836</div><div>SECTION 1a (of 4): Initiating Memory.</div>





<div>Current region rows: 17433, cols: 17539</div><div>ERROR: G_malloc: unable to allocate 2448854040 bytes of memory at init_vars.c:134</div><div>WARNING: Subprocess failed with exit code 1</div><div>WARNING: category information for [r_accumulation] in [LPalao] missing or invalid</div>





<div>Flow accumulation done.</div><div>Slope raster map <r_slope> complete</div><div>Slope map done.</div><div>Exponent : 0.143767534008</div><div>MTI threshold : 3.84762844534</div><div>Calculating MTI raster map..</div>





<div>Invalid map <r_accumulation></div><div>Parse error</div><div>ERROR: An error occurred while running r.mapcalc</div><div>(Fri Jul 04 17:21:32 2014) Command finished (1 min 23 sec)         </div></div></div></blockquote>



<div><br></div></div></div><div>This log suggests that r.watershed, called by r.hazard.flood, is not able to finish the job due to lack of memory. Could you please check if the computational region is set correctly and then if you can run r.watershed separately?</div>



<div>The GUI for this module should be available on the fly as any other modules.. what if you type r.hazard.flood --ui ?</div><div><br></div><div>Cheers,</div><div>madi</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr"><div><div></div></div></div></blockquote></div><div class="gmail_extra"><br></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><font color="#666666">Best regards,</font></div><div><font color="#666666"><br>



</font></div><div><font color="#666666">Dr. Margherita DI LEO    </font></div><div><span style="color:rgb(102,102,102);font-family:arial;font-size:small">Scientific / technical project officer</span><br></div><div><font color="#666666"><br>



</font></div><div><font color="#666666">European Commission - DG JRC </font></div><div><font color="#666666">Institute for Environment and Sustainability (IES)</font></div><div><font color="#666666">Via Fermi, 2749</font></div>



<div><font color="#666666">I-21027 Ispra (VA) - Italy - TP 261</font></div><div><font color="#666666">       </font></div><div><font color="#666666">Tel. <a href="tel:%2B39%200332%2078%203600" value="+390332783600" target="_blank">+39 0332 78 3600</a>   </font></div>

<div><font color="#666666"><a href="mailto:margherita.di-leo@jrc.ec.europa.eu" target="_blank">margherita.di-leo@jrc.ec.europa.eu</a></font></div>

<div><font color="#666666"><br></font></div><div><font color="#666666">Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.</font></div>



</div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div dir="ltr" style="font-family:arial;font-size:small"><div><b>LEO KRIS MARIANO PALAO</b></div><div>International Rice Research Institute</div>

<div>Website: <a href="http://www.irri.org/" style="color:rgb(17,85,204)" target="_blank">www.irri.org</a><div>Official Email: <a href="mailto:l.palao@irri.org" target="_blank">l.palao@irri.org</a></div></div></div></div>

<input type="hidden"><input type="hidden"><div></div></div>
</div>