Re: HDF_SD_GETACCESS: No content in variable, error [message #71800 is a reply to message #71799] |
Wed, 21 July 2010 08:05   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
aa8533 writes:
> Hi - thanks for that David. However, I examined the index values and
> they are the same (3) both for scenes where there is (and is not)
> data. So the problem seems to remain.
>
> What I think I need to do is kind of what you suggested but to check
> the sample for data (i.e. check that it is not -1) before I get to
> hdf_sd_getdata,sds,sample - I just don't know how ...!
>
> Thank you again and if you have any more suggestions, I'd be most
> grateful.
Well, I'm kind of interested in this topic myself,
since I have a lot of code that reads scientific
data sets, and I would like to make the code as
robust as possible.
Is it possible to get ahold of a file that "works"
and one that doesn't? I could run some tests.
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.")
|
|
|