1998-10-29 14:40:30 +08:00
|
|
|
#############################
|
1998-12-18 03:35:20 +08:00
|
|
|
Expected output for 'h5dump tcompound.h5'
|
1998-10-29 14:40:30 +08:00
|
|
|
#############################
|
2000-02-16 02:25:40 +08:00
|
|
|
HDF5 "tcompound.h5" {
|
1998-10-29 14:40:30 +08:00
|
|
|
GROUP "/" {
|
1998-12-21 11:50:15 +08:00
|
|
|
DATATYPE "#5992:0" {
|
1998-12-22 06:34:42 +08:00
|
|
|
H5T_STD_I32BE "int";
|
|
|
|
H5T_IEEE_F32BE "float";
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
|
|
|
DATASET "dset1" {
|
|
|
|
DATATYPE {
|
1998-12-22 06:34:42 +08:00
|
|
|
H5T_STD_I32BE "a_name";
|
|
|
|
H5T_IEEE_F32BE "b_name";
|
|
|
|
H5T_IEEE_F64BE "c_name";
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
1998-12-22 06:34:42 +08:00
|
|
|
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
|
1998-10-29 14:40:30 +08:00
|
|
|
DATA {
|
1999-02-01 16:53:27 +08:00
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
0,
|
|
|
|
0,
|
|
|
|
1
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
1,
|
|
|
|
1,
|
|
|
|
0.5
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
2,
|
|
|
|
4,
|
|
|
|
0.333333
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
3,
|
|
|
|
9,
|
|
|
|
0.25
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
4,
|
|
|
|
16,
|
|
|
|
0.2
|
1999-02-01 16:53:27 +08:00
|
|
|
}
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
GROUP "group1" {
|
|
|
|
DATASET "dset2" {
|
|
|
|
DATATYPE {
|
1998-12-22 06:34:42 +08:00
|
|
|
"/type1"
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
1998-12-22 06:34:42 +08:00
|
|
|
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
|
1998-10-29 14:40:30 +08:00
|
|
|
DATA {
|
1999-02-01 16:53:27 +08:00
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
0,
|
|
|
|
0
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
1,
|
|
|
|
1.1
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
2,
|
|
|
|
2.2
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
3,
|
|
|
|
3.3
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
4,
|
|
|
|
4.4
|
1999-02-01 16:53:27 +08:00
|
|
|
}
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
|
|
|
}
|
1998-12-21 11:50:15 +08:00
|
|
|
DATASET "dset3" {
|
|
|
|
DATATYPE {
|
1998-12-22 06:34:42 +08:00
|
|
|
"/type2"
|
1998-12-21 11:50:15 +08:00
|
|
|
}
|
1998-12-22 06:34:42 +08:00
|
|
|
DATASPACE { SIMPLE ( 3, 6 ) / ( 3, 6 ) }
|
1998-12-21 11:50:15 +08:00
|
|
|
DATA {
|
1999-02-01 16:53:27 +08:00
|
|
|
{
|
|
|
|
[ 0, 1, 2, 3 ],
|
2000-02-15 23:58:44 +08:00
|
|
|
[ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1,
|
|
|
|
0.2, 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 0.1, 0.1, 0.1, 0.1, 0.1, 0.1,
|
|
|
|
0.2, 0.2, 0.2, 0.2, 0.2, 0.2,
|
|
|
|
0.3, 0.3, 0.3, 0.3, 0.3, 0.3,
|
|
|
|
0.4, 0.4, 0.4, 0.4, 0.4, 0.4,
|
|
|
|
0.5, 0.5, 0.5, 0.5, 0.5, 0.5 ]
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
[ 0, 1, 2, 3 ],
|
2000-02-15 23:58:44 +08:00
|
|
|
[ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1,
|
|
|
|
0.2, 0.2, 0.2, 0.2, 0.2, 0.2,
|
|
|
|
0.3, 0.3, 0.3, 0.3, 0.3, 0.3,
|
|
|
|
0.4, 0.4, 0.4, 0.4, 0.4, 0.4,
|
|
|
|
0.5, 0.5, 0.5, 0.5, 0.5, 0.5 ]
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
[ 0, 1, 2, 3 ],
|
2000-02-15 23:58:44 +08:00
|
|
|
[ 0.1, 0.1, 0.1, 0.1, 0.1, 0.1,
|
|
|
|
0.2, 0.2, 0.2, 0.2, 0.2, 0.2,
|
|
|
|
0.3, 0.3, 0.3, 0.3, 0.3, 0.3,
|
|
|
|
0.4, 0.4, 0.4, 0.4, 0.4, 0.4,
|
|
|
|
0.5, 0.5, 0.5, 0.5, 0.5, 0.5 ]
|
1999-02-01 16:53:27 +08:00
|
|
|
}
|
1998-12-21 11:50:15 +08:00
|
|
|
}
|
|
|
|
}
|
1998-10-29 14:40:30 +08:00
|
|
|
DATASET "dset4" {
|
|
|
|
DATATYPE {
|
1998-12-22 06:34:42 +08:00
|
|
|
"/group1/type3"
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
1998-12-22 06:34:42 +08:00
|
|
|
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
|
1998-10-29 14:40:30 +08:00
|
|
|
DATA {
|
1999-02-01 16:53:27 +08:00
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
0,
|
|
|
|
0
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
1,
|
|
|
|
1
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
2,
|
|
|
|
2
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
3,
|
|
|
|
3
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
4,
|
|
|
|
4
|
1999-02-01 16:53:27 +08:00
|
|
|
}
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
DATATYPE "type3" {
|
1998-12-22 06:34:42 +08:00
|
|
|
H5T_STD_I32BE "int";
|
|
|
|
H5T_IEEE_F32BE "float";
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
GROUP "group2" {
|
|
|
|
DATASET "dset5" {
|
|
|
|
DATATYPE {
|
1999-07-18 08:00:51 +08:00
|
|
|
"/#5992:0"
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
1998-12-22 06:34:42 +08:00
|
|
|
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
|
1998-10-29 14:40:30 +08:00
|
|
|
DATA {
|
1999-02-01 16:53:27 +08:00
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
0,
|
|
|
|
0
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
1,
|
|
|
|
0.1
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
2,
|
|
|
|
0.2
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
3,
|
|
|
|
0.3
|
1999-02-01 16:53:27 +08:00
|
|
|
},
|
|
|
|
{
|
1999-12-04 03:48:34 +08:00
|
|
|
4,
|
|
|
|
0.4
|
1999-02-01 16:53:27 +08:00
|
|
|
}
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
DATATYPE "type1" {
|
1998-12-22 06:34:42 +08:00
|
|
|
H5T_STD_I32BE "int_name";
|
|
|
|
H5T_IEEE_F32BE "float_name";
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
|
|
|
DATATYPE "type2" {
|
1998-12-22 06:34:42 +08:00
|
|
|
H5T_STD_I32BE "int_array"[4];
|
|
|
|
H5T_IEEE_F32BE "float_array"[5][6];
|
1998-10-29 14:40:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|