[GRASS-user] Error when using r.viewshed.cva

Good day,
When trying to run r.viewshed.cva i keep getting this error (see below) (This is the entire report, you can see the inputs).
Am I missing something obvious? I do not use Grass often, work mostly on ArcGis but I am moving towards Grass.

r.viewshed.cva input=Clip_haedarlikan@RHIVidsyni vector=Grass_vidsyniPrufa@RHIVidsyni output=prufa
Note that the routine is constrained to points in the current geographic region.
Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED mode.
WARNING: Illegal filename <vshed_0

. Character <
not allowed.
ERROR: AMI_STREAM::write_item failed.
C:\Users\Adam\Desktop\LUK-GIS\GRASS/RHIvidsyni/RHIVidsyni/.t
mp/unknown/14496.0/STREAM_baaaaX: No space left on device
Traceback (most recent call last):
File “C:\Users\Adam\AppData\Roaming\GRASS7\addons/scripts/
r.viewshed.cva.py”, line 174, in
main()
File “C:\Users\Adam\AppData\Roaming\GRASS7\addons/scripts/
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.4\etc\python\grass\script\core.py”, line 395, in
run_command
return handle_errors(returncode, returncode, args,
kwargs)
File “C:\Program Files\GRASS GIS
7.0.4\etc\python\grass\script\core.py”, line 313, in
handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
[‘r.viewshed’, ‘–q’, ‘observer_elevation=1.75’,
‘input=Clip_haedarlikan@RHIVidsyni’,
‘refraction_coeff=0.14286’,
‘coordinates=445499.9999767,492499.99998253’, ‘memory=500’,
‘max_distance=-1’, ‘output=vshed_0\r’,
‘target_elevation=1.75’] ended with error
Process ended with non-zero return code 1. See errors in the
(error) output.
(Wed Aug 10 13:48:32 2016) Command finished (2 sec)

···

Regards,
Adam Hoffritz

Hello,

On Wed, Aug 10, 2016 at 10:32 AM, Adam Hoffritz
<adamhoffritz89@gmail.com> wrote:

Good day,
When trying to run r.viewshed.cva i keep getting this error (see below)
(This is the entire report, you can see the inputs).
Am I missing something obvious? I do not use Grass often, work mostly on
ArcGis but I am moving towards Grass.

r.viewshed.cva input=Clip_haedarlikan@RHIVidsyni
vector=Grass_vidsyniPrufa@RHIVidsyni output=prufa
Note that the routine is constrained to points in the current geographic
region.
Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED mode.
WARNING: Illegal filename <vshed_0

. Character <
not allowed.

ERROR: AMI_STREAM::write_item failed.
C:\Users\Adam\Desktop\LUK-GIS\GRASS/RHIvidsyni/RHIVidsyni/.t
mp/unknown/14496.0/STREAM_baaaaX: No space left on device

Here I can see "No space left on device". Could you please check if
you have enough space on the disk?

Best,

Anna

Traceback (most recent call last):
  File "C:\Users\Adam\AppData\Roaming\GRASS7\addons/scripts/
r.viewshed.cva.py", line 174, in <module>
    main()
  File "C:\Users\Adam\AppData\Roaming\GRASS7\addons/scripts/
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.4\etc\python\grass\script\core.py", line 395, in
run_command
    return handle_errors(returncode, returncode, args,
kwargs)
  File "C:\Program Files\GRASS GIS
7.0.4\etc\python\grass\script\core.py", line 313, in
handle_errors
    returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
['r.viewshed', '--q', 'observer_elevation=1.75',
'input=Clip_haedarlikan@RHIVidsyni',
'refraction_coeff=0.14286',
'coordinates=445499.9999767,492499.99998253', 'memory=500',
'max_distance=-1', 'output=vshed_0\r',
'target_elevation=1.75'] ended with error
Process ended with non-zero return code 1. See errors in the
(error) output.
(Wed Aug 10 13:48:32 2016) Command finished (2 sec)

Regards,
Adam Hoffritz

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Oh, yes I forgot to mention that I’m not sure if the error is because of a lack of space or if the files are named in the wrong way. I suppose space is the problem, i thought I had moved everything to a location with enough space. Maybe I didn’t move the right directory.

···

2016-08-10 14:39 GMT+00:00 Anna Petrášová <kratochanna@gmail.com>:

Hello,

On Wed, Aug 10, 2016 at 10:32 AM, Adam Hoffritz
<adamhoffritz89@gmail.com> wrote:

Good day,
When trying to run r.viewshed.cva i keep getting this error (see below)
(This is the entire report, you can see the inputs).
Am I missing something obvious? I do not use Grass often, work mostly on
ArcGis but I am moving towards Grass.

r.viewshed.cva input=Clip_haedarlikan@RHIVidsyni
vector=Grass_vidsyniPrufa@RHIVidsyni output=prufa
Note that the routine is constrained to points in the current geographic
region.
Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED mode.
WARNING: Illegal filename <vshed_0

. Character <
not allowed.
ERROR: AMI_STREAM::write_item failed.
C:\Users\Adam\Desktop\LUK-GIS\GRASS/RHIvidsyni/RHIVidsyni/.t
mp/unknown/14496.0/STREAM_baaaaX: No space left on device

Here I can see “No space left on device”. Could you please check if
you have enough space on the disk?

Best,

Anna

Traceback (most recent call last):
File “C:\Users\Adam\AppData\Roaming\GRASS7\addons/scripts/
r.viewshed.cva.py”, line 174, in
main()
File “C:\Users\Adam\AppData\Roaming\GRASS7\addons/scripts/
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.4\etc\python\grass\script\core.py”, line 395, in
run_command
return handle_errors(returncode, returncode, args,
kwargs)
File “C:\Program Files\GRASS GIS
7.0.4\etc\python\grass\script\core.py”, line 313, in
handle_errors
returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
[‘r.viewshed’, ‘–q’, ‘observer_elevation=1.75’,
‘input=Clip_haedarlikan@RHIVidsyni’,
‘refraction_coeff=0.14286’,
‘coordinates=445499.9999767,492499.99998253’, ‘memory=500’,
‘max_distance=-1’, ‘output=vshed_0\r’,
‘target_elevation=1.75’] ended with error
Process ended with non-zero return code 1. See errors in the
(error) output.
(Wed Aug 10 13:48:32 2016) Command finished (2 sec)

Regards,
Adam Hoffritz


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Bestu kveðjur,

Adam Hoffritz