Hi, On Tue, Aug 30, 2016 at 11:14 AM, Miguel Carrero <[email protected]> wrote: > Dear all, > > I am having problems with r.viewshed.cva addon. I've already re-installed it > several times, but the error continues. > Note that the routine is constrained to points in the current geographic > region. > Traceback (most recent call last): > File "C:\Users\Miguel\AppData\Roaming\GRASS7\addons/script > s/r.viewshed.cva.py", line 174, in <module> > main() > File "C:\Users\Miguel\AppData\Roaming\GRASS7\addons/script > s/r.viewshed.cva.py", line 159, in main > grass.run_command("r.viewshed", quiet = True, > overwrite=grass.overwrite(), flags=flagstring, input=elev, > output=tempry, coordinates=site[0] + "," + site[1], > **viewshed_options) > File "C:\Program Files\GRASS GIS > 7.0.3\etc\python\grass\script\core.py", line 394, in > run_command > return handle_errors(returncode, returncode, args, > kwargs) > File "C:\Program Files\GRASS GIS > 7.0.3\etc\python\grass\script\core.py", line 312, in > handle_errors > returncode=returncode) > grass.exceptions.CalledModuleError: Module run None > ['r.viewshed', '--q', 'observer_elevation=0', > 'input=dem_cm@Datos_viewshed_ejemplo', > 'refraction_coeff=0.14286', > 'coordinates=538892.79570571,4756461.28637303', > 'memory=800', 'max_distance=-1', 'output=vshed_1\r', > 'target_elevation=1.75'] ended with error > Process ended with non-zero return code -1073741701. See > errors in the (error) output. > (Tue Aug 30 17:08:17 2016) Comando finalizado. (0 segundos)
Module r.viewshed fails, so I would suggest changing observer_elevation to a number bigger than zero, although I am not sure if that's the problem. Then you can also try running r.viewshed itself for one of your points just to check it is running. Anna > > > Hope anyone could help. I am using GRASS 7.0.3 in a Windows 10 laptop. I > tried to use it 7.0.4 version, and the error is the same as before, but > with: > > WARNING: Illegal filename <vshed_1 >>. Character < >> not allowed. > > > Thanks for the attention, > > Best, > > Miguel. > > _______________________________________________ > 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
