<div dir="ltr"><div class="gmail_extra">Hi Carlos,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 13, 2016 at 2:04 PM, Carlos Grohmann <span dir="ltr"><<a target="_blank" href="mailto:carlos.grohmann@gmail.com">carlos.grohmann@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div>I'm trying to run r.denoise from a python script but I'm getting some errors (below). Apparently this is about using pipe to redirect outputs (r.denoise is a bash script).</div></blockquote><div><br></div><div>What you get in the command line (without involving Python)? How did you install r.denoise? Which version of GRASS GIS?<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div><br></div><div>any ideas to work around this situation?</div></blockquote></div><br></div><div class="gmail_extra">Provide full path to the module instead of the name or modify your PATH variable so that r.denoise is found? (Also check shebang and executable permissions.)<br><br></div><div class="gmail_extra">The solution might be 1) rewrite r.denoise to Python and GRASS GIS 7, so it can go into addons, or 2) take mdenoise code which is GPL >2 and port it to GRASS.<br><br></div><div class="gmail_extra">Vaclav<br></div></div>