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

Home » Public Forums » archive » Re: Interesting Filled Contour Problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Interesting Filled Contour Problem [message #79901 is a reply to message #79900] Mon, 16 April 2012 20:21 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Monday, April 16, 2012 4:57:40 PM UTC-4, David Fanning wrote:
> We have a winner, and from a MOST unexpected source!
> Josh, a Technical Support Engineer at Excelis, has
> correctly identified the problem as being caused
> by NaNs in the original data set. When I do this:
>
> data = data > 0
>
> I apparently set the NaN values to zero, too.
> (Not sure this is totally kosher, but it does
> seem to work!)

Whaaa? I was under the impression that
NAN = !values.d_nan
NAN OP X
will always result in a value of NAN, for all operations OP and for all operands X. In other words, I don't think IDL's behavior is kosher.

Strangely,
NAN < 0
produces NAN, so apparently NAN is a negative number (!!!).

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: TOA (Time of Arrival)
Next Topic: Coyote's Guide to IDL Programming now in Armenian!

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

Current Time: Fri Oct 10 10:47:45 PDT 2025

Total time taken to generate the page: 0.56290 seconds