[GRASS-dev] [GRASS GIS] #2967: Super quiet mode

GRASS GIS trac at osgeo.org
Sun Mar 20 14:35:54 PDT 2016


#2967: Super quiet mode
-------------------------+-------------------------
 Reporter:  rouault      |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.0.4
Component:  Default      |    Version:  unspecified
 Keywords:               |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2967>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list