[GRASS-SVN] r33417 - grass/trunk/raster/r.support.stats

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 12 16:10:33 EDT 2008


Author: neteler
Date: 2008-09-12 16:10:33 -0400 (Fri, 12 Sep 2008)
New Revision: 33417

Modified:
   grass/trunk/raster/r.support.stats/check.c
   grass/trunk/raster/r.support.stats/histo.c
Log:
smaller percentage steps

Modified: grass/trunk/raster/r.support.stats/check.c
===================================================================
--- grass/trunk/raster/r.support.stats/check.c	2008-09-12 19:48:23 UTC (rev 33416)
+++ grass/trunk/raster/r.support.stats/check.c	2008-09-12 20:10:33 UTC (rev 33417)
@@ -55,7 +55,7 @@
     G_message(_("Updating histogram range..."));
     i = histo_num = G_get_histogram_num(&histogram);
     while (i >= 0) {
-	G_percent(i, histo_num, 10);
+	G_percent(i, histo_num, 2);
 
 	if (data_type == CELL_TYPE)
 	    G_update_range(G_get_histogram_cat(i--, &histogram), &range);

Modified: grass/trunk/raster/r.support.stats/histo.c
===================================================================
--- grass/trunk/raster/r.support.stats/histo.c	2008-09-12 19:48:23 UTC (rev 33416)
+++ grass/trunk/raster/r.support.stats/histo.c	2008-09-12 20:10:33 UTC (rev 33417)
@@ -48,7 +48,7 @@
 
     /* Update statistics for each row */
     for (row = 0; row < nrows; row++) {
-	G_percent(row, nrows, 10);
+	G_percent(row, nrows, 2);
 
 	if (G_get_map_row_nomask(fd, cell, row) < 0)
 	    break;



More information about the grass-commit mailing list