On 5/10/07, Eric Jonas <[EMAIL PROTECTED]> wrote: > Hello! Has anyone managed to get arrays of H5T_COMPOUND working in > pytables, or found a workaround? I just wrote a bunch of C to create my > nested array of compound data types, and I was all set to access this > data from pytables, when I read > > http://www.pytables.org/docs/manual-2.0rc1/ape.html > > which seems to suggest that doing something like > > DATATYPE H5T_COMPOUND { > H5T_STD_U8LE "src"; > H5T_STD_U64LE "time"; > H5T_ARRAY { [4] > H5T_COMPOUND { > H5T_STD_U8LE "filtid"; > H5T_STD_U8LE "valid"; > H5T_STD_I32LE "threshold"; > H5T_ARRAY { [32] H5T_STD_I32LE } "wave"; > } } "waveforms"; > } > (from h5dump) just isn't going to work. This is really a bummer as > pytables was one of the primary reasons I wanted to use HDF5 for this > project. If anyone can recommend any work-arounds, or similar data > organizations that work, I'd love to hear it. > > Thanks! > ...Eric > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Pytables-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pytables-users >
Hi Eric, Did you remember to supply the format attributes as described in the appendix? http://www.pytables.org/docs/manual/apd.html -Dieter ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Pytables-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pytables-users
