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

Home » Public Forums » archive » 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
Extract data from HDF VGroup [message #37743] Wed, 21 January 2004 09:06
ily_Niort is currently offline  ily_Niort
Messages: 2
Registered: January 2004
Junior Member
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 !!!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Another strsplit question
Next Topic: Re: "Color vectors" & shading

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

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

Total time taken to generate the page: 0.00601 seconds