> I need to calculate max, min and mean values within a moving window with
> a window size bigger than 25 cells (which is the upper limit for
> r.neighbors). Does anybod know some advice?If you have the source code, delete the following line:
parm.size->options = "1,3,5,7,9,11,13,15,17,19,21,23,25" ;
from src/raster/r.neighbors/cmd/main.c, then re-compile and
re-install.
is this better?
From src/raster/r.param.scale/interface.c
/*-----------------------------------------------------------------*/
/* CHECK WINDOW SIZE IS NOT EVEN OR TOO LARGE */
/*-----------------------------------------------------------------*/
if ( (wsize/2 != (wsize-1)/2) || (wsize > MAX_WSIZE) )
{
char err[256];
sprintf(err,"Inappropriate window size (too big or even)");
G_fatal_error(err);
}
src/raster/r.param.scale/param.h: #define MAX_WSIZE 69
is the upper limit (25) anything more than a local resources problem?
Hamish