h5diff bug/question

I have this attached file (I deleted most of the stuff out of it except an example of the problem). First, I was repacking it with compression and comparing it and getting diffs. Then I tried to copy it outright and I was getting diffs. Also, you can just plain diff against itself, and diffs show up. The datatype is a compound data type I've defined which is for a table used as a log file. I'm using h5diff 1.8.4. The file was written with version 1.8.2. Any idea why diffs would show up even when diffing the file against itself?

$ h5diff -r c.h5 c.h5
dataset: </readDataItemTest/Logfile> and </readDataItemTest/Logfile>
size: [1] [1]
position Logfile Logfile difference

c.h5 (11.1 KB)

···

------------------------------------------------------------
[ 0 ] ` \37777777660
[ 0 ] (
[ 0 ] \022 \020
[ 0 ] (
[ 0 ] \022 \020
5 differences found

David McCloskey
Lead Programmer Analyst
Software Development
Core Engineering
Nuclear Fuel

Westinghouse Electric Company
Energy Center
4350 Northern Pike
Monroeville, PA, 15146, USA
Phone: +1 (412) 374-3789
Fax: +1 (412) 374-4500
Email: mcclosdl@westinghouse.com
Home Page: www.westinghousenuclear.com

Hi David,

The issue was verified and we will address the problem.

Thanks for your report and the example HDF file!

Jonathan

···

From: hdf-forum-bounces@hdfgroup.org [mailto:hdf-forum-bounces@hdfgroup.org]
On Behalf Of McCloskey, David L.
Sent: Tuesday, August 10, 2010 9:47 AM
To: hdf-forum@hdfgroup.org
Subject: [Hdf-forum] h5diff bug/question

I have this attached file (I deleted most of the stuff out of it except an
example of the problem). First, I was repacking it with compression and
comparing it and getting diffs. Then I tried to copy it outright and I was
getting diffs. Also, you can just plain diff against itself, and diffs show
up. The datatype is a compound data type I've defined which is for a table
used as a log file. I'm using h5diff 1.8.4. The file was written with
version 1.8.2. Any idea why diffs would show up even when diffing the file
against itself?

$ h5diff -r c.h5 c.h5

dataset: </readDataItemTest/Logfile> and </readDataItemTest/Logfile>

size: [1] [1]

position Logfile Logfile difference

------------------------------------------------------------

[ 0 ] ` \37777777660

[ 0 ] (

[ 0 ] \022 \020

[ 0 ] (

[ 0 ] \022 \020

5 differences found

David McCloskey

Lead Programmer Analyst

Software Development

Core Engineering

Nuclear Fuel

Westinghouse Electric Company

Energy Center

4350 Northern Pike

Monroeville, PA, 15146, USA

Phone: +1 (412) 374-3789

Fax: +1 (412) 374-4500

Email: mcclosdl@westinghouse.com

Home Page: www.westinghousenuclear.com