On 23/05/16 15:01, Gareth Grewcock wrote:
Hi Stefan - thanks for getting back to me.
I had tried that before but still got issues, this time returning:
'NameError: name 'r' is not defined'
/r.shade(shade=aspect, color=elevation, output=elevation_aspect_shaded)/
/Traceback (most recent call
Hello,
I answered off-list by mistake.
Normally, when "non-zero return code1" occurs, you can see the error
generated by the module on the terminal.
Alternatively, you can try the solution given in the wiki to retrieve the error:
def read2_command(*args, **kwargs):
kwargs['stdout'] =
Hi Stefan - thanks for getting back to me.
I had tried that before but still got issues, this time returning:
'NameError: name 'r' is not defined'
*r.shade(shade=aspect, color=elevation, output=elevation_aspect_shaded)*
*Traceback (most recent call last):*
* File "", line 1, in *
*NameError:
Hei,
Maybe the issue is missing commas?
r.shade(shade=aspect, color=elevation, output=elevation_aspect_shaded)
Cheers
Stefan
From: grass-user [mailto:grass-user-boun...@lists.osgeo.org] On Behalf Of
Gareth Grewcock
Sent: 23. mai 2016 11:49
To: grass-user@lists.osgeo.org
Subject: [GRASS-user]
Hi – I’m having issues with r.shade module in grass 7.0.3 when trying to
interact with data via python.
r.shade runs absolutely fine through the UI, however, when I run the syntax
through the python console, I get a syntax error.
I have tried a variety of different datasets and syntax but it