Skip to content

8-bit enum type support? #1035

@d-chambers

Description

@d-chambers

Hello,

I am using pytables to read an HDF5 file created by another program. These files use 8-bit enums to indicate True (1) and False (0) values. Pytables doesn't like this, and I get hundreds of warnings like the following:

 DataTypeWarning: Unsupported type for attribute XXX in node '/'. Offending HDF5 class: 8

Looking at it in HDF5Viewer, these attributes look like this:

image

Is there a way to make these warnings go away, or, better yet, register this simple enum type so pytables can read in the correct boolean values?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions