[svn-r2052] the new ddls for the new versions of the testfiles just created(tall.h5, tcompounnd.h5, tnestedcomp.h5)

the data is not as simple as before. rows are not repeated and rows are not just 1 number repeated
This commit is contained in:
Patrick Lu 2000-03-23 10:38:14 -05:00
parent 1bb9912f80
commit 1ee399e491
4 changed files with 151 additions and 152 deletions

View File

@ -24,16 +24,16 @@ GROUP "/" {
DATATYPE { H5T_STD_I32BE }
DATASPACE { SIMPLE ( 10, 10 ) / ( 10, 10 ) }
DATA {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
0, 2, 4, 6, 8, 10, 12, 14, 16, 18,
0, 3, 6, 9, 12, 15, 18, 21, 24, 27,
0, 4, 8, 12, 16, 20, 24, 28, 32, 36,
0, 5, 10, 15, 20, 25, 30, 35, 40, 45,
0, 6, 12, 18, 24, 30, 36, 42, 48, 54,
0, 7, 14, 21, 28, 35, 42, 49, 56, 63,
0, 8, 16, 24, 32, 40, 48, 56, 64, 72,
0, 9, 18, 27, 36, 45, 54, 63, 72, 81
}
ATTRIBUTE "attr1" {
DATATYPE { H5T_STD_I8BE }
@ -81,9 +81,9 @@ GROUP "/" {
DATATYPE { H5T_IEEE_F32BE }
DATASPACE { SIMPLE ( 3, 5 ) / ( 3, 5 ) }
DATA {
0, 0, 0, 0, 0,
0.1, 0.1, 0.1, 0.1, 0.1,
0.2, 0.2, 0.2, 0.2, 0.2
0, 0.1, 0.2, 0.3, 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, 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 ]
[ 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 ]
}
}
}
@ -231,23 +231,23 @@ GROUP "/" {
DATA {
{
0,
0
},
{
1,
1
},
{
2,
2
},
{
3,
3
},
{
4,
1,
4
},
{
2,
5
},
{
3,
6
},
{
4,
7
}
}
}
@ -259,7 +259,7 @@ GROUP "/" {
GROUP "group2" {
DATASET "dset5" {
DATATYPE {
"/#5992:0"
"/#6632:0"
}
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
DATA {

View File

@ -3,13 +3,12 @@ Expected output for 'h5dump -t /#5992:0 -g /group2 tcompound.h5'
#############################
HDF5 "tcompound.h5" {
DATATYPE "/#5992:0" {
H5T_STD_I32BE "int";
H5T_IEEE_F32BE "float";
h5dump error: unable to open /#5992:0
}
GROUP "/group2" {
DATASET "dset5" {
DATATYPE {
"/#5992:0"
"/#6632:0"
}
DATASPACE { SIMPLE ( 5 ) / ( 5 ) }
DATA {

View File

@ -19,51 +19,51 @@ GROUP "/" {
{
{
0,
0
1
},
{
0,
0
2,
4
}
},
{
{
1,
1
3
},
{
1,
1
4,
7
}
},
{
{
2,
2
5
},
{
2,
2
6,
10
}
},
{
{
3,
3
7
},
{
3,
3
8,
13
}
},
{
{
4,
4
9
},
{
4,
4
10,
16
}
}
}