<div><br></div><div>In some functions, for instance g.remove even after using quiet=True ther warnings are still beng printed. was tha expected?</div><br>Regarding GDALWARP, I'm running this command:<div>grass.debug("gdalwarp -t_srs %s -srcnodata %s -dstnodata %s -tr %s %s %s %s" % (proj_location, no_value, no_value, t_srx, t_sry, input, tempfile))</div>
<div>can I use something in order to avoid all the printing that this does?<br><br><div class="gmail_quote">On Mon, Oct 18, 2010 at 1:23 PM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">[please keep discussion on ML]<br>
<div class="im"><br>
2010/10/18 Helena Herrera <<a href="mailto:helenaherrera1980@gmail.com">helenaherrera1980@gmail.com</a>>:<br>
</div><div class="im">> Maybe I was not clear. What GRASS is doing is printing and I don't want ot<br>
> print those messages. So, what you are saying is that I'm not able to avoid<br>
> the printing og g.findfile?<br>
<br>
</div>as I wrote in the previous mail use grass.find_file(). Seems to me<br>
that I am not understanding well, running<br>
<br>
grass.run_command('g.findfile', ..., stdout = file(os.devnull, 'w'))<br>
<br>
is quite meaningless.<br>
<div><div></div><div class="h5"><br>
Martin<br>
<br>
--<br>
Martin Landa <landa.martin <a href="http://gmail.com" target="_blank">gmail.com</a>> * <a href="http://geo.fsv.cvut.cz/~landa" target="_blank">http://geo.fsv.cvut.cz/~landa</a><br>
</div></div></blockquote></div><br></div>