Re: [GRASS-user] r.hazard.flood extension
Hi, pá 24. 5. 2019 v 15:48 odesílatel Margherita Di Leo napsal: > as far as I remember, it worked only in projected coordinate system. 1) should be mentioned in manual at least >> Traceback (most recent call last): >> File "/home/lara/.grass7/addons/scripts/r.hazard.flood", line 145, in >> >> 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 2) should faill more gracefully. LL location is not supported. Feel free to open a ticket in trac. Ma -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] r.hazard.flood extension
Thanks Margherita ! you were right! Kind regards, Lara El vie., 24 de may. de 2019 a la(s) 10:48, Margherita Di Leo ( direg...@gmail.com) escribió: > 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 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 >> >> 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@lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/grass-user > > > > -- > Margherita Di Leo > ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] r.hazard.flood extension
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 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 > > 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@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-user -- Margherita Di Leo ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] r.hazard.flood extension
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 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@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user