[gdal-dev] accessing HDF5 metadata

Ricardo Filipe Soares Garcia da ricardo.garcia.silva at gmail.com
Tue Jan 25 18:20:50 EST 2011


Hi list
I am using the python bindings to handle some HDF5 data.
Up until now I had been using another python module (pytables) to
access the file's metadata and then GDAL to do some further
processing, but I am trying to depend only on GDAL for this issue, as
it seems it might be enough for the task I'm trying to perform.

The problem: I can't seem to read the attributes of the root node in
my HDF5 files, although I can access them at the band level.
I've found a ticket[1] that is indirectly referring to this subject.
However, I am not clear if the issue discussed in the ticket has been
resolved (probably in the new GDAL 1.8) and wether its resolution
would have the (great, at least for me) side-effect of allowing the
displaying of attributes at the root node. I have posted an online[2]
HDF5 file, in case it is helpful.

Can someone please elaborate a bit on this matter? Thanks

[1] - http://trac.osgeo.org/gdal/ticket/2412
[2] - http://ubuntuone.com/p/a9z/

-- 
___________________________ ___ __
Ricardo Garcia Silva


More information about the gdal-dev mailing list