mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +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
587 B
Plaintext
12 lines
587 B
Plaintext
#############################
|
|
Expected output for 'h5diff h5diff_dtypes.h5 h5diff_dtypes.h5 -v dset5a dset5b'
|
|
#############################
|
|
Dataset: </dset5a> and </dset5b>
|
|
position dset5a dset5b difference
|
|
------------------------------------------------------------
|
|
[ 1 0 ] 1.000000 3.000000 2.000000
|
|
[ 1 1 ] 1.000000 4.000000 3.000000
|
|
[ 2 0 ] 1.000000 5.000000 4.000000
|
|
[ 2 1 ] 1.000000 6.000000 5.000000
|
|
4 differences found
|