[GRASS-dev] r.average in grass 7 ?

Hi all,

I am porting my script r.basin to grass 7 and I just realized that r.average is missing in G7. As it is a dependence, I would like to know whether you are planning to resume it or I have to think a workaround to avoid its use.

Thanks,
madi


Ing. Margherita Di Leo, Ph.D.

On Tue, Apr 10, 2012 at 3:55 PM, Margherita Di Leo <dileomargherita@gmail.com> wrote:

Hi all,

I am porting my script r.basin to grass 7 and I just realized that r.average is missing in G7. As it is a dependence, I would like to know whether you are planning to resume it or I have to think a workaround to avoid its use.

solved with r.statistics2. Thanks to Anne’s and MarkusN’s hints :slight_smile:

Thanks,
madi


Ing. Margherita Di Leo, Ph.D.


Ing. Margherita Di Leo, Ph.D.

On Tue, Apr 10, 2012 at 3:55 PM, Margherita Di Leo
<dileomargherita@gmail.com> wrote:

Hi all,

I am porting my script r.basin to grass 7 and I just realized that r.average
is missing in G7. As it is a dependence, I would like to know whether you
are planning to resume it or I have to think a workaround to avoid its use.

The module has been replaced. For a list, see

Module changes GRASS 7
http://grass.osgeo.org/wiki/GRASS_7_ideas_collection#Modules

Markus

Hi,

2012/4/10 Markus Neteler <neteler@osgeo.org>:

Module changes GRASS 7
http://grass.osgeo.org/wiki/GRASS_7_ideas_collection#Modules

probably time to rename r.statistics2/3 to something more reasonable?

$ r.stat
r.statistics r.statistics2 r.statistics3 r.stats

?

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Tue, Apr 10, 2012 at 8:27 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2012/4/10 Markus Neteler <neteler@osgeo.org>:

Module changes GRASS 7
http://grass.osgeo.org/wiki/GRASS_7_ideas_collection#Modules

probably time to rename r.statistics2/3 to something more reasonable?

$ r.stat
r.statistics r.statistics2 r.statistics3 r.stats

Yes, I think the same. Suggestions:

* r.stats Generates area statistics for raster map layers.
  --> r.statistics.area

* r.statistics Calculates category or object oriented statistics.
  --> r.statistics.zonal

* r.statistics2 Calculates category or object oriented statistics
(accumulator-based statistics).
  --> r.statistics.zonal.fp

* r.statistics3 Compute category quantiles using two passes.
  --> r.statistics.quantiles

Still I feel that r.statistics could become a wrapper for r.statistics2,3 to
minimize the number of (too) similar modules.

Markus