[GRASS-SVN] r38805 - grass/trunk/raster/r.univar
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 20 05:49:11 EDT 2009
Author: neteler
Date: 2009-08-20 05:49:11 -0400 (Thu, 20 Aug 2009)
New Revision: 38805
Modified:
grass/trunk/raster/r.univar/stats.c
Log:
report also total cells in script style
Modified: grass/trunk/raster/r.univar/stats.c
===================================================================
--- grass/trunk/raster/r.univar/stats.c 2009-08-20 09:47:19 UTC (rev 38804)
+++ grass/trunk/raster/r.univar/stats.c 2009-08-20 09:49:11 UTC (rev 38805)
@@ -110,6 +110,7 @@
if (param.shell_style->answer) {
fprintf(stdout, "n=%d\n", stats->n);
fprintf(stdout, "null_cells=%d\n", stats->size - stats->n);
+ fprintf(stdout, "cells=%d\n", stats->size);
fprintf(stdout, "min=%.15g\n", stats->min);
fprintf(stdout, "max=%.15g\n", stats->max);
fprintf(stdout, "range=%.15g\n", stats->max - stats->min);
More information about the grass-commit
mailing list