Hi John,
Thank you for your answer.
I have found :
#Import h5py library Import h5py #Open HDF5 file with h5py, read-write mode 
f=h5py.File ('PROBAV_S1_TOA_X11Y07_20140607_300 m_V001.hdf5','r+') #Use Python 
dictionary syntax to explore the HDF5 structure f.keys() #Get dimensions 
f[‘/LEVEL3/RADIOMETRY/BLUE/TOA’].shape #Get data type 
f[‘/LEVEL3/RADIOMETRY/BLUE/TOA’].dtype #Get value array 
f[‘/LEVEL3/RADIOMETRY/BLUE/TOA’].value 
Natacha
 

     Le Vendredi 27 février 2015 20h11, John Readey <[email protected]> a 
écrit :
   

 Hi Natacha,  Are you using h5py?  It should be as simple as:
 f = h5py.File(“myfile.h5”, “r”) mygroup = f[“group_name”]

John
From: volto natacha <[email protected]>
Reply-To: volto natacha <[email protected]>, "[email protected]" 
<[email protected]>
Date: Thursday, February 26, 2015 at 11:43 AM
To: "[email protected]" <[email protected]>
Subject: [Hdf-forum] Read the data in a group in a HDF5 file




  Hi,
I have a PROBA-V imagery (HDF5)
<HDF5 group "/LEVEL3" (5 members)>
I know that I have 5 members in a group in my file HDF5 but I can't open them.
Could you please help me to read this 5 members ?

Thank you,
Natacha




   
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to