mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
a558128a18
HDFFV-7514 - GMQS: h5dump - improve effectiveness of testing scripts for handling expected output files Description: Fist phase for h5dump test update. Next phase will be for h5ls. This is prerequisite for 'HDFFV-7602 Tools - upgrade tools' test scripts to share test files among tools, providing framework for test file re-usability.' Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), linew (solaris-BE), Windows (32-LE), Cmake (jam)
288 lines
7.1 KiB
SQL
288 lines
7.1 KiB
SQL
HDF5 "tcompound.h5" {
|
|
GROUP "/" {
|
|
DATATYPE "#6632" H5T_COMPOUND {
|
|
H5T_STD_I32BE "int";
|
|
H5T_IEEE_F32BE "float";
|
|
}
|
|
DATASET "dset1" {
|
|
DATATYPE H5T_COMPOUND {
|
|
H5T_STD_I32BE "a_name";
|
|
H5T_IEEE_F32BE "b_name";
|
|
H5T_IEEE_F64BE "c_name";
|
|
}
|
|
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
|
DATA {
|
|
(0): {
|
|
0,
|
|
0,
|
|
1
|
|
},
|
|
(1): {
|
|
1,
|
|
1,
|
|
0.5
|
|
},
|
|
(2): {
|
|
2,
|
|
4,
|
|
0.333333
|
|
},
|
|
(3): {
|
|
3,
|
|
9,
|
|
0.25
|
|
},
|
|
(4): {
|
|
4,
|
|
16,
|
|
0.2
|
|
}
|
|
}
|
|
}
|
|
GROUP "group1" {
|
|
DATASET "dset2" {
|
|
DATATYPE "/type1"
|
|
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
|
DATA {
|
|
(0): {
|
|
0,
|
|
0
|
|
},
|
|
(1): {
|
|
1,
|
|
1.1
|
|
},
|
|
(2): {
|
|
2,
|
|
2.2
|
|
},
|
|
(3): {
|
|
3,
|
|
3.3
|
|
},
|
|
(4): {
|
|
4,
|
|
4.4
|
|
}
|
|
}
|
|
}
|
|
DATASET "dset3" {
|
|
DATATYPE "/type2"
|
|
DATASPACE SIMPLE { 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 ],
|
|
[ 4, 5, 6, 7, 8, 9,
|
|
5, 6, 7, 8, 9, 10,
|
|
6, 7, 8, 9, 10, 11,
|
|
7, 8, 9, 10, 11, 12,
|
|
8, 9, 10, 11, 12, 13 ]
|
|
},
|
|
(2,2): {
|
|
[ 4, 5, 6, 7 ],
|
|
[ 5, 6, 7, 8, 9, 10,
|
|
6, 7, 8, 9, 10, 11,
|
|
7, 8, 9, 10, 11, 12,
|
|
8, 9, 10, 11, 12, 13,
|
|
9, 10, 11, 12, 13, 14 ]
|
|
},
|
|
(2,3): {
|
|
[ 5, 6, 7, 8 ],
|
|
[ 6, 7, 8, 9, 10, 11,
|
|
7, 8, 9, 10, 11, 12,
|
|
8, 9, 10, 11, 12, 13,
|
|
9, 10, 11, 12, 13, 14,
|
|
10, 11, 12, 13, 14, 15 ]
|
|
},
|
|
(2,4): {
|
|
[ 6, 7, 8, 9 ],
|
|
[ 7, 8, 9, 10, 11, 12,
|
|
8, 9, 10, 11, 12, 13,
|
|
9, 10, 11, 12, 13, 14,
|
|
10, 11, 12, 13, 14, 15,
|
|
11, 12, 13, 14, 15, 16 ]
|
|
},
|
|
(2,5): {
|
|
[ 7, 8, 9, 10 ],
|
|
[ 8, 9, 10, 11, 12, 13,
|
|
9, 10, 11, 12, 13, 14,
|
|
10, 11, 12, 13, 14, 15,
|
|
11, 12, 13, 14, 15, 16,
|
|
12, 13, 14, 15, 16, 17 ]
|
|
}
|
|
}
|
|
}
|
|
DATASET "dset4" {
|
|
DATATYPE "/group1/type3"
|
|
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
|
DATA {
|
|
(0): {
|
|
0,
|
|
3
|
|
},
|
|
(1): {
|
|
1,
|
|
4
|
|
},
|
|
(2): {
|
|
2,
|
|
5
|
|
},
|
|
(3): {
|
|
3,
|
|
6
|
|
},
|
|
(4): {
|
|
4,
|
|
7
|
|
}
|
|
}
|
|
}
|
|
DATATYPE "type3" H5T_COMPOUND {
|
|
H5T_STD_I32BE "int";
|
|
H5T_IEEE_F32BE "float";
|
|
}
|
|
}
|
|
GROUP "group2" {
|
|
DATASET "dset5" {
|
|
DATATYPE "/#6632"
|
|
DATASPACE SIMPLE { ( 5 ) / ( 5 ) }
|
|
DATA {
|
|
(0): {
|
|
0,
|
|
0
|
|
},
|
|
(1): {
|
|
1,
|
|
0.1
|
|
},
|
|
(2): {
|
|
2,
|
|
0.2
|
|
},
|
|
(3): {
|
|
3,
|
|
0.3
|
|
},
|
|
(4): {
|
|
4,
|
|
0.4
|
|
}
|
|
}
|
|
}
|
|
}
|
|
DATATYPE "type1" H5T_COMPOUND {
|
|
H5T_STD_I32BE "int_name";
|
|
H5T_IEEE_F32BE "float_name";
|
|
}
|
|
DATATYPE "type2" H5T_COMPOUND {
|
|
H5T_ARRAY { [4] H5T_STD_I32BE } "int_array";
|
|
H5T_ARRAY { [5][6] H5T_IEEE_F32BE } "float_array";
|
|
}
|
|
}
|
|
}
|