Details Ticket 5008


Comment | Reply | Take | Resolve


Serial Number 5008
Subject r.neighbors: add null pass-through support
Area grass6
Queue grass
Requestors hamish_nospam@yahoo.com
Owner none
Status open
Last User Contact Wed Aug 16 16:18:25 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Aug 16 16:18:25 2006 (2 yr ago)
Created Wed Aug 16 11:38:23 2006 (2 yr ago)

Transaction History Ticket 5008


Wed, Aug 16 2006 11:38:23    Request created by mneteler  
Subject: r.neighbors: add null pass-through support

transferred here from #2398 due to spam bombing

Sun, May 9 2004 14:14:53 	   	Request created by guest 	 

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
Wed, Aug 16 2006 11:38:48    Comments added by mneteler  
Date 	 Mon, 10 May 2004 10:37:55 +1200
From 	Hamish <hamish_nospam yahoo.com>


> ---- 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
Wed, Aug 16 2006 11:39:23    Comments added by mneteler  
From 	 Glynn Clements <glynn.clements@virgin.net>
Date 	 Mon, 10 May 2004 07:56:14 +0100
To 	Hamish <hamish_nospam@yahoo.com>
Cc 	grass-bugs@intevation.de, grass5@grass.itc.it
Subject 	Re: [GRASS5] Re: [bug #2398] r.neighbors: add null pass-through support
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>
Wed, Aug 16 2006 16:18:25    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17635.10523.627719.484419@cerise.gclements.plus.com>
Date Wed, 16 Aug 2006 15:18:03 +0100
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5008] (grass) r.neighbors: add null pass-through support
In-Reply-To <20060816093823.582DD100160@lists.intevation.de>
References <20060816093823.582DD100160@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-3.952 tagged_above=-999 required=3 tests=[AWL=1.048, BAYES_00=-5]
X-Spam-Level
Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=5008
> -------------------------------------------------------------------------
> 
> Subject: r.neighbors: add null pass-through support

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

Agreed. There should be an option to propagate nulls.

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


Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request