Dear Stefan, If i remember it right, the window size is an input to the r.neighbors command. In the script there is an option to slect a windows size:
#%option #% key: window #% type: integer #% description: window size default is 5 #% answer : 5 #% required : yes #%END You can modify the r.neighbors section like this: r.neighbors input=A output=C method=sum size=$GIS_OPT_window --o r.neighbors input=B output=D method=sum size= $GIS_OPT_window --o On Sun, Feb 26, 2012 at 5:51 PM, Stefan Sylla <[email protected]> wrote: > By now, the script can only calculate the forest fraction for a 3x3 window. > Any ideas on how to automatically generate different window-sizes would be > welcome. -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------ _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
