In some functions, for instance g.remove even after using quiet=True ther
warnings are still beng printed. was tha expected?
Regarding GDALWARP, I'm running this command:
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))
can I use something in order to avoid all the printing that this does?
On Mon, Oct 18, 2010 at 1:23 PM, Martin Landa <[email protected]>wrote:
> [please keep discussion on ML]
>
> 2010/10/18 Helena Herrera <[email protected]>:
> > Maybe I was not clear. What GRASS is doing is printing and I don't want
> ot
> > print those messages. So, what you are saying is that I'm not able to
> avoid
> > the printing og g.findfile?
>
> as I wrote in the previous mail use grass.find_file(). Seems to me
> that I am not understanding well, running
>
> grass.run_command('g.findfile', ..., stdout = file(os.devnull, 'w'))
>
> is quite meaningless.
>
> Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev