hdf5 compatbility