From: Milad F. <ic...@gm...> - 2008-11-14 01:53:19
|
Hello: I have been using pytables to create HDF5 files which are then read in by another code, written in C++ which uses the 1.8.1 version of the HDF5 library. Everything was going well until I made a table with 1 record in pytables, then appended to the table in the C++ code using the H5TB interface. No matter how many records I appended in C++, only 2 records would actually be stored - the original one I made with pytables and the last record I appended in C++. If I create the table in C++, I can append to it without problems... My main question is: Is it OK to write/modify HDF5 tables made with pytables in C/C++? And to what extent are HDF5 files generated in pytables usable by other HDF5 tools that don't use pytables? I have a feeling that there can be incompatibilities because tables generated by pytables have a VERSION attribute set to 2.6, while those generated in C/C++ with hdf5 v1.8.1 have a VERSION attribute set to 2.0 (although I am not sure exactly what this version number means...) Thanks Milad |