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

Home » Public Forums » archive » Read ASCII
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: read ascii [message #63622 is a reply to message #10591] Mon, 17 November 2008 06:35 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
julia.walterspiel@gmail.com writes:

> I understand, that NaN has some problems with certain routines, like
> TOTAL, but obviously it also has problems with MEAN?! Whenever I have
> a "NaN" in a part of the data I want to get the mean of, the result is
> "NaN"... isn't the nice thing about working with NaN that IDL
> recognizes those "values" as bad values and ignores them in further
> calculations??
> would the other way to set all NA-data to e.g. 10000 and then continue
> working with the MAX_VALUE function the better solution here?

Have you tried setting the NAN keyword on the MEAN function?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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
Previous Topic: idl for solaris
Next Topic: IDL and sqlite

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

Current Time: Fri Oct 10 23:15:19 PDT 2025

Total time taken to generate the page: 1.03964 seconds