[GRASS-dev] v.cellstats script [+new module: r.out.xyz]

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Tue Nov 21 09:04:00 EST 2006


On Monday 20 November 2006 15:57, Martin Wegmann wrote:
[...]
> > how does this script's function differ from the new r.resamp.stats
> > module?
>
> yes it looks the same and it's much faster, but it variance is missing.

I added in the main.c file of r.resamp.stats these lines to be able to 
calculate variance and stddev:

[..]
	{c_sum,    w_sum,    "sum",       "sum of values"},
	{c_var,    w_var,    "variance",  "variance value"},
	{c_stddev, w_stddev, "stddev",    "standard deviation"},
	{NULL,     NULL,        NULL}
[...]

it seems to work so far - if that is ok, shall I submit it to cvs?

Martin

[...]




More information about the grass-dev mailing list