Home »
Public Forums »
archive »
do SMOOTH not on all data
do SMOOTH not on all data [message #32692] |
Wed, 30 October 2002 07:57 |
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
_________________________________________________
|
|
|
Current Time: Fri Oct 10 00:54:49 PDT 2025
Total time taken to generate the page: 1.12211 seconds