[GRASS-dev] [GRASS GIS] #2967: [PATCH] Super quiet mode
GRASS GIS
trac at osgeo.org
Mon Mar 21 03:15:15 PDT 2016
#2967: [PATCH] Super quiet mode
--------------------------+-------------------------
Reporter: rouault | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.4
Component: Default | Version: unspecified
Resolution: | Keywords:
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by mlennert):
Replying to [ticket:2967 rouault]:
> Some utilities like r.out.gdal can be rather verbose with warnings :
> {{{
> WARNING: Precision loss: Raster map <mean.blue> of type DCELL to be
>
> exported as UInt16. This can be avoided by using Float64.
> WARNING: Forcing raster export.
> WARNING: Unable to set projection
> }}}
>
> --quiet doesn't suppress those warnings. Setting GRASS_VERBOSE=-1 is a
possibility, but this also suppresses fatal warnings, which is quite
annoying.
>
> The attached proposed patch adds a --qq option for a super verbose mode
that suppress everything but fatal warnings.
Thanks for the patch. I'm often annoyed by the same issue. I've committed
your patch to trunk in r68092 for further testing.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2967#comment:3>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list