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

Home » Public Forums » archive » Re: HDF frustrations
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: HDF frustrations [message #38143 is a reply to message #38119] Sun, 22 February 2004 14:40 Go to previous messageGo to previous message
andrew.cool is currently offline  andrew.cool
Messages: 47
Registered: July 2003
Member
Michael Wallace <mwallace.removethismunge@swri.edu.invalid> wrote in message news:<103d0qatlo9385a@corp.supernews.com>...
> My education in IDL continues. Today's lesson is HDF files. I had
> never heard of HDF, let alone try to work with it before now. (Boo!)
> But, it appears that IDL already had a fair number of HDF functions.
> (Yea!) But, the documentation makes absolutely zero sense. (Boo!) But
> there's always help at the IDL newsgroup. (Yea!) ... It's Friday
> afternoon and I'm in a weird mood.
>
> Anyway, someone far away on this vast internet was gracious enough to
> make some of his data available, but he created HDF files (with ample
> documentation of what all the fields mean). Maybe it's because I don't
> understand the HDF format itself, but I couldn't find any coherent
> explanation of the IDL API to HDF. In the past hour or so, I've only
> managed to determine that there are 13 tags in the file in question.
> And I've found which tags are being referenced. I tried using
> HDF_Browser to create a template for me, and I can see the field names
> and such, but there's nothing to click on to the make the template
> extract everything. When I try an HDF_Read afterward, I only get a
> couple of the metadata items in my structure. Where's the rest of the
> data? Why isn't it there?
>
> All I want to do is dump all of the data in the file into a structure!
> Is that too much to ask?! I really have no need or desire to learn all
> the ins and outs of HDF; I just want to read this data. Had this been
> plain text, I would already have my plots by now. Plain text files are
> _so_ much better.
>
> *sigh*
>
> -Mike

Hi Mike,

I know SFA about HDF, but I do know that for HDF 5 there's a routine
called H5_PARSE.PRO that returns a structure of all the goodies in the file.
The source code is in the LIB directory of the IDL distribution.

Might help.

Andrew

DSTO, Adelaide, South Australia
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDLgrModel, rotation angles
Next Topic: Optional parameters

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

Current Time: Fri Oct 10 15:23:33 PDT 2025

Total time taken to generate the page: 7.36262 seconds