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

Request Tracker grass-bugs at intevation.de
Sun May 9 08:14:53 EDT 2004


this bug's URL: http://intevation.de/rt/webrt?serial_num=2398
-------------------------------------------------------------------------

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

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: CVS April 2004

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))

Maybe for completeness/correctness it should have an option to return a value of null when there is ANY null data as part of the calculation, shrinking the map at the region bounds and around any null cells, as mathematically the neighborhood analysis is only 100% valid in these areas. (-s strict?)

see 'r.series -n'


thanks,
Hamish


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list