<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 13, 2016 at 4:57 PM, edgar mlowe <span dir="ltr"><<a href="mailto:mloweedgar0@gmail.com" target="_blank">mloweedgar0@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>Am working on developing flood hazard map using the module r.hazard.flood. Whenever I try to run the module I get the following error<br><br>(Sun Mar 13 23:43:19 2016)                                                      <br>r.hazard.flood map=floodanalysis.alpha@edgar flood=flood mti=MTI                <br>Traceback (most recent call last):<br>  File "/home/edgar/.grass6/addons/r.hazard.flood", line<br>145, in <module><br>    sys.exit(main())<br>  File "/home/edgar/.grass6/addons/r.hazard.flood", line 80,<br>in main<br>    resolution = (float(dict_region['nsres']) +<br>float(dict_region['ewres']))/2<br>ValueError: invalid literal for float(): 0:00:00.09<br>(Sun Mar 13 23:43:20 2016) Command finished (0 sec)<br><br></div>Please if I may get more help on how to use r.hazard.flood to produce flood hazard maps. thanks in advance      </div></blockquote><div><br></div><div>it looks like you are using it in an unprojected location (latitude-longitude),</div><div>try to reproject your data into a location with suitable projection.</div><div>However, the module should be able to deal with this somehow (either enable it or finish with appropriate error message), so you should create a ticket for this bug.</div><div><br></div><div>Best,</div><div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">                    <br></div>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div></div>