[GRASS-user] r.hazard.flood extension

Margherita Di Leo diregola at gmail.com
Fri May 24 06:48:02 PDT 2019


Hi Lara,

as far as I remember, it worked only in projected coordinate system.

Hope this helps,
Kind regards,

On Fri, May 24, 2019 at 3:41 PM Lara DC <dellaceca.lara at gmail.com> wrote:

> Dear users
> I am new with Grass. I am trying to use the r.hazard.flood extension but I
> get the following error:
>
> Traceback (most recent call last):
> File "/home/lara/.grass7/addons/scripts/r.hazard.flood", line 145, in
> <module>
>     sys.exit(main())
> File "/home/lara/.grass7/addons/scripts/r.hazard.flood", line 78, in main
>     resolution = (float(dict_region['nsres']) +
> float(dict_region['ewres']))/2
> ValueError: invalid literal for float(): 0:00:00.17656
>
> Any idea of what can be wrong?  my dem file (named fmosaic) is type
> raster, FCELL, 5099 rows 7647 columns, resolution: 0:00:00.17656
>
> I thougth it was probably a problem with the dem resolution (5 m) but I
> tried with another DEM with different resolution and get the same error
> warning.
>
> Hope to solve this!
>
> Lara
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user



-- 
Margherita Di Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190524/6e7bac5e/attachment.html>


More information about the grass-user mailing list