Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compass doesn't display enum_type value as HDF5 indicates #97

Open
kyang2014 opened this issue Oct 13, 2015 · 2 comments
Open

compass doesn't display enum_type value as HDF5 indicates #97

kyang2014 opened this issue Oct 13, 2015 · 2 comments
Milestone

Comments

@kyang2014
Copy link

  1. File: ftp://ftp.hdfgroup.uiuc.edu/pub/outgoing/HDFCompass/kent-files/hdf5-handler-fake/ntypes.h5

  2. Testing version: Windows version of the release candidate from S3

The HDF5 ENUM type at h5compass is treated as 2-byte signed integer. In compass you just see numbers like 0,1,2,......
The information about ENUM is lost. This is the snippet of h5dump output. I think compass can at least provide the mapping of enum to the integer number.

DATATYPE H5T_ENUM {
H5T_STD_I16LE;
"RED" 0;
"GREEN" 1;
"BLUE" 2;
"YELLOW" 3;
"PINK" 4;
"PURPLE" 5;
"ORANGE" 6;
"WHITE" 7;
}
DATASPACE SIMPLE { ( 100, 200 ) / ( 100, 200 ) }
DATA {
(0,0): RED, PURPLE, BLUE, WHITE, PINK, GREEN, ORANGE, YELLOW, RED,
.....

@jreadey
Copy link
Member

jreadey commented Oct 13, 2015

I get a crash as soon as I click on the dataset. (This is with Mac OS X 10.10).
Anyone else seeing this?

@giumas giumas added the HDF5 label Oct 17, 2015
@giumas giumas added this to the 0.6.x milestone Oct 27, 2015
@giumas giumas added the bug label Oct 27, 2015
@giumas
Copy link
Collaborator

giumas commented Oct 27, 2015

On Win, I don't get a crash, but the described bug is there.

@giumas giumas modified the milestones: 0.7.0, 0.6.x Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants