Add option to disable warnings in modules
|Reported by:||kyngchaos||Owned by:|
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?).