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

Home » Public Forums » archive » Re: reading HDF with HDF_SD_START()
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: reading HDF with HDF_SD_START() [message #56138 is a reply to message #56137] Sun, 07 October 2007 20:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
fanxing_gis@163.com writes:

> i'm sorry to state the occasion when the error listed above occurs.I
> write a programme to view the HDF data structue including scientific
> data set,global attributes and attributes of SD.To do that i start a
> new IDL session and open the HDF file with hdf_sd_stat(),it worked
> well, all the SDs were listed in widget_list using hdf_get_info(),here
> i click each of the SDS the attributes or the information of the SDS
> could be showed in a text widget, at the beginning it is run well,but
> repeat the process several times the programme was halted and the
> error message is printed:
>
> HDF_SD_START: Unable to start the HDF-SD interface.
> Execution halted at: $MAIN$
> in the same session i write the follow code in command line,and the
> same error message printed as above.
>
> IDL> a=dialog_pickfile()
> IDL> hdfid=hdf_sd_start(a)
> after that,i try the fileinfo() function, it's worked well,the result
> is as follows:
> ** Structure <11534e0>, 7 tags, length=36, data length=36, refs=1:
> NAME STRING 'D:\AST_09T_003080820010402180000000.hdf'
> EXIST LONG 1
> READ LONG 1
> WRITE LONG 1
> HDF LONG 1
> NETCDF LONG 0
> SIZE LONG 14324417
> if i describe that clearly ,i hope you kind guys could help me

Well, here is my guess. I think the variable you are
passing to HDF_SD_START in your widget program is not
what you think it is. But this is only a guess. I do
think the chances of it being a programming error is
the most likely probability. I'd start checking *all*
your assumptions.

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
Previous Topic: reading HDF with HDF_SD_START()
Next Topic: Re: IDL Help with Reading EOS-HDF Files

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

Current Time: Sat Oct 11 06:55:11 PDT 2025

Total time taken to generate the page: 0.48069 seconds