A Saturday 20 November 2010 00:14:40 Kannan Ramaswamy escrigué:
> Hi,
> I am having issues with reading table data generated by pytables in a
> HDF5 C program. The table is two columns with a Time64Col and a
> Float64Col fields. I get the below error in a C HDF5 program that
> uses the H5TBread_records() api to get the data.
> 
> Do I need to register custom types to get at the data? Can you point
> me to some sample C code that works with Time64Col data?
> I tried to open the table in HDF5View -- it shows only the
> non-timestamp column in the table.
> 
> I can navigate the table and get at the groups without any problems.
> I am using pytables 2.1.1 (hdf5 1.8.0) to create the hdf5 file and
> hdf5 1.8.5-patch1 to read the file on a x86_64 linux (CentOS5)
> machine.
[clip]

It seems like a limitation of the H5TB API.  The Time64Col is mapped 
into a HDF5's H5T_TIME class, so it is not a custom type but a standard 
one.  You may want to report this to the HDF5 crew.

Cheers,

-- 
Francesc Alted

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to