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
15 lines
707 B
Plaintext
15 lines
707 B
Plaintext
#############################
|
|
Expected output for 'h5diff h5diff_dtypes.h5 h5diff_dtypes.h5 -v dset0a dset0b'
|
|
#############################
|
|
Dataset: </dset0a> and </dset0b>
|
|
warning: different storage datatype
|
|
</dset0a> has file datatype H5T_STD_I16LE
|
|
</dset0b> has file datatype H5T_STD_I32LE
|
|
position dset0a dset0b difference
|
|
------------------------------------------------------------
|
|
[ 1 0 ] 1 3 2
|
|
[ 1 1 ] 1 4 3
|
|
[ 2 0 ] 1 5 4
|
|
[ 2 1 ] 1 6 5
|
|
4 differences found
|