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

Home » Public Forums » archive » Re: MISSING_VALUE
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: MISSING_VALUE [message #43260 is a reply to message #43259] Tue, 29 March 2005 07:24 Go to previous messageGo to previous message
Matthias Demuzere is currently offline  Matthias Demuzere
Messages: 9
Registered: April 2004
Junior Member
Thanks, but I still have a problem now...

"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1cb31cad9915836098999e@news.frii.com...
> Matthias Demuzere writes:
>
>> I'm reading an ascii file with the following command:
>> res = read_ascii(input+fnam+'.txt', delimiter=' ', MISSING_VALUE=99999)
>>
>> When I print "res", he's also printing 99999, but I want that value to be
>> reproduced as NaN.
>> Can anyone help me with this little problem?
>
> How about:
>
> res = read_ascii(input+fnam+'.txt', delimiter=' ', $
> MISSING_VALUE=!VALUES.F_NAN)

At a certain point i the proces, he's giving me the values 'NaN' where there
are no values, so this is OK. But when i'm trying to plot the data, no he's
giving a '0' value in my graph, so that isn't correct, there shouldn't be
any value at all...
Any helps??

Greetz,
Matthias


> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: C Alignment/IDL structures
Next Topic: IDLWAVE EMACS QUESTION

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

Current Time: Fri Oct 10 09:50:39 PDT 2025

Total time taken to generate the page: 1.84997 seconds