[GRASS5] Re: [bug #2398] r.neighbors: add null pass-through support

---- Subject: r.neighbors: add null pass-through support

...

r.neighbors should have an option so output maps only contain data
where data exists in the original map.

Currently output maps 'grow' to the search distance, i.e.
output_val=mean(nonNULL(cell_values))

I should have mentioned, the reason this is needed is that r.neighbors
doesn't respect a null MASK when writing the output file, perhaps that
is the real bug.

Hamish

Hamish wrote:

> ---- Subject: r.neighbors: add null pass-through support
...
> r.neighbors should have an option so output maps only contain data
> where data exists in the original map.
>
> Currently output maps 'grow' to the search distance, i.e.
> output_val=mean(nonNULL(cell_values))

I should have mentioned, the reason this is needed is that r.neighbors
doesn't respect a null MASK when writing the output file, perhaps that
is the real bug.

The mask only applies to input, not output.

--
Glynn Clements <glynn.clements@virgin.net>