[GRASS-dev] r.sum in SVN?

Hello list,

I am looking for summing up all pixels of a raster into one value
(output to stdin).
r.sum was supposed to do it earlier. However, it does not appear in SVN...

Could anyone help me locating it, it may have been absorbed into another module.

Thank you,
Yann

--
Yann Chemin
Senior Spatial Hydrologist
www.csu.edu.au/research/icwater
M +61-4-3740 7019

On Thu, Apr 15, 2010 at 4:05 AM, Yann Chemin <yann.chemin@gmail.com> wrote:

Hello list,

I am looking for summing up all pixels of a raster into one value
(output to stdin).
r.sum was supposed to do it earlier. However, it does not appear in SVN...

Could anyone help me locating it, it may have been absorbed into another module.

It is a regular module:

GRASS 6.4.0svn (eu_laea):~ > r.sum --help

Description:
Sums up the raster cell values.

Hope this helps,
Markus

[r.sum]

On Thu, Apr 15, 2010 at 9:45 AM, Yann Chemin <yann.chemin@gmail.com> wrote:

Hi Markus,

it does not appear in v7 SVN...

I have found the answer:

On Thu, Nov 20, 2008 at 11:48 PM, Glynn Clements
<glynn@gclements.plus.com> wrote:

As suggested in:

http://grass.osgeo.org/wiki/GRASS_7_ideas_collection

I have removed r.sum, r.average and r.median, as equivalent
functionality is available via r.statistics{,2,3}.

Will update the wiki page.

Markus

Yann:

> I am looking for summing up all pixels of a raster into one value
> (output to stdin).
> r.sum was supposed to do it earlier. However, it does not appear in SVN...
>
> Could anyone help me locating it, it may have been absorbed into another module.

Markus:

It is a regular module:

GRASS 6.4.0svn (eu_laea):~ > r.sum --help

Description:
Sums up the raster cell values.

apparently it was removed in trunk, see r34408, r34438
"Remove r.sum, r.average, r.median - redundant due to r.statistics{,2,3}"

Hamish

Yann wrote:

I am looking for summing up all pixels of a raster into one
value (output to stdin).

try `r.univar -g`

Hamish