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

Home » Public Forums » archive » Re: Is there a command which could tell a CDF file is good or not?
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: Is there a command which could tell a CDF file is good or not? [message #66130 is a reply to message #66127] Sun, 19 April 2009 14:49 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
litongmu@gmail.com writes:

> I am trying to run a code to deal with 1200 CDF files. However, some
> of them are not good files. When I use certain CDF commands to open or
> read them. IDL will return a error message and stop running. Now the
> problem is I have so many files. And I do not know which are good,
> which are bad. They all look the same size. But I can only tell when
> the code stop running. Therefore, I have to rerun the code again after
> deleting the bad file it picked out. So is there any command in IDL
> which could tell whether a CDF file is good or not. The important
> feature is that it can return results based on the judge. And it will
> not stop a program from running.

This is a general, and annoying, problem with all the IDL
scientific data formats. See, for example, this article:

http://www.dfanning.com/fileio_tips/nohdf.html

It appears to have to do with the underlying C libraries
that have been incorporated into IDL. But you are not the
only one who has run into exactly this problem.

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
Previous Topic: Is there a command which could tell a CDF file is good or not?
Next Topic: Re: Reading in data question

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

Current Time: Sat Oct 11 15:15:41 PDT 2025

Total time taken to generate the page: 1.83881 seconds