<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 24, 2016 at 1:11 PM, Laurent C. <span dir="ltr"><<a href="mailto:lrntct@gmail.com" target="_blank">lrntct@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">2016-05-24 4:36 GMT-05:00 Gareth Grewcock <<a href="mailto:garethgrewcock@gmail.com">garethgrewcock@gmail.com</a>>:<br>
> Again - thanks for all the help so far, it is much appreciated.<br>
><br>
> Laurent - I ran the read2_command and it returned the following:<br>
><br>
> output='shaded_raster_hillshade_map', brighten='25', overwrite=True)<br>
> AttributeError: 'module' object has no attribute 'read2_command'<br>
<br>
</span>You have to define the function yourself with the code from the wiki,<br>
it is not part of the GRASS scripting library.</blockquote></div><br></div><div class="gmail_extra">Hi all,<br><br></div><div class="gmail_extra">let me enter the conversation here.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Gareth, using custom function might be quite an overkill here, the original problem was wrong Python syntax (unrelated to any GRASS GIS functionality).<br><br></div><div class="gmail_extra">Laurent, if you think you must consistently use some custom function, then you should consider opening a enhancement ticket and ideally provide a patch as well. What you are using might be useful for others.<br><br></div><div class="gmail_extra">Best,<br></div><div class="gmail_extra">Vaclav<br></div></div>