mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
9d94440384
1) added a new parameter to the h5diff function diff_array that contains the beginning position of the hyperslab, so that the total position in the array is printed correctly when reading by hyperslabs. 2) added a new test to h5diff that reads and diffs by hyperslabs. The test reads a 1GB dataset, from which a 1KB hyperslab was written with differences . 3) added the generation of 2 files to the generator program to test the h5diff hyperslab read. 4) changed the h5diff binary pre-generated file names to be more descriptive (e.g, instead of file1.h5, made it h5diff_basic1.h5) 5) changed the name of the h5repack options text file to info.h5repack
12 lines
686 B
Plaintext
12 lines
686 B
Plaintext
#############################
|
|
Expected output for 'h5diff h5diff_basic1.h5 h5diff_basic1.h5 -v -p 0.02 g1/dset7 g1/dset8'
|
|
#############################
|
|
Dataset: </g1/dset7> and </g1/dset8>
|
|
position dset7 dset8 difference relative
|
|
------------------------------------------------------------------------
|
|
[ 1 0 ] 100 103 3 0.030000
|
|
[ 1 1 ] 100 104 4 0.040000
|
|
[ 2 0 ] 100 150 50 0.500000
|
|
[ 2 1 ] 100 200 100 1.000000
|
|
4 differences found
|