[GRASS-SVN] r33415 -
grass/branches/develbranch_6/raster/r.support.stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 12 08:10:52 EDT 2008
Author: neteler
Date: 2008-09-12 08:10:52 -0400 (Fri, 12 Sep 2008)
New Revision: 33415
Modified:
grass/branches/develbranch_6/raster/r.support.stats/check.c
grass/branches/develbranch_6/raster/r.support.stats/histo.c
Log:
smaller percent steps
Modified: grass/branches/develbranch_6/raster/r.support.stats/check.c
===================================================================
--- grass/branches/develbranch_6/raster/r.support.stats/check.c 2008-09-12 08:30:16 UTC (rev 33414)
+++ grass/branches/develbranch_6/raster/r.support.stats/check.c 2008-09-12 12:10:52 UTC (rev 33415)
@@ -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/branches/develbranch_6/raster/r.support.stats/histo.c
===================================================================
--- grass/branches/develbranch_6/raster/r.support.stats/histo.c 2008-09-12 08:30:16 UTC (rev 33414)
+++ grass/branches/develbranch_6/raster/r.support.stats/histo.c 2008-09-12 12:10:52 UTC (rev 33415)
@@ -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