[GRASS-dev] Suggestion about parameter 'size' in module r.param.scale

Markus Neteler neteler at osgeo.org
Wed Feb 26 11:38:30 PST 2014


On Mon, Feb 24, 2014 at 6:00 PM, Alessandro Samuel Rosa
<alessandrosamuel at yahoo.com.br> wrote:
>
> Dear GRASS developers,
>
> The parameter 'size' in module r.param.scale defines the window size used to calculate DEM
> derivatives. It has a fixed maximum value of 69 defined in the line 18 of the header file 'param.h'.
> I suggest that this value be changed to a somewhat higher value like 999 to allow the user to
> employ larger windows to calculate DEM derivatives. The software from which this module was
> derived (LandSerf) allows in its actual version any window size.

In general I don't see a reason to not increase the value (while not
having checked the code).
Likely the memory consumption will increase with larger moving window sizes.

Furthermore an "unlimited" size is probably geomorphometrical
nonsense, but I see that 69 is an arbitrary.

Did you actually try in your local installation a larger size?

Best
Markus


More information about the grass-dev mailing list