H5 binary files differ

Hello,

sometimes even when I use the same program to generate two h5 files from
the same original binary data file, when I "diff" on the two h5 files, it
tells me "Binary files fileB.h5 and fileA.h5 differ".

Is it normal?

Pradeep

Hi,

  I think it's normal. Have you tried "h5diff"? It should tell
nothing, which indicates that the files are same.

···

--
HDF: Software that Powers Science

On Wed, Mar 6, 2013 at 6:29 AM, Pradeep Jha <pradeep@ccs.engg.nagoya-u.ac.jp> wrote:

Hello,

sometimes even when I use the same program to generate two h5 files from the
same original binary data file, when I "diff" on the two h5 files, it tells
me "Binary files fileB.h5 and fileA.h5 differ".

Is it normal?

Pradeep

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

Hi Pradeep,

I believe that if you generated two h5 files with different names, the files will be slightly different due to the name difference. This won't hold if you generated one file, rename it, then generate another using exactly the same executable. Using "h5diff" as Joe suggested will tell the true story though.

Binh-Minh

Quoting "H. Joe Lee" <hyoklee@hdfgroup.org>:

···

Hi,

  I think it's normal. Have you tried "h5diff"? It should tell
nothing, which indicates that the files are same.
--
HDF: Software that Powers Science

On Wed, Mar 6, 2013 at 6:29 AM, Pradeep Jha > <pradeep@ccs.engg.nagoya-u.ac.jp> wrote:

Hello,

sometimes even when I use the same program to generate two h5 files from the
same original binary data file, when I "diff" on the two h5 files, it tells
me "Binary files fileB.h5 and fileA.h5 differ".

Is it normal?

Pradeep

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

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