Hi Madi, 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.
Hope my query is clear. Thanks, -Leo On Fri, Jul 4, 2014 at 5:45 PM, Margherita Di Leo <[email protected]> wrote: > Hi Leo, > > > On Fri, Jul 4, 2014 at 11:37 AM, Leo Kris Palao <[email protected]> > wrote: > >> Dear GRASS users, >> >> 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: >> r.hazard.flood map=myanmar_dem_modis flood=flood mti=mti >> >> Below is the error that I am getting. I have also r.area installed. >> >> 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. >> >> I am using Windows 7 Professional OS 64-bit >> My GRASS version is 6.4.3 >> >> Another question: Is there a GUI for this module in the Windows version >> of GRASS? >> >> Thanks, >> -Leo >> >> Error message: >> r.hazard.flood map=myanmar_dem_modis flood=flood mti=mti >> >> Cellsize : 118.28096836 >> SECTION 1a (of 4): Initiating Memory. >> Current region rows: 17433, cols: 17539 >> ERROR: G_malloc: unable to allocate 2448854040 bytes of memory at >> init_vars.c:134 >> WARNING: Subprocess failed with exit code 1 >> WARNING: category information for [r_accumulation] in [LPalao] missing or >> invalid >> Flow accumulation done. >> Slope raster map <r_slope> complete >> Slope map done. >> Exponent : 0.143767534008 >> MTI threshold : 3.84762844534 >> Calculating MTI raster map.. >> Invalid map <r_accumulation> >> Parse error >> ERROR: An error occurred while running r.mapcalc >> (Fri Jul 04 17:21:32 2014) Command finished (1 min 23 sec) >> > > 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? > The GUI for this module should be available on the fly as any other > modules.. what if you type r.hazard.flood --ui ? > > Cheers, > madi > >> > > > -- > Best regards, > > Dr. Margherita DI LEO > Scientific / technical project officer > > European Commission - DG JRC > Institute for Environment and Sustainability (IES) > Via Fermi, 2749 > I-21027 Ispra (VA) - Italy - TP 261 > > Tel. +39 0332 78 3600 > [email protected] > > 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. > -- *LEO KRIS MARIANO PALAO* International Rice Research Institute Website: www.irri.org Official Email: [email protected]
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
