diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-04 15:06:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-10-04 15:06:28 (GMT) |
commit | 59b51a2ea72ff98586372a454adfd8c790a62734 (patch) | |
tree | 74173cf2dab79097c9dc8f116a22ad0138d310a2 /tools/testfiles/treference.ddl | |
parent | 302830e60108513d9ff2e710444dc0d0188c92ee (diff) | |
download | hdf5-59b51a2ea72ff98586372a454adfd8c790a62734.zip hdf5-59b51a2ea72ff98586372a454adfd8c790a62734.tar.gz hdf5-59b51a2ea72ff98586372a454adfd8c790a62734.tar.bz2 |
[svn-r14180] Description:
Make H5Aiterate() versioned and change all internal use to H5Aiterate2()
Leave some regression tests that exercise H5Aiterate1()
Fix attribute display in h5dump & h5ls to be "by name" by default
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'tools/testfiles/treference.ddl')
-rw-r--r-- | tools/testfiles/treference.ddl | 1392 |
1 files changed, 696 insertions, 696 deletions
diff --git a/tools/testfiles/treference.ddl b/tools/testfiles/treference.ddl index 9a21ef7..b34fa8d 100644 --- a/tools/testfiles/treference.ddl +++ b/tools/testfiles/treference.ddl @@ -3,16 +3,38 @@ Expected output for 'h5dump tattr2.h5' ############################# HDF5 "tattr2.h5" { GROUP "/" { - ATTRIBUTE "string" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } + ATTRIBUTE "array" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0): "ab", "de" + (0): [ 1, 2, 3 ], [ 4, 5, 6 ] + } + } + ATTRIBUTE "array2D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] + } + } + ATTRIBUTE "array3D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], + (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], + (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], + (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], + (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], + (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], + (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], + (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], + (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], + (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] } } ATTRIBUTE "bitfield" { @@ -22,14 +44,31 @@ GROUP "/" { (0): 0x01, 0x02 } } - ATTRIBUTE "opaque" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "bitfield2D" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0): 0x01, 0x02 + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 + } + } + ATTRIBUTE "bitfield3D" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 } } ATTRIBUTE "compound" { @@ -49,80 +88,6 @@ GROUP "/" { } } } - ATTRIBUTE "enum" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): RED, RED - } - } - ATTRIBUTE "vlen" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): (1), (2, 3) - } - } - ATTRIBUTE "array" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): [ 1, 2, 3 ], [ 4, 5, 6 ] - } - } - ATTRIBUTE "integer" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 1, 2 - } - } - ATTRIBUTE "float" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 1, 2 - } - } - ATTRIBUTE "string2D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): "ab", "cd", - (1,0): "ef", "gh", - (2,0): "ij", "kl" - } - } - ATTRIBUTE "bitfield2D" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 - } - } - ATTRIBUTE "opaque2D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 - } - } ATTRIBUTE "compound2D" { DATATYPE H5T_COMPOUND { H5T_STD_I8LE "a"; @@ -156,117 +121,6 @@ GROUP "/" { } } } - ATTRIBUTE "enum2D" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): RED, RED, - (1,0): RED, RED, - (2,0): RED, RED - } - } - ATTRIBUTE "vlen2D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): (0), (1), - (1,0): (2, 3), (4, 5), - (2,0): (6, 7, 8), (9, 10, 11) - } - } - ATTRIBUTE "array2D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] - } - } - ATTRIBUTE "integer2D" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 - } - } - ATTRIBUTE "float2D" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 - } - } - ATTRIBUTE "string3D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): "ab", "cd", - (0,1,0): "ef", "gh", - (0,2,0): "ij", "kl", - (1,0,0): "mn", "pq", - (1,1,0): "rs", "tu", - (1,2,0): "vw", "xz", - (2,0,0): "AB", "CD", - (2,1,0): "EF", "GH", - (2,2,0): "IJ", "KL", - (3,0,0): "MN", "PQ", - (3,1,0): "RS", "TU", - (3,2,0): "VW", "XZ" - } - } - ATTRIBUTE "bitfield3D" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 - } - } - ATTRIBUTE "opaque3D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 - } - } ATTRIBUTE "compound3D" { DATATYPE H5T_COMPOUND { H5T_STD_I8LE "a"; @@ -372,6 +226,30 @@ GROUP "/" { } } } + ATTRIBUTE "enum" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): RED, RED + } + } + ATTRIBUTE "enum2D" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): RED, RED, + (1,0): RED, RED, + (2,0): RED, RED + } + } ATTRIBUTE "enum3D" { DATATYPE H5T_ENUM { H5T_STD_I32LE; @@ -394,44 +272,24 @@ GROUP "/" { (3,2,0): RED, RED } } - ATTRIBUTE "vlen3D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): (0), (1), - (0,1,0): (2), (3), - (0,2,0): (4), (5), - (1,0,0): (6, 7), (8, 9), - (1,1,0): (10, 11), (12, 13), - (1,2,0): (14, 15), (16, 17), - (2,0,0): (18, 19, 20), (21, 22, 23), - (2,1,0): (24, 25, 26), (27, 28, 29), - (2,2,0): (30, 31, 32), (33, 34, 35), - (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), - (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), - (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + (0): 1, 2 } } - ATTRIBUTE "array3D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float2D" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], - (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], - (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], - (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], - (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], - (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], - (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], - (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], - (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], - (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 } } - ATTRIBUTE "integer3D" { - DATATYPE H5T_STD_I32LE + ATTRIBUTE "float3D" { + DATATYPE H5T_IEEE_F32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -448,8 +306,24 @@ GROUP "/" { (3,2,0): 23, 24 } } - ATTRIBUTE "float3D" { - DATATYPE H5T_IEEE_F32LE + ATTRIBUTE "integer" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 1, 2 + } + } + ATTRIBUTE "integer2D" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 + } + } + ATTRIBUTE "integer3D" { + DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -466,82 +340,137 @@ GROUP "/" { (3,2,0): 23, 24 } } - DATASET "dset" { - DATATYPE H5T_STD_I32LE + ATTRIBUTE "opaque" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0): 0, 0 + (0): 0x01, 0x02 } - ATTRIBUTE "string" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): "ab", "de" - } + } + ATTRIBUTE "opaque2D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 } - ATTRIBUTE "bitfield" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 0x01, 0x02 - } + } + ATTRIBUTE "opaque3D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 } - ATTRIBUTE "opaque" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 0x01, 0x02 + } + ATTRIBUTE "string" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): "ab", "de" } - ATTRIBUTE "compound" { - DATATYPE H5T_COMPOUND { - H5T_STD_I8LE "a"; - H5T_IEEE_F64LE "b"; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): { - 1, - 2 - }, - (1): { - 3, - 4 - } + } + ATTRIBUTE "string2D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): "ab", "cd", + (1,0): "ef", "gh", + (2,0): "ij", "kl" } - ATTRIBUTE "reference" { - DATATYPE H5T_REFERENCE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): DATASET 976 /dset , DATASET 976 /dset + } + ATTRIBUTE "string3D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): "ab", "cd", + (0,1,0): "ef", "gh", + (0,2,0): "ij", "kl", + (1,0,0): "mn", "pq", + (1,1,0): "rs", "tu", + (1,2,0): "vw", "xz", + (2,0,0): "AB", "CD", + (2,1,0): "EF", "GH", + (2,2,0): "IJ", "KL", + (3,0,0): "MN", "PQ", + (3,1,0): "RS", "TU", + (3,2,0): "VW", "XZ" } - ATTRIBUTE "enum" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): RED, RED - } + } + ATTRIBUTE "vlen" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (1), (2, 3) } - ATTRIBUTE "vlen" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): (1), (2, 3) - } + } + ATTRIBUTE "vlen2D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): (0), (1), + (1,0): (2, 3), (4, 5), + (2,0): (6, 7, 8), (9, 10, 11) + } + } + ATTRIBUTE "vlen3D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): (0), (1), + (0,1,0): (2), (3), + (0,2,0): (4), (5), + (1,0,0): (6, 7), (8, 9), + (1,1,0): (10, 11), (12, 13), + (1,2,0): (14, 15), (16, 17), + (2,0,0): (18, 19, 20), (21, 22, 23), + (2,1,0): (24, 25, 26), (27, 28, 29), + (2,2,0): (30, 31, 32), (33, 34, 35), + (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), + (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), + (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + } + } + DATASET "dset" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 0, 0 } ATTRIBUTE "array" { DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } @@ -550,32 +479,38 @@ GROUP "/" { (0): [ 1, 2, 3 ], [ 4, 5, 6 ] } } - ATTRIBUTE "integer" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "array2D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0): 1, 2 + (0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] } } - ATTRIBUTE "float" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "array3D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0): 1, 2 + (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], + (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], + (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], + (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], + (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], + (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], + (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], + (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], + (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], + (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] } } - ATTRIBUTE "string2D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "bitfield" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0): "ab", "cd", - (1,0): "ef", "gh", - (2,0): "ij", "kl" + (0): 0x01, 0x02 } } ATTRIBUTE "bitfield2D" { @@ -587,16 +522,39 @@ GROUP "/" { (2,0): 0x05, 0x06 } } - ATTRIBUTE "opaque2D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "bitfield3D" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 + } + } + ATTRIBUTE "compound" { + DATATYPE H5T_COMPOUND { + H5T_STD_I8LE "a"; + H5T_IEEE_F64LE "b"; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): { + 1, + 2 + }, + (1): { + 3, + 4 + } } } ATTRIBUTE "compound2D" { @@ -632,126 +590,6 @@ GROUP "/" { } } } - ATTRIBUTE "reference2D" { - DATATYPE H5T_REFERENCE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): DATASET 976 /dset , DATASET 976 /dset , - (1,0): DATASET 976 /dset , DATASET 976 /dset , - (2,0): DATASET 976 /dset , DATASET 976 /dset - } - } - ATTRIBUTE "enum2D" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): RED, RED, - (1,0): RED, RED, - (2,0): RED, RED - } - } - ATTRIBUTE "vlen2D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): (0), (1), - (1,0): (2, 3), (4, 5), - (2,0): (6, 7, 8), (9, 10, 11) - } - } - ATTRIBUTE "array2D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] - } - } - ATTRIBUTE "integer2D" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 - } - } - ATTRIBUTE "float2D" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } - DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 - } - } - ATTRIBUTE "string3D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): "ab", "cd", - (0,1,0): "ef", "gh", - (0,2,0): "ij", "kl", - (1,0,0): "mn", "pq", - (1,1,0): "rs", "tu", - (1,2,0): "vw", "xz", - (2,0,0): "AB", "CD", - (2,1,0): "EF", "GH", - (2,2,0): "IJ", "KL", - (3,0,0): "MN", "PQ", - (3,1,0): "RS", "TU", - (3,2,0): "VW", "XZ" - } - } - ATTRIBUTE "bitfield3D" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 - } - } - ATTRIBUTE "opaque3D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } - DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 - } - } ATTRIBUTE "compound3D" { DATATYPE H5T_COMPOUND { H5T_STD_I8LE "a"; @@ -857,22 +695,28 @@ GROUP "/" { } } } - ATTRIBUTE "reference3D" { - DATATYPE H5T_REFERENCE - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "enum" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): DATASET 976 /dset , DATASET 976 /dset , - (0,1,0): DATASET 976 /dset , DATASET 976 /dset , - (0,2,0): DATASET 976 /dset , DATASET 976 /dset , - (1,0,0): DATASET 976 /dset , DATASET 976 /dset , - (1,1,0): DATASET 976 /dset , DATASET 976 /dset , - (1,2,0): DATASET 976 /dset , DATASET 976 /dset , - (2,0,0): DATASET 976 /dset , DATASET 976 /dset , - (2,1,0): DATASET 976 /dset , DATASET 976 /dset , - (2,2,0): DATASET 976 /dset , DATASET 976 /dset , - (3,0,0): DATASET 976 /dset , DATASET 976 /dset , - (3,1,0): DATASET 976 /dset , DATASET 976 /dset , - (3,2,0): DATASET 976 /dset , DATASET 976 /dset + (0): RED, RED + } + } + ATTRIBUTE "enum2D" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): RED, RED, + (1,0): RED, RED, + (2,0): RED, RED } } ATTRIBUTE "enum3D" { @@ -897,44 +741,24 @@ GROUP "/" { (3,2,0): RED, RED } } - ATTRIBUTE "vlen3D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): (0), (1), - (0,1,0): (2), (3), - (0,2,0): (4), (5), - (1,0,0): (6, 7), (8, 9), - (1,1,0): (10, 11), (12, 13), - (1,2,0): (14, 15), (16, 17), - (2,0,0): (18, 19, 20), (21, 22, 23), - (2,1,0): (24, 25, 26), (27, 28, 29), - (2,2,0): (30, 31, 32), (33, 34, 35), - (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), - (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), - (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + (0): 1, 2 } } - ATTRIBUTE "array3D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float2D" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], - (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], - (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], - (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], - (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], - (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], - (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], - (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], - (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], - (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 } } - ATTRIBUTE "integer3D" { - DATATYPE H5T_STD_I32LE + ATTRIBUTE "float3D" { + DATATYPE H5T_IEEE_F32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -951,8 +775,24 @@ GROUP "/" { (3,2,0): 23, 24 } } - ATTRIBUTE "float3D" { - DATATYPE H5T_IEEE_F32LE + ATTRIBUTE "integer" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 1, 2 + } + } + ATTRIBUTE "integer2D" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 + } + } + ATTRIBUTE "integer3D" { + DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -969,27 +809,6 @@ GROUP "/" { (3,2,0): 23, 24 } } - } - GROUP "g1" { - ATTRIBUTE "string" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): "ab", "de" - } - } - ATTRIBUTE "bitfield" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } - DATA { - (0): 0x01, 0x02 - } - } ATTRIBUTE "opaque" { DATATYPE H5T_OPAQUE; @@ -1000,60 +819,83 @@ GROUP "/" { (0): 0x01, 0x02 } } - ATTRIBUTE "compound" { - DATATYPE H5T_COMPOUND { - H5T_STD_I8LE "a"; - H5T_IEEE_F64LE "b"; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "opaque2D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0): { - 1, - 2 - }, - (1): { - 3, - 4 - } + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 } } - ATTRIBUTE "enum" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "opaque3D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0): RED, RED + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 } } - ATTRIBUTE "vlen" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} + ATTRIBUTE "reference" { + DATATYPE H5T_REFERENCE DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0): (1), (2, 3) + (0): DATASET 976 /dset , DATASET 976 /dset } } - ATTRIBUTE "array" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "reference2D" { + DATATYPE H5T_REFERENCE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0): [ 1, 2, 3 ], [ 4, 5, 6 ] + (0,0): DATASET 976 /dset , DATASET 976 /dset , + (1,0): DATASET 976 /dset , DATASET 976 /dset , + (2,0): DATASET 976 /dset , DATASET 976 /dset } } - ATTRIBUTE "integer" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + ATTRIBUTE "reference3D" { + DATATYPE H5T_REFERENCE + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0): 1, 2 + (0,0,0): DATASET 976 /dset , DATASET 976 /dset , + (0,1,0): DATASET 976 /dset , DATASET 976 /dset , + (0,2,0): DATASET 976 /dset , DATASET 976 /dset , + (1,0,0): DATASET 976 /dset , DATASET 976 /dset , + (1,1,0): DATASET 976 /dset , DATASET 976 /dset , + (1,2,0): DATASET 976 /dset , DATASET 976 /dset , + (2,0,0): DATASET 976 /dset , DATASET 976 /dset , + (2,1,0): DATASET 976 /dset , DATASET 976 /dset , + (2,2,0): DATASET 976 /dset , DATASET 976 /dset , + (3,0,0): DATASET 976 /dset , DATASET 976 /dset , + (3,1,0): DATASET 976 /dset , DATASET 976 /dset , + (3,2,0): DATASET 976 /dset , DATASET 976 /dset } } - ATTRIBUTE "float" { - DATATYPE H5T_IEEE_F32LE + ATTRIBUTE "string" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0): 1, 2 + (0): "ab", "de" } } ATTRIBUTE "string2D" { @@ -1070,80 +912,70 @@ GROUP "/" { (2,0): "ij", "kl" } } - ATTRIBUTE "bitfield2D" { - DATATYPE H5T_STD_B8LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "string3D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 + (0,0,0): "ab", "cd", + (0,1,0): "ef", "gh", + (0,2,0): "ij", "kl", + (1,0,0): "mn", "pq", + (1,1,0): "rs", "tu", + (1,2,0): "vw", "xz", + (2,0,0): "AB", "CD", + (2,1,0): "EF", "GH", + (2,2,0): "IJ", "KL", + (3,0,0): "MN", "PQ", + (3,1,0): "RS", "TU", + (3,2,0): "VW", "XZ" } } - ATTRIBUTE "opaque2D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "vlen" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0): 0x01, 0x02, - (1,0): 0x03, 0x04, - (2,0): 0x05, 0x06 + (0): (1), (2, 3) } } - ATTRIBUTE "compound2D" { - DATATYPE H5T_COMPOUND { - H5T_STD_I8LE "a"; - H5T_IEEE_F64LE "b"; - } + ATTRIBUTE "vlen2D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0): { - 1, - 2 - }, - (0,1): { - 3, - 4 - }, - (1,0): { - 5, - 6 - }, - (1,1): { - 7, - 8 - }, - (2,0): { - 9, - 10 - }, - (2,1): { - 11, - 12 - } + (0,0): (0), (1), + (1,0): (2, 3), (4, 5), + (2,0): (6, 7, 8), (9, 10, 11) } } - ATTRIBUTE "enum2D" { - DATATYPE H5T_ENUM { - H5T_STD_I32LE; - "RED" 0; - "GREEN" 1; - } - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "vlen3D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0,0): RED, RED, - (1,0): RED, RED, - (2,0): RED, RED + (0,0,0): (0), (1), + (0,1,0): (2), (3), + (0,2,0): (4), (5), + (1,0,0): (6, 7), (8, 9), + (1,1,0): (10, 11), (12, 13), + (1,2,0): (14, 15), (16, 17), + (2,0,0): (18, 19, 20), (21, 22, 23), + (2,1,0): (24, 25, 26), (27, 28, 29), + (2,2,0): (30, 31, 32), (33, 34, 35), + (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), + (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), + (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) } } - ATTRIBUTE "vlen2D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + } + GROUP "g1" { + ATTRIBUTE "array" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0): (0), (1), - (1,0): (2, 3), (4, 5), - (2,0): (6, 7, 8), (9, 10, 11) + (0): [ 1, 2, 3 ], [ 4, 5, 6 ] } } ATTRIBUTE "array2D" { @@ -1155,45 +987,38 @@ GROUP "/" { (2,0): [ 13, 14, 15 ], [ 16, 17, 18 ] } } - ATTRIBUTE "integer2D" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "array3D" { + DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 + (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], + (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], + (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], + (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], + (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], + (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], + (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], + (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], + (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], + (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], + (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], + (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] } } - ATTRIBUTE "float2D" { - DATATYPE H5T_IEEE_F32LE - DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + ATTRIBUTE "bitfield" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0): 1, 2, - (1,0): 3, 4, - (2,0): 5, 6 + (0): 0x01, 0x02 } } - ATTRIBUTE "string3D" { - DATATYPE H5T_STRING { - STRSIZE 2; - STRPAD H5T_STR_NULLTERM; - CSET H5T_CSET_ASCII; - CTYPE H5T_C_S1; - } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "bitfield2D" { + DATATYPE H5T_STD_B8LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0,0): "ab", "cd", - (0,1,0): "ef", "gh", - (0,2,0): "ij", "kl", - (1,0,0): "mn", "pq", - (1,1,0): "rs", "tu", - (1,2,0): "vw", "xz", - (2,0,0): "AB", "CD", - (2,1,0): "EF", "GH", - (2,2,0): "IJ", "KL", - (3,0,0): "MN", "PQ", - (3,1,0): "RS", "TU", - (3,2,0): "VW", "XZ" + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 } } ATTRIBUTE "bitfield3D" { @@ -1214,25 +1039,54 @@ GROUP "/" { (3,2,0): 0x17, 0x18 } } - ATTRIBUTE "opaque3D" { - DATATYPE - H5T_OPAQUE; - OPAQUE_TAG "1-byte opaque type"; - - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "compound" { + DATATYPE H5T_COMPOUND { + H5T_STD_I8LE "a"; + H5T_IEEE_F64LE "b"; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): 0x01, 0x02, - (0,1,0): 0x03, 0x04, - (0,2,0): 0x05, 0x06, - (1,0,0): 0x07, 0x08, - (1,1,0): 0x09, 0x0a, - (1,2,0): 0x0b, 0x0c, - (2,0,0): 0x0d, 0x0e, - (2,1,0): 0x0f, 0x10, - (2,2,0): 0x11, 0x12, - (3,0,0): 0x13, 0x14, - (3,1,0): 0x15, 0x16, - (3,2,0): 0x17, 0x18 + (0): { + 1, + 2 + }, + (1): { + 3, + 4 + } + } + } + ATTRIBUTE "compound2D" { + DATATYPE H5T_COMPOUND { + H5T_STD_I8LE "a"; + H5T_IEEE_F64LE "b"; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): { + 1, + 2 + }, + (0,1): { + 3, + 4 + }, + (1,0): { + 5, + 6 + }, + (1,1): { + 7, + 8 + }, + (2,0): { + 9, + 10 + }, + (2,1): { + 11, + 12 + } } } ATTRIBUTE "compound3D" { @@ -1340,6 +1194,30 @@ GROUP "/" { } } } + ATTRIBUTE "enum" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): RED, RED + } + } + ATTRIBUTE "enum2D" { + DATATYPE H5T_ENUM { + H5T_STD_I32LE; + "RED" 0; + "GREEN" 1; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): RED, RED, + (1,0): RED, RED, + (2,0): RED, RED + } + } ATTRIBUTE "enum3D" { DATATYPE H5T_ENUM { H5T_STD_I32LE; @@ -1362,44 +1240,24 @@ GROUP "/" { (3,2,0): RED, RED } } - ATTRIBUTE "vlen3D" { - DATATYPE H5T_VLEN { H5T_STD_I32LE} - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } DATA { - (0,0,0): (0), (1), - (0,1,0): (2), (3), - (0,2,0): (4), (5), - (1,0,0): (6, 7), (8, 9), - (1,1,0): (10, 11), (12, 13), - (1,2,0): (14, 15), (16, 17), - (2,0,0): (18, 19, 20), (21, 22, 23), - (2,1,0): (24, 25, 26), (27, 28, 29), - (2,2,0): (30, 31, 32), (33, 34, 35), - (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), - (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), - (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + (0): 1, 2 } } - ATTRIBUTE "array3D" { - DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE } - DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + ATTRIBUTE "float2D" { + DATATYPE H5T_IEEE_F32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } DATA { - (0,0,0): [ 1, 2, 3 ], [ 4, 5, 6 ], - (0,1,0): [ 7, 8, 9 ], [ 10, 11, 12 ], - (0,2,0): [ 13, 14, 15 ], [ 16, 17, 18 ], - (1,0,0): [ 19, 20, 21 ], [ 22, 23, 24 ], - (1,1,0): [ 25, 26, 27 ], [ 28, 29, 30 ], - (1,2,0): [ 31, 32, 33 ], [ 34, 35, 36 ], - (2,0,0): [ 37, 38, 39 ], [ 40, 41, 42 ], - (2,1,0): [ 43, 44, 45 ], [ 46, 47, 48 ], - (2,2,0): [ 49, 50, 51 ], [ 52, 53, 54 ], - (3,0,0): [ 55, 56, 57 ], [ 58, 59, 60 ], - (3,1,0): [ 61, 62, 63 ], [ 64, 65, 66 ], - (3,2,0): [ 67, 68, 69 ], [ 70, 71, 72 ] + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 } } - ATTRIBUTE "integer3D" { - DATATYPE H5T_STD_I32LE + ATTRIBUTE "float3D" { + DATATYPE H5T_IEEE_F32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -1416,8 +1274,24 @@ GROUP "/" { (3,2,0): 23, 24 } } - ATTRIBUTE "float3D" { - DATATYPE H5T_IEEE_F32LE + ATTRIBUTE "integer" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 1, 2 + } + } + ATTRIBUTE "integer2D" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 1, 2, + (1,0): 3, 4, + (2,0): 5, 6 + } + } + ATTRIBUTE "integer3D" { + DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } DATA { (0,0,0): 1, 2, @@ -1434,6 +1308,132 @@ GROUP "/" { (3,2,0): 23, 24 } } + ATTRIBUTE "opaque" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): 0x01, 0x02 + } + } + ATTRIBUTE "opaque2D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): 0x01, 0x02, + (1,0): 0x03, 0x04, + (2,0): 0x05, 0x06 + } + } + ATTRIBUTE "opaque3D" { + DATATYPE + H5T_OPAQUE; + OPAQUE_TAG "1-byte opaque type"; + + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): 0x01, 0x02, + (0,1,0): 0x03, 0x04, + (0,2,0): 0x05, 0x06, + (1,0,0): 0x07, 0x08, + (1,1,0): 0x09, 0x0a, + (1,2,0): 0x0b, 0x0c, + (2,0,0): 0x0d, 0x0e, + (2,1,0): 0x0f, 0x10, + (2,2,0): 0x11, 0x12, + (3,0,0): 0x13, 0x14, + (3,1,0): 0x15, 0x16, + (3,2,0): 0x17, 0x18 + } + } + ATTRIBUTE "string" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): "ab", "de" + } + } + ATTRIBUTE "string2D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): "ab", "cd", + (1,0): "ef", "gh", + (2,0): "ij", "kl" + } + } + ATTRIBUTE "string3D" { + DATATYPE H5T_STRING { + STRSIZE 2; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): "ab", "cd", + (0,1,0): "ef", "gh", + (0,2,0): "ij", "kl", + (1,0,0): "mn", "pq", + (1,1,0): "rs", "tu", + (1,2,0): "vw", "xz", + (2,0,0): "AB", "CD", + (2,1,0): "EF", "GH", + (2,2,0): "IJ", "KL", + (3,0,0): "MN", "PQ", + (3,1,0): "RS", "TU", + (3,2,0): "VW", "XZ" + } + } + ATTRIBUTE "vlen" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 2 ) / ( 2 ) } + DATA { + (0): (1), (2, 3) + } + } + ATTRIBUTE "vlen2D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) } + DATA { + (0,0): (0), (1), + (1,0): (2, 3), (4, 5), + (2,0): (6, 7, 8), (9, 10, 11) + } + } + ATTRIBUTE "vlen3D" { + DATATYPE H5T_VLEN { H5T_STD_I32LE} + DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) } + DATA { + (0,0,0): (0), (1), + (0,1,0): (2), (3), + (0,2,0): (4), (5), + (1,0,0): (6, 7), (8, 9), + (1,1,0): (10, 11), (12, 13), + (1,2,0): (14, 15), (16, 17), + (2,0,0): (18, 19, 20), (21, 22, 23), + (2,1,0): (24, 25, 26), (27, 28, 29), + (2,2,0): (30, 31, 32), (33, 34, 35), + (3,0,0): (36, 37, 38, 39), (40, 41, 42, 43), + (3,1,0): (44, 45, 46, 47), (48, 49, 50, 51), + (3,2,0): (52, 53, 54, 55), (56, 57, 58, 59) + } + } } GROUP "g2" { DATASET "array" { |