hdf-compass icon indicating copy to clipboard operation
hdf-compass copied to clipboard

compass doesn't display enum_type value as HDF5 indicates

Open kyang2014 opened this issue 9 years ago • 2 comments

  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, .....

kyang2014 avatar Oct 13 '15 15:10 kyang2014

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

jreadey avatar Oct 13 '15 17:10 jreadey

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

giumas avatar Oct 27 '15 03:10 giumas