Greetings Ryan,

Does h5dump also produce errors?

I don't think a (bug-free) h5import should be able to produce a bad hdf5 file, regardless of the config file.

It may be helpful to tell the list what version of h5import and HDFView you are using.

--dan


Ryan Price wrote:
Hello,

I would like to convert a binary dump (of SIFT features) to a HDF5 dataset.  I believe I have the dimensions and everything correct in my config file which I have provided below, but I could be wrong since the info on the binary dump I'm working from is not particularly clear. 

When I run the h5import command with my config file, the outfile file is created without error. 

When I open the outfile with hdfview, I see the dataset name but not really much else and many errors are reported, which I have copied below.

The errors seem to suggest I am not creating the data set correctly.  Any idea what I'm doing wrong?

Thanks,

Ryan

config_file:
PATH grp1/sift-test
INPUT-CLASS UIN
INPUT-SIZE 8
RANK 2
DIMENSION-SIZES 128 5328755
OUTPUT-CLASS UIN
OUTPUT-SIZE 8

errors when opening:
HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 2102279024:
  #000: ../../../src/H5Adeprec.c line 214 in H5Aopen_name(): can't open attribute
    major: Attribute
    minor: Can't open object
  #001: ../../../src/H5A.c line 865 in H5A_open_by_name(): unable to load attribute info from object header
    major: Attribute
    minor: Unable to initialize object
  #002: ../../../src/H5Oattribute.c line 533 in H5O_attr_open_by_name(): can't locate attribute
    major: Attribute
    minor: Object not found
HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 2102279024:
  #000: ../../../src/H5Edeprec.c line 182 in H5Eget_minor(): not a error message ID
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 2102279024:
  #000: ../../../src/H5Adeprec.c line 214 in H5Aopen_name(): can't open attribute
    major: Attribute
    minor: Can't open object
  #001: ../../../src/H5A.c line 865 in H5A_open_by_name(): unable to load attribute info from object header
    major: Attribute
    minor: Unable to initialize object
  #002: ../../../src/H5Oattribute.c line 533 in H5O_attr_open_by_name(): can't locate attribute
    major: Attribute
    minor: Object not found
HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 2102279024:
  #000: ../../../src/H5Edeprec.c line 182 in H5Eget_minor(): not a error message ID
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 2102279024:
  #000: ../../../src/H5Adeprec.c line 214 in H5Aopen_name(): can't open attribute
    major: Attribute
    minor: Can't open object
  #001: ../../../src/H5A.c line 865 in H5A_open_by_name(): unable to load attribute info from object header
    major: Attribute
    minor: Unable to initialize object
  #002: ../../../src/H5Oattribute.c line 533 in H5O_attr_open_by_name(): can't locate attribute
    major: Attribute
    minor: Object not found
HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 2102279024:
  #000: ../../../src/H5Edeprec.c line 182 in H5Eget_minor(): not a error message ID
    major: Invalid arguments to routine
    minor: Inappropriate type


_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

-- 
Daniel Kahn
Science Systems and Applications Inc.
301-867-2162



_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to