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

Home » Public Forums » archive » Re: where() and IEEE NaN
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: where() and IEEE NaN [message #17798 is a reply to message #17793] Fri, 05 November 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Pavel Romashkin (promashkin@cmdl.noaa.gov) writes:

> I am not sure if trying to use WHERE on NaN is legitimate. NaN is a
> missing value by definition, and the request to WHERE those values is
> senseless.

Spoken like a software developer, Pavel! Bravo! :-)

> However, I'd too better like WHERE to complain than to
> quietly return some array.

Uh, well, yeah. :-(

> It does not seem to be a *practical* problem because NaNs don't sneak
> into your arrays unless you place them in.

Or, more likely read them from a file of someone else's
data, where they can sometimes cause all kinds of havoc.

> As for whether its right or wrong, I think someone said it before: iI am
> more interested in how to do what I need, not in how I think they did it
> wrong.

Really!? Now you sound like a computer programmer. I'm
confused. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Center of mass???
Next Topic: Re: contour plots on walls of a cube

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

Current Time: Thu Oct 09 22:05:03 PDT 2025

Total time taken to generate the page: 1.68145 seconds