[GRASS-user] How to implement this kind of operation?

Markus Metz markus.metz.giswork at gmail.com
Mon Jul 2 02:15:22 PDT 2012


On Mon, Jul 2, 2012 at 10:56 AM, DavidRA <theboss777 at gmail.com> wrote:
> I guess I could use the code of r.series, modifying it a bit to obtain a new
> function. The problem is that... man, that code is hard to understand. I do
> have some notions of C, but here I'm finding a lot of trouble to see what it
> does. For example, I don't see where it does the calculations: there is a
> section of the code with a comment saying "process the data", but inside of
> it, where is the average calculated? The average, or any of the other
> methods.

What function exactly would you need? Instead of modifying r.series
yourself, you could also request an enhancement to r.series.

Markus M


More information about the grass-user mailing list