Hi Bryan and welcome!
Not a pytables solution, but you can use the 'h5ls' utility that comes with
HDF5
h5ls -v blah.hdf
to get at what you're after. Of course, there is also a way to do this with
a python/pytables script using the ._v_attrs property on each node. See
note in your script below.
[EMAIL PROTECTED] wrote on 10/12/2007 04:08:19
AM:
> hi Folks
>
> Anyway, this is my starting script:
> import tables
> f='blah.hdf'
> ff=tables.openFile(f)
> for a in ff:
> ##try:
> print a._v_attrs <--- this is dictionary-like class,
type AttributeSet
> ##print type(a)
> ##print a.getAttr()
> ##x=a.attrs._f_list('all')
> ##except: pass
Hope this helps.
Elias Collas
Gulfstream Aerospace Corp
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users