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

Home » Public Forums » archive » Re: HDF: accessing VData in VGroup
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: HDF: accessing VData in VGroup [message #68046] Tue, 22 September 2009 06:22
liamgumley is currently offline  liamgumley
Messages: 74
Registered: June 2005
Member
On Sep 22, 4:16 am, Klemens <jokulhl...@web.de> wrote:
> Thanks Liam ! The routines are very helpful and now I am able to
> retrieve all datasets. But I am still missing information about the
> structure of the HDF-File. I do not know which variable is stored in
> which VGroup. As I can see this information is not stored as an
> individual attribute for each variable, so I need the linkage coming
> from the VGroups ? Also I do not know if there is also an internal
> hierachy of VGroups like in the CloudSAT files.
>
> Do you have any ideas about that ?
>
> Thanks for your help !
>
> Klemens

Go to the following FTP site and download all the .pro files:

ftp://ftp.ssec.wisc.edu/pub/gumley/hdfdump/

Now try the following in IDL

hdfdump, 'myfile.hdf'

You should get a complete listing of the contents of the file,
including the Vdata hierarchy. Note that this works for HDF4 files
only.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
Re: HDF: accessing VData in VGroup [message #68049 is a reply to message #68046] Tue, 22 September 2009 02:16 Go to previous message
Klemens is currently offline  Klemens
Messages: 18
Registered: April 2007
Junior Member
Thanks Liam ! The routines are very helpful and now I am able to
retrieve all datasets. But I am still missing information about the
structure of the HDF-File. I do not know which variable is stored in
which VGroup. As I can see this information is not stored as an
individual attribute for each variable, so I need the linkage coming
from the VGroups ? Also I do not know if there is also an internal
hierachy of VGroups like in the CloudSAT files.

Do you have any ideas about that ?

Thanks for your help !

Klemens
Re: HDF: accessing VData in VGroup [message #68065 is a reply to message #68049] Mon, 21 September 2009 06:46 Go to previous message
liamgumley is currently offline  liamgumley
Messages: 74
Registered: June 2005
Member
On Sep 21, 3:27 am, Klemens <jokulhl...@web.de> wrote:
> Hello together,
>
> I am struggeling with reading VData from a VGroup in an HDF4-File
> (CloudSat-Data).
> I get the number of entries in the VGroup by HDF_VG_GETINFO and then
> try to loop over all entries.
> From there on it is not clear to me how to get first the IDs of the
> group and then to retrieve attributes and data.
> I tried using HDF_VD_GetID and HDF_VD_ATTACH but it is not clear to me
> how to derive the IDs of the VData from the VGroup.
>
> Thanks for your help in advance !
>
> Klemens

Check out the HDF_VD_* routines at this site:

http://www.gumley.com/PIP/Free_Software.html

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Sorting (big) int array: Eliminate for loop
Next Topic: Structure

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

Current Time: Wed Oct 08 20:01:39 PDT 2025

Total time taken to generate the page: 0.00569 seconds