[GRASS-user] Problems with r.viewshed.cva
Anna Petrášová
kratochanna at gmail.com
Tue Aug 30 08:48:54 PDT 2016
On Tue, Aug 30, 2016 at 12:30 PM, Miguel Carrero
<miguel.carrero.pazos at gmail.com> wrote:
> Hi Anna,
>
>
>
> Thanks for replying. The problem seems to be related to r.viewshed. I tried
> to run it as you sugggested, and it didn’t start. So, I removed it and
> re-installed it, and gives me this error:
>
>
>
> Downloading precompiled GRASS Addons <r.viewshed>...
>
> ERROR: File is not a zip file:
> http://wingrass.fsv.cvut.cz/grass70/x86_64/addons/grass-7.0.3/r.viewshed.zip
>
r.viewshed is not an addon, but core module. If I remember correctly,
there has been a problem with r.viewshed in 7.0.3 if you are running
64 bit GRASS. Try 7.0.4 or later.
>
>
> Miguel.
>
>
>
>
>
> De: Anna Petrášová
> Enviado: martes, 30 de agosto de 2016 16:22
> Para: Miguel Carrero
> CC: GRASS user list
> Asunto: Re: [GRASS-user] Problems with r.viewshed.cva
>
>
>
> Hi,
>
>
>
> On Tue, Aug 30, 2016 at 11:14 AM, Miguel Carrero
>
> <miguel.carrero.pazos at gmail.com> 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 at 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
>
>> grass-user at lists.osgeo.org
>
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
More information about the grass-user
mailing list