[GRASS-dev] Re: [GRASS-user] r.mfilter.fp seg fault

Glynn Clements glynn at gclements.plus.com
Thu Mar 12 14:20:09 EDT 2009


Markus Neteler wrote:

> > Only the fact that it's not 100% backwards compatible, although I have
> > no idea whether anyone will actually want the old behaviour.
> 
> This might be unlikely.
> 
> > Apart from the use of integers, r.mfilter reads nulls as zero, while
> > r.mfilter.fp reads nulls as null and propagates them (i.e. the result
> > cell will be null if any cell in the moving window is null).
> 
> Could we have the same mechanism as in r.series (-n flag)?

We can add a flag to make it interpret null as zero.

Note that there's already the special treatment used if the divisor is
zero.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list