pytables api to H5Tpack?

Skip to first unread message

Ken Walker

Oct 26, 2018, 5:44:23 PM10/26/18
to pytables-users
In the process of writing a utility to reorganize HDF5 data into separate files, I've tripped into an issue with compound data types.
This is what I am told by the developers for 2 applications that I deal with (one upstream/creates, the other downstream/consumes my data)
They expect compound data types to be packed. When I use Pytables to copy, some datasets are unpacked, and this results in an alignment error with unexpected "random data" that plays havoc when the downstream application reads the file. 
I'm told this can be addressed with H5Tpack(). Is that HDF5 function exposed thru the Pytables API? Or, is there another way to accomplish this task?

Francesc Alted

Oct 30, 2018, 4:04:17 AM10/30/18
to Ken Walker,
Hi Ken,

No, H5Tpack() is not exposed by PyTables directly.  If you need that, h5py is probably a better bet.


You received this message because you are subscribed to the Google Groups "pytables-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
For more options, visit

Francesc Alted
Reply all
Reply to author
0 new messages