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

Home » Public Forums » archive » Re: Extract data from HDF 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: Extract data from HDF VGroup [message #37742] Wed, 21 January 2004 09:44 Go to next message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
"ily_Ni" <ily_Niort@yahoo.fr> wrote in message
news:85e226ad.0401210906.2390dabe@posting.google.com...
> Here is the characteristic of my HDF file :
>
> ------------------------------------------------------------ --------------
-----
> Vgroup # # of Members Name Class
> --------- ---------------------------------------------------------
> 0 1 Section 1.0 - File H
> 1 1 Section 2.0 - Produc Product Identificati
> 2 1 Section 3.0 - File D
> 3 4 Section 4.0 - Event Event Identification
> 4 10 Section 5.0 - Altitu Altitude-based Data
> 5 1 Section 6.0 - Aeroso Aerosol Information
> 6 1 Section 6.1 - Aeroso Aerosol Extinction p
> 7 1 Section 6.2 - Aeroso Aerosol Extinction R
> 8 1 g3a.ssp.00364210v02. CDF0.0
>
> How to extract data from Vgroup #4 ?
> I used HDF_VG_ATTACH, HDF_VG_LONE .... no results
>
> Here is my program :
>
> X=HDF_VG_LONE(file_id)
> IF X(0) EQ-1 THEN $
> PRINT, "No Lone VGroups" ELSE PRINT, "Lone VGroups:", X
> help, X
>
> for i=0,8 do begin
> Result = HDF_VG_ATTACH(file_id, X(i), /READ)
> HDF_VG_GETINFO, Result , CLASS= class,NAME= name, NENTRIES=nent ,
> REF=refs, TAG=tags
> print, i, class, ' NAME=', name, ' NENTRIES=', nent, ' REF=',
> refs, ' TAG=',tags
> HDF_VG_DETACH, Result
> endfor
> Print, 'Section 4.0 - Event Identification'
> ; lecture de "Section 2.0 - Product Identification"
> Vdata_id = HDF_VD_FIND(file_id, 'Section 4.0 - Event Identification')
>
> But it does not works....
>
> I would be happy if you have any idea about it !!!

You may want to try my HDF_VD Vdata read routines available at

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

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
Re: Extract data from HDF VGroup [message #38009 is a reply to message #37742] Tue, 10 February 2004 06:46 Go to previous message
ily_Niort is currently offline  ily_Niort
Messages: 2
Registered: January 2004
Junior Member
It works

Thanks you
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Best way to store a time-stamp
Next Topic: An Interactively rotating 3D animation ?

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

Current Time: Wed Oct 08 17:28:13 PDT 2025

Total time taken to generate the page: 0.00534 seconds