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

Home » Public Forums » archive » Re: Bad data in structure (NaN HowTo?)
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: Bad data in structure (NaN HowTo?) [message #22663 is a reply to message #22582] Tue, 28 November 2000 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Randall Skelton <rhskelto@atm.ox.ac.uk> writes:

> Thanks to both Pavel and Craig for their help.
>
>> In your case, I'd automate the search for numerical fields, because I
>> wouldn't be able to go through 450 fields myself. None of my business,
>> but are you sure this is the best way to organize the data?
>
> I am certainly open to suggestions on how to organize this data... It is
> spectroscopic remote sensing data and during measurements I get a dump of
> all of the sensor data (every 2 seconds) and one high resolution spectrum

Randall, is it true that you are filling the -12345 values within your
CALL_EXTERNAL procedure? If so, then perhaps you can try the second
thing I suggested. Namely, in IDL create whatever "null" variables
you want, either NaN or whatever. Then pass those variables into the
CALL_EXTERNAL procedure. Then your C code can easily subtitute those
values wherever needed. However there is no such thing as NaN for
integers so I'm not sure what you can do there.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mixing ASCII and Binary in files
Next Topic: Re: FSC_surface and xsurface under LINUX/IDL5.3

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

Current Time: Sun Oct 12 22:19:02 PDT 2025

Total time taken to generate the page: 1.03992 seconds