tmullins / hdf5oct

A library for reading hdf5 files with GNU Octave
Other
9 stars 19 forks source link

h5read fails with error #12

Open schloegl opened 7 years ago

schloegl commented 7 years ago

loading of hdf5 file fails with error :

x=h5read('ec013.156.nwb','/file_create_date') HDF5-DIAG: Error detected in HDF5 (1.8.13) thread 140122874586880:

000: ../../../src/H5Dio.c line 173 in H5Dread(): can't read data

major: Dataset minor: Read failed

001: ../../../src/H5Dio.c line 420 in H5D__read(): unable to set up type info

major: Dataset minor: Unable to initialize object

002: ../../../src/H5Dio.c line 952 in H5D__typeinfo_init(): unable to convert between src and dest datatype

major: Dataset minor: Feature is unsupported

003: ../../../src/H5T.c line 4535 in H5T_path_find(): no appropriate function for conversion path

major: Datatype minor: Unable to initialize object error: error when reading dataset

I've installed hdf5oct 0.4.0 in octave 4.0.0 on linux. The file is available from here: https://portal.nersc.gov/project/crcns/download/nwb-1/hc-3/ec013.15.zip

The file can be loaded into matlab, and h5dump works also. Therefore, I'd assume it's a problem with hdf5oct.

stegro commented 7 years ago

Hello, thank you very much for reporting. I think in this case the message is expected because reading string-typed datasets has just not been implemented by anyone so far (see the ToDo section in the Readme file) probably because we have not needed it ourselves. Someone should complete it though, I agree - also because there seems to be some activity concerning the integration of hdf5oct code into octave core (see patchbay at GNU octave's savanah page). Any volunteers?