check_string_dtype not in my version of h5py

Skip to first unread message


Jun 30, 2020, 7:11:41 PM6/30/20
to h5py
Which version of h5py introduced the "check_string_dtype" function?  I'm using version 2.9.0 (from Anaconda) on a Mac running MacOS 10.14.6 and Python3.7.4 (also from Anaconda).

If "check_string_dtype" is too new for my version of h5py any ideas on how to code around it?  I want to raise an error if a dataset consists of a variable length string when I'm checking for CF compliance.

Thanks for any information,


Thomas Kluyver

Jul 1, 2020, 3:56:34 AM7/1/20
Hi Catherine,

It was added in 2.10. There's an 'Older API' heading in the docs summarising what to do in older versions:

You can also look at the 2.9 docs - there's a link near the lower left corner to switch between versions:


You received this message because you are subscribed to the Google Groups "h5py" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages