-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
No answer but just to add at this, it also happens to me. I try to read an attribute of an enumerated type but am only interested in the byte value of the attribute and not the enumeration. So I use the same method as OP. And then the same error occurs. "Must provide at least one rank". |
Beta Was this translation helpful? Give feedback.
-
BTW, I managed to bypass the issue by just going to the underlying HDF-Group C wrapper. In my specific example I needed to retrieve the byte value (unsigned int 8 bit) which is the actual storage of the enumerated attribute type. The following code does this without a problem:
Maybe this can also help you out! [edited: made code sample complete] |
Beta Was this translation helpful? Give feedback.
BTW, I managed to bypass the issue by just going to the underlying HDF-Group C wrapper. In my specific example I needed to retrieve the byte value (unsigned int 8 bit) which is the actual storage of the enumerated attribute type. The following code does this without a problem: