Hello: I have an HDF5 file that was generated outside of pytables (in a C++ program). It wrote a 3D array where the atom is:
Float64Atom(shape=(3,), dflt=array([ 0., 0., 0.])) In other words, it is a 3D array of 1D arrays of doubles. When I open the file in python using pytables, it correctly identifies the array shape and atom type. However, if i copy the dataset using the _f_copy method to another location the atom type changes to: Float64Atom(shape=(), dflt=0.0) In this case the copy is a 4D array of doubles, instead of a 3D array whose elements are 1D arrays. If I copy arrays that were made by pytables, no problem exists - it only occurs when I make the array outside of pytables and copy it using pytables. What is interesting is that pytables does identiy the atom correctly but changes it when copying... I've managed to circumvent the problem temporarily by making a new chunked array in the file then manually copying the data. Is this a bug, or is there some limitation on copying arrays made outisde of pytables? Thanks for your help. I hope this was clear. Milad
------------------------------------------------------------------------------
_______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users