[GRASS-dev] Re: [GRASS GIS] #429: Add option to disable warnings in
modules
GRASS GIS
trac at osgeo.org
Tue Jan 13 11:39:31 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
Resolution: | Keywords:
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by kyngchaos):
Hmm, the first nowarn toggle missed the correct code... maybe it should go
around the bordwalk() calls (both? 2nd only?)? I still got warnings when
it scans for the extents. But the main row/column loop worked.
So, as a comparison: before this enhancement request, I had a r.proj (LL
to perspective) running for 2 hours and gave up and cancelled it. I
couldn't tell how far it got since the progress was lost in warnings.
With just the main loop with warnings off, r.proj finished projecting the
raster in 10 minutes, and I don't see any missing or corrupt data.
Yes, it is possible that that there could be other issues in other
projections where warnings would be helpful, but if (I know, "if") I see
them I can redo it with warnings. Maybe some known harmless warnings,
like the tolerance condition error warning, could be explicitly ignored in
the nowarn flag, but I suppose we'd have to decide what is harmless, if
possible.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/429#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list