[GRASS-dev] [GRASS GIS] #429: Add option to disable warnings in modules

GRASS GIS trac at osgeo.org
Mon Jan 12 18:51:42 EST 2009


#429: Add option to disable warnings in modules
-------------------------+--------------------------------------------------
 Reporter:  kyngchaos    |       Owner:  grass-dev at lists.osgeo.org
     Type:  enhancement  |      Status:  new                      
 Priority:  minor        |   Milestone:  6.4.0                    
Component:  default      |     Version:  svn-develbranch6         
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 I would like to be able to suppress warning messages in commands, yet keep
 messages based on the GRASS_VERBOSE level, especially in raster projection
 (r.proj) where is possible to get thousands of "pj_transform() failed:
 tolerance condition error" warnings, depending on the projection, that are
 expected but clutter the progress output and slow down the process.

 I see that G_warning() has a companion G_suppress_warnings(), so this at
 least was an intended possibility at one time (but maybe deprecated or
 discouraged now?).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/429>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list