Hi, On Sun, Mar 13, 2016 at 4:57 PM, edgar mlowe <[email protected]> wrote:
> 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 > > (Sun Mar 13 23:43:19 > 2016) > r.hazard.flood map=floodanalysis.alpha@edgar flood=flood > mti=MTI > Traceback (most recent call last): > File "/home/edgar/.grass6/addons/r.hazard.flood", line > 145, in <module> > sys.exit(main()) > File "/home/edgar/.grass6/addons/r.hazard.flood", line 80, > in main > resolution = (float(dict_region['nsres']) + > float(dict_region['ewres']))/2 > ValueError: invalid literal for float(): 0:00:00.09 > (Sun Mar 13 23:43:20 2016) Command finished (0 sec) > > Please if I may get more help on how to use r.hazard.flood to produce > flood hazard maps. thanks in advance > it looks like you are using it in an unprojected location (latitude-longitude), try to reproject your data into a location with suitable projection. 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. Best, Anna > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
