comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » do SMOOTH not on all data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
do SMOOTH not on all data [message #32692] Wed, 30 October 2002 07:57
David Oesch is currently offline  David Oesch
Messages: 31
Registered: October 2000
Member
Hi outthere,

I just want to use SMOOTH on a 2D array. But some data are bad (-9999)
and should not be considered in the smoothing process. Well trying to
assign those bad data like this
novalid=WHERE(array NE -9999)
result=SMOOTH(array(novalid),5)

DOES not work.

I think the solution is using 'NaN' option, but how to I assign -9999 as
NaN as the !VALUES.F_NAN is write protected?

Cheers

Dave

--
_________________________________________________

David Oesch - Remote Sensing Research Group

Department of Geography

University of Bern Tel : +41 (0)31 631 8020
Hallerstr. 12 Fax : +49 (0)89 2443 43780
CH - 3012 Bern Mail: David.Oesch@giub.unibe.ch
Switzerland http://www.giub.unibe.ch/remsen

Remote Sensing is...
Staying as far away from the problem as possible.
- G. Archer, World Bank
_________________________________________________
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Lossless JPG Decompression
Next Topic: Re: slice of 2D surface

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 06:53:40 PDT 2025

Total time taken to generate the page: 0.97388 seconds