summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5A.c3
-rw-r--r--tools/testfiles/tattr2.ls560
-rw-r--r--tools/testfiles/tref-escapes-at.h5.xml20
-rw-r--r--tools/testfiles/treference.ddl1392
4 files changed, 988 insertions, 987 deletions
diff --git a/src/H5A.c b/src/H5A.c
index 35773df..0c42dc6 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -1577,7 +1577,8 @@ H5Aiterate(hid_t loc_id, unsigned *attr_num, H5A_operator_t op, void *op_data)
HERROR(H5E_ATTR, H5E_BADITER, "error iterating over attributes");
/* Set the last attribute information */
- *attr_num = (unsigned)last_attr;
+ if(attr_num)
+ *attr_num = (unsigned)last_attr;
done:
FUNC_LEAVE_API(ret_value)
diff --git a/tools/testfiles/tattr2.ls b/tools/testfiles/tattr2.ls
index 4f23110..01ad413 100644
--- a/tools/testfiles/tattr2.ls
+++ b/tools/testfiles/tattr2.ls
@@ -2,40 +2,54 @@
output for 'h5ls -w80 -v -S tattr2.h5'
#############################
Opened "tattr2.h5" with sec2 driver.
- Attribute: array {2}
- Type: [3] 32-bit little-endian integer
- Data: [1,2,3], [4,5,6]
- Attribute: array2D {3, 2}
- Type: [3] 32-bit little-endian integer
- Data:
- (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18]
- Attribute: array3D {4, 3, 2}
- Type: [3] 32-bit little-endian integer
- Data:
- (0,0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15],
- (0,2,1) [16,17,18], [19,20,21], [22,23,24], [25,26,27], [28,29,30],
- (1,2,0) [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45],
- (2,1,1) [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60],
- (3,1,0) [61,62,63], [64,65,66], [67,68,69], [70,71,72]
+ Attribute: string {2}
+ Type: 2-byte null-terminated ASCII string
+ Data: "ab", "de"
Attribute: bitfield {2}
Type: 8-bit bitfield
Data: 0x01, 0x02
- Attribute: bitfield2D {3, 2}
- Type: 8-bit bitfield
- Data:
- (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
- Attribute: bitfield3D {4, 3, 2}
- Type: 8-bit bitfield
- Data:
- (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
- (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
- (3,1,0) 0x15, 0x16, 0x17, 0x18
+ Attribute: opaque {2}
+ Type: 1-byte opaque type
+ (tag = "1-byte opaque type")
+ Data: 0x01, 0x02
Attribute: compound {2}
Type: struct {
"a" +0 8-bit integer
"b" +4 IEEE 64-bit little-endian float
} 12 bytes
Data: {1, 2}, {3, 4}
+ Attribute: enum {2}
+ Type: enum 32-bit little-endian integer {
+ RED = 0
+ GREEN = 1
+ }
+ Data: RED, RED
+ Attribute: vlen {2}
+ Type: variable length of
+ 32-bit little-endian integer
+ Data: (1), (2,3)
+ Attribute: array {2}
+ Type: [3] 32-bit little-endian integer
+ Data: [1,2,3], [4,5,6]
+ Attribute: integer {2}
+ Type: 32-bit little-endian integer
+ Data: 1, 2
+ Attribute: float {2}
+ Type: IEEE 32-bit little-endian float
+ Data: 1, 2
+ Attribute: string2D {3, 2}
+ Type: 2-byte null-terminated ASCII string
+ Data:
+ (0,0) "ab", "cd", "ef", "gh", "ij", "kl"
+ Attribute: bitfield2D {3, 2}
+ Type: 8-bit bitfield
+ Data:
+ (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
+ Attribute: opaque2D {3, 2}
+ Type: 1-byte opaque type
+ (tag = "1-byte opaque type")
+ Data:
+ (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
Attribute: compound2D {3, 2}
Type: struct {
"a" +0 8-bit integer
@@ -43,22 +57,6 @@ Opened "tattr2.h5" with sec2 driver.
} 12 bytes
Data:
(0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}
- Attribute: compound3D {4, 3, 2}
- Type: struct {
- "a" +0 8-bit integer
- "b" +4 IEEE 64-bit little-endian float
- } 12 bytes
- Data:
- (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13,
- (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24},
- (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36},
- (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48}
- Attribute: enum {2}
- Type: enum 32-bit little-endian integer {
- RED = 0
- GREEN = 1
- }
- Data: RED, RED
Attribute: enum2D {3, 2}
Type: enum 32-bit little-endian integer {
RED = 0
@@ -66,47 +64,35 @@ Opened "tattr2.h5" with sec2 driver.
}
Data:
(0,0) RED, RED, RED, RED, RED, RED
- Attribute: enum3D {4, 3, 2}
- Type: enum 32-bit little-endian integer {
- RED = 0
- GREEN = 1
- }
- Data:
- (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED,
- (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED
- Attribute: float {2}
- Type: IEEE 32-bit little-endian float
- Data: 1, 2
- Attribute: float2D {3, 2}
- Type: IEEE 32-bit little-endian float
+ Attribute: vlen2D {3, 2}
+ Type: variable length of
+ 32-bit little-endian integer
Data:
- (0,0) 1, 2, 3, 4, 5, 6
- Attribute: float3D {4, 3, 2}
- Type: IEEE 32-bit little-endian float
+ (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11)
+ Attribute: array2D {3, 2}
+ Type: [3] 32-bit little-endian integer
Data:
- (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
- (2,2,1) 18, 19, 20, 21, 22, 23, 24
- Attribute: integer {2}
- Type: 32-bit little-endian integer
- Data: 1, 2
+ (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18]
Attribute: integer2D {3, 2}
Type: 32-bit little-endian integer
Data:
(0,0) 1, 2, 3, 4, 5, 6
- Attribute: integer3D {4, 3, 2}
- Type: 32-bit little-endian integer
+ Attribute: float2D {3, 2}
+ Type: IEEE 32-bit little-endian float
Data:
- (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
- (2,2,1) 18, 19, 20, 21, 22, 23, 24
- Attribute: opaque {2}
- Type: 1-byte opaque type
- (tag = "1-byte opaque type")
- Data: 0x01, 0x02
- Attribute: opaque2D {3, 2}
- Type: 1-byte opaque type
- (tag = "1-byte opaque type")
+ (0,0) 1, 2, 3, 4, 5, 6
+ Attribute: string3D {4, 3, 2}
+ Type: 2-byte null-terminated ASCII string
Data:
- (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
+ (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu",
+ (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ",
+ (3,1,0) "RS", "TU", "VW", "XZ"
+ Attribute: bitfield3D {4, 3, 2}
+ Type: 8-bit bitfield
+ Data:
+ (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
+ (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
+ (3,1,0) 0x15, 0x16, 0x17, 0x18
Attribute: opaque3D {4, 3, 2}
Type: 1-byte opaque type
(tag = "1-byte opaque type")
@@ -114,28 +100,24 @@ Opened "tattr2.h5" with sec2 driver.
(0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
(1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
(3,1,0) 0x15, 0x16, 0x17, 0x18
- Attribute: string {2}
- Type: 2-byte null-terminated ASCII string
- Data: "ab", "de"
- Attribute: string2D {3, 2}
- Type: 2-byte null-terminated ASCII string
- Data:
- (0,0) "ab", "cd", "ef", "gh", "ij", "kl"
- Attribute: string3D {4, 3, 2}
- Type: 2-byte null-terminated ASCII string
+ Attribute: compound3D {4, 3, 2}
+ Type: struct {
+ "a" +0 8-bit integer
+ "b" +4 IEEE 64-bit little-endian float
+ } 12 bytes
Data:
- (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu",
- (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ",
- (3,1,0) "RS", "TU", "VW", "XZ"
- Attribute: vlen {2}
- Type: variable length of
- 32-bit little-endian integer
- Data: (1), (2,3)
- Attribute: vlen2D {3, 2}
- Type: variable length of
- 32-bit little-endian integer
+ (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13,
+ (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24},
+ (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36},
+ (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48}
+ Attribute: enum3D {4, 3, 2}
+ Type: enum 32-bit little-endian integer {
+ RED = 0
+ GREEN = 1
+ }
Data:
- (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11)
+ (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED,
+ (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED
Attribute: vlen3D {4, 3, 2}
Type: variable length of
32-bit little-endian integer
@@ -145,14 +127,6 @@ Opened "tattr2.h5" with sec2 driver.
(2,1,0) (24,25,26), (27,28,29), (30,31,32), (33,34,35),
(3,0,0) (36,37,38,39), (40,41,42,43), (44,45,46,47), (48,49,50,51),
(3,2,0) (52,53,54,55), (56,57,58,59)
-dset Dataset {2/2}
- Attribute: array {2}
- Type: [3] 32-bit little-endian integer
- Data: [1,2,3], [4,5,6]
- Attribute: array2D {3, 2}
- Type: [3] 32-bit little-endian integer
- Data:
- (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18]
Attribute: array3D {4, 3, 2}
Type: [3] 32-bit little-endian integer
Data:
@@ -161,25 +135,68 @@ dset Dataset {2/2}
(1,2,0) [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45],
(2,1,1) [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60],
(3,1,0) [61,62,63], [64,65,66], [67,68,69], [70,71,72]
+ Attribute: integer3D {4, 3, 2}
+ Type: 32-bit little-endian integer
+ Data:
+ (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
+ (2,2,1) 18, 19, 20, 21, 22, 23, 24
+ Attribute: float3D {4, 3, 2}
+ Type: IEEE 32-bit little-endian float
+ Data:
+ (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
+ (2,2,1) 18, 19, 20, 21, 22, 23, 24
+dset Dataset {2/2}
+ Attribute: string {2}
+ Type: 2-byte null-terminated ASCII string
+ Data: "ab", "de"
Attribute: bitfield {2}
Type: 8-bit bitfield
Data: 0x01, 0x02
- Attribute: bitfield2D {3, 2}
- Type: 8-bit bitfield
- Data:
- (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
- Attribute: bitfield3D {4, 3, 2}
- Type: 8-bit bitfield
- Data:
- (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
- (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
- (3,1,0) 0x15, 0x16, 0x17, 0x18
+ Attribute: opaque {2}
+ Type: 1-byte opaque type
+ (tag = "1-byte opaque type")
+ Data: 0x01, 0x02
Attribute: compound {2}
Type: struct {
"a" +0 8-bit integer
"b" +4 IEEE 64-bit little-endian float
} 12 bytes
Data: {1, 2}, {3, 4}
+ Attribute: reference {2}
+ Type: object reference
+ Data: DATASET-1:976, DATASET-1:976
+ Attribute: enum {2}
+ Type: enum 32-bit little-endian integer {
+ RED = 0
+ GREEN = 1
+ }
+ Data: RED, RED
+ Attribute: vlen {2}
+ Type: variable length of
+ 32-bit little-endian integer
+ Data: (1), (2,3)
+ Attribute: array {2}
+ Type: [3] 32-bit little-endian integer
+ Data: [1,2,3], [4,5,6]
+ Attribute: integer {2}
+ Type: 32-bit little-endian integer
+ Data: 1, 2
+ Attribute: float {2}
+ Type: IEEE 32-bit little-endian float
+ Data: 1, 2
+ Attribute: string2D {3, 2}
+ Type: 2-byte null-terminated ASCII string
+ Data:
+ (0,0) "ab", "cd", "ef", "gh", "ij", "kl"
+ Attribute: bitfield2D {3, 2}
+ Type: 8-bit bitfield
+ Data:
+ (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
+ Attribute: opaque2D {3, 2}
+ Type: 1-byte opaque type
+ (tag = "1-byte opaque type")
+ Data:
+ (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
Attribute: compound2D {3, 2}
Type: struct {
"a" +0 8-bit integer
@@ -187,22 +204,11 @@ dset Dataset {2/2}
} 12 bytes
Data:
(0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}
- Attribute: compound3D {4, 3, 2}
- Type: struct {
- "a" +0 8-bit integer
- "b" +4 IEEE 64-bit little-endian float
- } 12 bytes
+ Attribute: reference2D {3, 2}
+ Type: object reference
Data:
- (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13,
- (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24},
- (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36},
- (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48}
- Attribute: enum {2}
- Type: enum 32-bit little-endian integer {
- RED = 0
- GREEN = 1
- }
- Data: RED, RED
+ (0,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976,
+ (2,0) DATASET-1:976, DATASET-1:976
Attribute: enum2D {3, 2}
Type: enum 32-bit little-endian integer {
RED = 0
@@ -210,47 +216,35 @@ dset Dataset {2/2}
}
Data:
(0,0) RED, RED, RED, RED, RED, RED
- Attribute: enum3D {4, 3, 2}
- Type: enum 32-bit little-endian integer {
- RED = 0
- GREEN = 1
- }
- Data:
- (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED,
- (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED
- Attribute: float {2}
- Type: IEEE 32-bit little-endian float
- Data: 1, 2
- Attribute: float2D {3, 2}
- Type: IEEE 32-bit little-endian float
+ Attribute: vlen2D {3, 2}
+ Type: variable length of
+ 32-bit little-endian integer
Data:
- (0,0) 1, 2, 3, 4, 5, 6
- Attribute: float3D {4, 3, 2}
- Type: IEEE 32-bit little-endian float
+ (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11)
+ Attribute: array2D {3, 2}
+ Type: [3] 32-bit little-endian integer
Data:
- (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
- (2,2,1) 18, 19, 20, 21, 22, 23, 24
- Attribute: integer {2}
- Type: 32-bit little-endian integer
- Data: 1, 2
+ (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18]
Attribute: integer2D {3, 2}
Type: 32-bit little-endian integer
Data:
(0,0) 1, 2, 3, 4, 5, 6
- Attribute: integer3D {4, 3, 2}
- Type: 32-bit little-endian integer
+ Attribute: float2D {3, 2}
+ Type: IEEE 32-bit little-endian float
Data:
- (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
- (2,2,1) 18, 19, 20, 21, 22, 23, 24
- Attribute: opaque {2}
- Type: 1-byte opaque type
- (tag = "1-byte opaque type")
- Data: 0x01, 0x02
- Attribute: opaque2D {3, 2}
- Type: 1-byte opaque type
- (tag = "1-byte opaque type")
+ (0,0) 1, 2, 3, 4, 5, 6
+ Attribute: string3D {4, 3, 2}
+ Type: 2-byte null-terminated ASCII string
Data:
- (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
+ (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu",
+ (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ",
+ (3,1,0) "RS", "TU", "VW", "XZ"
+ Attribute: bitfield3D {4, 3, 2}
+ Type: 8-bit bitfield
+ Data:
+ (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
+ (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
+ (3,1,0) 0x15, 0x16, 0x17, 0x18
Attribute: opaque3D {4, 3, 2}
Type: 1-byte opaque type
(tag = "1-byte opaque type")
@@ -258,14 +252,16 @@ dset Dataset {2/2}
(0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
(1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
(3,1,0) 0x15, 0x16, 0x17, 0x18
- Attribute: reference {2}
- Type: object reference
- Data: DATASET-1:976, DATASET-1:976
- Attribute: reference2D {3, 2}
- Type: object reference
+ Attribute: compound3D {4, 3, 2}
+ Type: struct {
+ "a" +0 8-bit integer
+ "b" +4 IEEE 64-bit little-endian float
+ } 12 bytes
Data:
- (0,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976,
- (2,0) DATASET-1:976, DATASET-1:976
+ (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13,
+ (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24},
+ (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36},
+ (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48}
Attribute: reference3D {4, 3, 2}
Type: object reference
Data:
@@ -275,28 +271,14 @@ dset Dataset {2/2}
(2,0,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976,
(2,2,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976,
(3,1,0) DATASET-1:976, DATASET-1:976, DATASET-1:976, DATASET-1:976
- Attribute: string {2}
- Type: 2-byte null-terminated ASCII string
- Data: "ab", "de"
- Attribute: string2D {3, 2}
- Type: 2-byte null-terminated ASCII string
- Data:
- (0,0) "ab", "cd", "ef", "gh", "ij", "kl"
- Attribute: string3D {4, 3, 2}
- Type: 2-byte null-terminated ASCII string
- Data:
- (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu",
- (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ",
- (3,1,0) "RS", "TU", "VW", "XZ"
- Attribute: vlen {2}
- Type: variable length of
- 32-bit little-endian integer
- Data: (1), (2,3)
- Attribute: vlen2D {3, 2}
- Type: variable length of
- 32-bit little-endian integer
+ Attribute: enum3D {4, 3, 2}
+ Type: enum 32-bit little-endian integer {
+ RED = 0
+ GREEN = 1
+ }
Data:
- (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11)
+ (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED,
+ (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED
Attribute: vlen3D {4, 3, 2}
Type: variable length of
32-bit little-endian integer
@@ -306,19 +288,6 @@ dset Dataset {2/2}
(2,1,0) (24,25,26), (27,28,29), (30,31,32), (33,34,35),
(3,0,0) (36,37,38,39), (40,41,42,43), (44,45,46,47), (48,49,50,51),
(3,2,0) (52,53,54,55), (56,57,58,59)
- Location: 1:976
- Links: 1
- Modified: XXXX-XX-XX XX:XX:XX XXX
- Storage: 8 logical bytes, 0 allocated bytes
- Type: 32-bit little-endian integer
-g1 Group
- Attribute: array {2}
- Type: [3] 32-bit little-endian integer
- Data: [1,2,3], [4,5,6]
- Attribute: array2D {3, 2}
- Type: [3] 32-bit little-endian integer
- Data:
- (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18]
Attribute: array3D {4, 3, 2}
Type: [3] 32-bit little-endian integer
Data:
@@ -327,25 +296,70 @@ g1 Group
(1,2,0) [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45],
(2,1,1) [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60],
(3,1,0) [61,62,63], [64,65,66], [67,68,69], [70,71,72]
+ Attribute: integer3D {4, 3, 2}
+ Type: 32-bit little-endian integer
+ Data:
+ (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
+ (2,2,1) 18, 19, 20, 21, 22, 23, 24
+ Attribute: float3D {4, 3, 2}
+ Type: IEEE 32-bit little-endian float
+ Data:
+ (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
+ (2,2,1) 18, 19, 20, 21, 22, 23, 24
+ Location: 1:976
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
+ Storage: 8 logical bytes, 0 allocated bytes
+ Type: 32-bit little-endian integer
+g1 Group
+ Attribute: string {2}
+ Type: 2-byte null-terminated ASCII string
+ Data: "ab", "de"
Attribute: bitfield {2}
Type: 8-bit bitfield
Data: 0x01, 0x02
- Attribute: bitfield2D {3, 2}
- Type: 8-bit bitfield
- Data:
- (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
- Attribute: bitfield3D {4, 3, 2}
- Type: 8-bit bitfield
- Data:
- (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
- (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
- (3,1,0) 0x15, 0x16, 0x17, 0x18
+ Attribute: opaque {2}
+ Type: 1-byte opaque type
+ (tag = "1-byte opaque type")
+ Data: 0x01, 0x02
Attribute: compound {2}
Type: struct {
"a" +0 8-bit integer
"b" +4 IEEE 64-bit little-endian float
} 12 bytes
Data: {1, 2}, {3, 4}
+ Attribute: enum {2}
+ Type: enum 32-bit little-endian integer {
+ RED = 0
+ GREEN = 1
+ }
+ Data: RED, RED
+ Attribute: vlen {2}
+ Type: variable length of
+ 32-bit little-endian integer
+ Data: (1), (2,3)
+ Attribute: array {2}
+ Type: [3] 32-bit little-endian integer
+ Data: [1,2,3], [4,5,6]
+ Attribute: integer {2}
+ Type: 32-bit little-endian integer
+ Data: 1, 2
+ Attribute: float {2}
+ Type: IEEE 32-bit little-endian float
+ Data: 1, 2
+ Attribute: string2D {3, 2}
+ Type: 2-byte null-terminated ASCII string
+ Data:
+ (0,0) "ab", "cd", "ef", "gh", "ij", "kl"
+ Attribute: bitfield2D {3, 2}
+ Type: 8-bit bitfield
+ Data:
+ (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
+ Attribute: opaque2D {3, 2}
+ Type: 1-byte opaque type
+ (tag = "1-byte opaque type")
+ Data:
+ (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
Attribute: compound2D {3, 2}
Type: struct {
"a" +0 8-bit integer
@@ -353,22 +367,6 @@ g1 Group
} 12 bytes
Data:
(0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}
- Attribute: compound3D {4, 3, 2}
- Type: struct {
- "a" +0 8-bit integer
- "b" +4 IEEE 64-bit little-endian float
- } 12 bytes
- Data:
- (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13,
- (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24},
- (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36},
- (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48}
- Attribute: enum {2}
- Type: enum 32-bit little-endian integer {
- RED = 0
- GREEN = 1
- }
- Data: RED, RED
Attribute: enum2D {3, 2}
Type: enum 32-bit little-endian integer {
RED = 0
@@ -376,47 +374,35 @@ g1 Group
}
Data:
(0,0) RED, RED, RED, RED, RED, RED
- Attribute: enum3D {4, 3, 2}
- Type: enum 32-bit little-endian integer {
- RED = 0
- GREEN = 1
- }
- Data:
- (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED,
- (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED
- Attribute: float {2}
- Type: IEEE 32-bit little-endian float
- Data: 1, 2
- Attribute: float2D {3, 2}
- Type: IEEE 32-bit little-endian float
+ Attribute: vlen2D {3, 2}
+ Type: variable length of
+ 32-bit little-endian integer
Data:
- (0,0) 1, 2, 3, 4, 5, 6
- Attribute: float3D {4, 3, 2}
- Type: IEEE 32-bit little-endian float
+ (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11)
+ Attribute: array2D {3, 2}
+ Type: [3] 32-bit little-endian integer
Data:
- (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
- (2,2,1) 18, 19, 20, 21, 22, 23, 24
- Attribute: integer {2}
- Type: 32-bit little-endian integer
- Data: 1, 2
+ (0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15], [16,17,18]
Attribute: integer2D {3, 2}
Type: 32-bit little-endian integer
Data:
(0,0) 1, 2, 3, 4, 5, 6
- Attribute: integer3D {4, 3, 2}
- Type: 32-bit little-endian integer
+ Attribute: float2D {3, 2}
+ Type: IEEE 32-bit little-endian float
Data:
- (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
- (2,2,1) 18, 19, 20, 21, 22, 23, 24
- Attribute: opaque {2}
- Type: 1-byte opaque type
- (tag = "1-byte opaque type")
- Data: 0x01, 0x02
- Attribute: opaque2D {3, 2}
- Type: 1-byte opaque type
- (tag = "1-byte opaque type")
+ (0,0) 1, 2, 3, 4, 5, 6
+ Attribute: string3D {4, 3, 2}
+ Type: 2-byte null-terminated ASCII string
Data:
- (0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
+ (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu",
+ (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ",
+ (3,1,0) "RS", "TU", "VW", "XZ"
+ Attribute: bitfield3D {4, 3, 2}
+ Type: 8-bit bitfield
+ Data:
+ (0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
+ (1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
+ (3,1,0) 0x15, 0x16, 0x17, 0x18
Attribute: opaque3D {4, 3, 2}
Type: 1-byte opaque type
(tag = "1-byte opaque type")
@@ -424,28 +410,24 @@ g1 Group
(0,0,0) 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
(1,2,0) 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
(3,1,0) 0x15, 0x16, 0x17, 0x18
- Attribute: string {2}
- Type: 2-byte null-terminated ASCII string
- Data: "ab", "de"
- Attribute: string2D {3, 2}
- Type: 2-byte null-terminated ASCII string
- Data:
- (0,0) "ab", "cd", "ef", "gh", "ij", "kl"
- Attribute: string3D {4, 3, 2}
- Type: 2-byte null-terminated ASCII string
+ Attribute: compound3D {4, 3, 2}
+ Type: struct {
+ "a" +0 8-bit integer
+ "b" +4 IEEE 64-bit little-endian float
+ } 12 bytes
Data:
- (0,0,0) "ab", "cd", "ef", "gh", "ij", "kl", "mn", "pq", "rs", "tu",
- (1,2,0) "vw", "xz", "AB", "CD", "EF", "GH", "IJ", "KL", "MN", "PQ",
- (3,1,0) "RS", "TU", "VW", "XZ"
- Attribute: vlen {2}
- Type: variable length of
- 32-bit little-endian integer
- Data: (1), (2,3)
- Attribute: vlen2D {3, 2}
- Type: variable length of
- 32-bit little-endian integer
+ (0,0,0) {1, 2}, {3, 4}, {5, 6}, {7, 8}, {9, 10}, {11, 12}, {13,
+ (1,0,0) 14}, {15, 16}, {17, 18}, {19, 20}, {21, 22}, {23, 24},
+ (2,0,0) {25, 26}, {27, 28}, {29, 30}, {31, 32}, {33, 34}, {35, 36},
+ (3,0,0) {37, 38}, {39, 40}, {41, 42}, {43, 44}, {45, 46}, {47, 48}
+ Attribute: enum3D {4, 3, 2}
+ Type: enum 32-bit little-endian integer {
+ RED = 0
+ GREEN = 1
+ }
Data:
- (0,0) (0), (1), (2,3), (4,5), (6,7,8), (9,10,11)
+ (0,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED,
+ (2,0,0) RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED, RED
Attribute: vlen3D {4, 3, 2}
Type: variable length of
32-bit little-endian integer
@@ -455,6 +437,24 @@ g1 Group
(2,1,0) (24,25,26), (27,28,29), (30,31,32), (33,34,35),
(3,0,0) (36,37,38,39), (40,41,42,43), (44,45,46,47), (48,49,50,51),
(3,2,0) (52,53,54,55), (56,57,58,59)
+ Attribute: array3D {4, 3, 2}
+ Type: [3] 32-bit little-endian integer
+ Data:
+ (0,0,0) [1,2,3], [4,5,6], [7,8,9], [10,11,12], [13,14,15],
+ (0,2,1) [16,17,18], [19,20,21], [22,23,24], [25,26,27], [28,29,30],
+ (1,2,0) [31,32,33], [34,35,36], [37,38,39], [40,41,42], [43,44,45],
+ (2,1,1) [46,47,48], [49,50,51], [52,53,54], [55,56,57], [58,59,60],
+ (3,1,0) [61,62,63], [64,65,66], [67,68,69], [70,71,72]
+ Attribute: integer3D {4, 3, 2}
+ Type: 32-bit little-endian integer
+ Data:
+ (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
+ (2,2,1) 18, 19, 20, 21, 22, 23, 24
+ Attribute: float3D {4, 3, 2}
+ Type: IEEE 32-bit little-endian float
+ Data:
+ (0,0,0) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
+ (2,2,1) 18, 19, 20, 21, 22, 23, 24
Location: 1:2176
Links: 1
g2 Group
diff --git a/tools/testfiles/tref-escapes-at.h5.xml b/tools/testfiles/tref-escapes-at.h5.xml
index b7a1158..403c9ce 100644
--- a/tools/testfiles/tref-escapes-at.h5.xml
+++ b/tools/testfiles/tref-escapes-at.h5.xml
@@ -200,7 +200,7 @@ Expected output for 'h5dump --xml tref-escapes-at.h5'
<hdf5:IntegerType ByteOrder="BE" Sign="false" Size="1" />
</hdf5:AtomicType>
</hdf5:DataType>
- <hdf5:Attribute Name="reftoamp">
+ <hdf5:Attribute Name="reftoquote">
<hdf5:Dataspace>
<hdf5:SimpleDataspace Ndims="1">
<hdf5:Dimension DimSize="1" MaxDimSize="1"/>
@@ -215,11 +215,11 @@ Expected output for 'h5dump --xml tref-escapes-at.h5'
</hdf5:DataType>
<hdf5:Data>
<hdf5:DataFromFile>
- "/Group1/Dataset&amp;amp"
+ "/Group1/Dataset\"quote"
</hdf5:DataFromFile>
</hdf5:Data>
</hdf5:Attribute>
- <hdf5:Attribute Name="reftoapos">
+ <hdf5:Attribute Name="reftoslash">
<hdf5:Dataspace>
<hdf5:SimpleDataspace Ndims="1">
<hdf5:Dimension DimSize="1" MaxDimSize="1"/>
@@ -234,11 +234,11 @@ Expected output for 'h5dump --xml tref-escapes-at.h5'
</hdf5:DataType>
<hdf5:Data>
<hdf5:DataFromFile>
- "/Group1/Dataset&apos;apos"
+ "/Group1/Dataset\\slash"
</hdf5:DataFromFile>
</hdf5:Data>
</hdf5:Attribute>
- <hdf5:Attribute Name="reftogt">
+ <hdf5:Attribute Name="reftoamp">
<hdf5:Dataspace>
<hdf5:SimpleDataspace Ndims="1">
<hdf5:Dimension DimSize="1" MaxDimSize="1"/>
@@ -253,7 +253,7 @@ Expected output for 'h5dump --xml tref-escapes-at.h5'
</hdf5:DataType>
<hdf5:Data>
<hdf5:DataFromFile>
- "/Group1/Dataset&gt;gt"
+ "/Group1/Dataset&amp;amp"
</hdf5:DataFromFile>
</hdf5:Data>
</hdf5:Attribute>
@@ -276,7 +276,7 @@ Expected output for 'h5dump --xml tref-escapes-at.h5'
</hdf5:DataFromFile>
</hdf5:Data>
</hdf5:Attribute>
- <hdf5:Attribute Name="reftoquote">
+ <hdf5:Attribute Name="reftogt">
<hdf5:Dataspace>
<hdf5:SimpleDataspace Ndims="1">
<hdf5:Dimension DimSize="1" MaxDimSize="1"/>
@@ -291,11 +291,11 @@ Expected output for 'h5dump --xml tref-escapes-at.h5'
</hdf5:DataType>
<hdf5:Data>
<hdf5:DataFromFile>
- "/Group1/Dataset\"quote"
+ "/Group1/Dataset&gt;gt"
</hdf5:DataFromFile>
</hdf5:Data>
</hdf5:Attribute>
- <hdf5:Attribute Name="reftoslash">
+ <hdf5:Attribute Name="reftoapos">
<hdf5:Dataspace>
<hdf5:SimpleDataspace Ndims="1">
<hdf5:Dimension DimSize="1" MaxDimSize="1"/>
@@ -310,7 +310,7 @@ Expected output for 'h5dump --xml tref-escapes-at.h5'
</hdf5:DataType>
<hdf5:Data>
<hdf5:DataFromFile>
- "/Group1/Dataset\\slash"
+ "/Group1/Dataset&apos;apos"
</hdf5:DataFromFile>
</hdf5:Data>
</hdf5:Attribute>
diff --git a/tools/testfiles/treference.ddl b/tools/testfiles/treference.ddl
index b34fa8d..9a21ef7 100644
--- a/tools/testfiles/treference.ddl
+++ b/tools/testfiles/treference.ddl
@@ -3,38 +3,16 @@ Expected output for 'h5dump tattr2.h5'
#############################
HDF5 "tattr2.h5" {
GROUP "/" {
- ATTRIBUTE "array" {
- DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE }
+ 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, 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 ]
+ (0): "ab", "de"
}
}
ATTRIBUTE "bitfield" {
@@ -44,31 +22,14 @@ GROUP "/" {
(0): 0x01, 0x02
}
}
- 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 "bitfield3D" {
- DATATYPE H5T_STD_B8LE
- DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
+ ATTRIBUTE "opaque" {
+ DATATYPE
+ H5T_OPAQUE;
+ OPAQUE_TAG "1-byte opaque type";
+
+ 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): 0x01, 0x02
}
}
ATTRIBUTE "compound" {
@@ -88,6 +49,80 @@ 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";
@@ -121,6 +156,117 @@ 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";
@@ -226,30 +372,6 @@ 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;
@@ -272,24 +394,44 @@ GROUP "/" {
(3,2,0): RED, RED
}
}
- ATTRIBUTE "float" {
- DATATYPE H5T_IEEE_F32LE
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ ATTRIBUTE "vlen3D" {
+ DATATYPE H5T_VLEN { H5T_STD_I32LE}
+ DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
- (0): 1, 2
+ (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 "float2D" {
- DATATYPE H5T_IEEE_F32LE
- 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 "float3D" {
- DATATYPE H5T_IEEE_F32LE
+ ATTRIBUTE "integer3D" {
+ DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
(0,0,0): 1, 2,
@@ -306,24 +448,8 @@ GROUP "/" {
(3,2,0): 23, 24
}
}
- 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
+ ATTRIBUTE "float3D" {
+ DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
(0,0,0): 1, 2,
@@ -340,137 +466,82 @@ GROUP "/" {
(3,2,0): 23, 24
}
}
- ATTRIBUTE "opaque" {
- DATATYPE
- H5T_OPAQUE;
- OPAQUE_TAG "1-byte opaque type";
-
+ DATASET "dset" {
+ DATATYPE H5T_STD_I32LE
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
+ (0): 0, 0
}
- }
- ATTRIBUTE "string" {
- DATATYPE H5T_STRING {
- STRSIZE 2;
- STRPAD H5T_STR_NULLTERM;
- CSET H5T_CSET_ASCII;
- CTYPE H5T_C_S1;
+ 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"
}
- 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;
+ ATTRIBUTE "bitfield" {
+ DATATYPE H5T_STD_B8LE
+ DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATA {
+ (0): 0x01, 0x02
}
- 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;
+ ATTRIBUTE "opaque" {
+ DATATYPE
+ H5T_OPAQUE;
+ OPAQUE_TAG "1-byte opaque type";
+
+ DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATA {
+ (0): 0x01, 0x02
}
- 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 "compound" {
+ DATATYPE H5T_COMPOUND {
+ H5T_STD_I8LE "a";
+ H5T_IEEE_F64LE "b";
+ }
+ DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATA {
+ (0): {
+ 1,
+ 2
+ },
+ (1): {
+ 3,
+ 4
+ }
+ }
}
- }
- 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 "reference" {
+ DATATYPE H5T_REFERENCE
+ DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATA {
+ (0): DATASET 976 /dset , DATASET 976 /dset
+ }
}
- }
- 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)
+ ATTRIBUTE "enum" {
+ DATATYPE H5T_ENUM {
+ H5T_STD_I32LE;
+ "RED" 0;
+ "GREEN" 1;
+ }
+ DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATA {
+ (0): RED, RED
+ }
}
- }
- DATASET "dset" {
- DATATYPE H5T_STD_I32LE
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
- DATA {
- (0): 0, 0
+ 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 }
@@ -479,38 +550,32 @@ GROUP "/" {
(0): [ 1, 2, 3 ], [ 4, 5, 6 ]
}
}
- ATTRIBUTE "array2D" {
- DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE }
- DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) }
+ ATTRIBUTE "integer" {
+ DATATYPE H5T_STD_I32LE
+ DATASPACE SIMPLE { ( 2 ) / ( 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 ]
+ (0): 1, 2
}
}
- ATTRIBUTE "array3D" {
- DATATYPE H5T_ARRAY { [3] 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): [ 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): 1, 2
}
}
- ATTRIBUTE "bitfield" {
- DATATYPE H5T_STD_B8LE
- DATASPACE SIMPLE { ( 2 ) / ( 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): 0x01, 0x02
+ (0,0): "ab", "cd",
+ (1,0): "ef", "gh",
+ (2,0): "ij", "kl"
}
}
ATTRIBUTE "bitfield2D" {
@@ -522,39 +587,16 @@ GROUP "/" {
(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" {
- 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 "compound2D" {
@@ -590,6 +632,126 @@ 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";
@@ -695,28 +857,22 @@ 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 ) }
+ ATTRIBUTE "reference3D" {
+ DATATYPE H5T_REFERENCE
+ DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
- (0,0): RED, RED,
- (1,0): RED, RED,
- (2,0): RED, RED
+ (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 "enum3D" {
@@ -741,24 +897,44 @@ GROUP "/" {
(3,2,0): RED, RED
}
}
- ATTRIBUTE "float" {
- DATATYPE H5T_IEEE_F32LE
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ ATTRIBUTE "vlen3D" {
+ DATATYPE H5T_VLEN { H5T_STD_I32LE}
+ DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
- (0): 1, 2
+ (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 "float2D" {
- DATATYPE H5T_IEEE_F32LE
- 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 "float3D" {
- DATATYPE H5T_IEEE_F32LE
+ ATTRIBUTE "integer3D" {
+ DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
(0,0,0): 1, 2,
@@ -775,24 +951,8 @@ GROUP "/" {
(3,2,0): 23, 24
}
}
- 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
+ ATTRIBUTE "float3D" {
+ DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
(0,0,0): 1, 2,
@@ -809,6 +969,27 @@ 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;
@@ -819,83 +1000,60 @@ GROUP "/" {
(0): 0x01, 0x02
}
}
- ATTRIBUTE "opaque2D" {
- DATATYPE
- H5T_OPAQUE;
- OPAQUE_TAG "1-byte opaque type";
-
- DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) }
+ ATTRIBUTE "compound" {
+ DATATYPE H5T_COMPOUND {
+ H5T_STD_I8LE "a";
+ H5T_IEEE_F64LE "b";
+ }
+ DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
DATA {
- (0,0): 0x01, 0x02,
- (1,0): 0x03, 0x04,
- (2,0): 0x05, 0x06
+ (0): {
+ 1,
+ 2
+ },
+ (1): {
+ 3,
+ 4
+ }
}
}
- ATTRIBUTE "opaque3D" {
- DATATYPE
- H5T_OPAQUE;
- OPAQUE_TAG "1-byte opaque type";
-
- 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): 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): RED, RED
}
}
- ATTRIBUTE "reference" {
- DATATYPE H5T_REFERENCE
+ ATTRIBUTE "vlen" {
+ DATATYPE H5T_VLEN { H5T_STD_I32LE}
DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
DATA {
- (0): DATASET 976 /dset , DATASET 976 /dset
+ (0): (1), (2, 3)
}
}
- ATTRIBUTE "reference2D" {
- DATATYPE H5T_REFERENCE
- DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) }
+ ATTRIBUTE "array" {
+ DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE }
+ DATASPACE SIMPLE { ( 2 ) / ( 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
+ (0): [ 1, 2, 3 ], [ 4, 5, 6 ]
}
}
- ATTRIBUTE "reference3D" {
- DATATYPE H5T_REFERENCE
- DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
+ ATTRIBUTE "integer" {
+ DATATYPE H5T_STD_I32LE
+ 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): 1, 2
}
}
- ATTRIBUTE "string" {
- DATATYPE H5T_STRING {
- STRSIZE 2;
- STRPAD H5T_STR_NULLTERM;
- CSET H5T_CSET_ASCII;
- CTYPE H5T_C_S1;
- }
+ ATTRIBUTE "float" {
+ DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
DATA {
- (0): "ab", "de"
+ (0): 1, 2
}
}
ATTRIBUTE "string2D" {
@@ -912,70 +1070,80 @@ GROUP "/" {
(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 ) }
+ 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 "vlen" {
- DATATYPE H5T_VLEN { H5T_STD_I32LE}
- 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, 3)
+ (0,0): 0x01, 0x02,
+ (1,0): 0x03, 0x04,
+ (2,0): 0x05, 0x06
}
}
- ATTRIBUTE "vlen2D" {
- DATATYPE H5T_VLEN { H5T_STD_I32LE}
+ ATTRIBUTE "compound2D" {
+ DATATYPE H5T_COMPOUND {
+ H5T_STD_I8LE "a";
+ H5T_IEEE_F64LE "b";
+ }
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)
+ (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 "vlen3D" {
- DATATYPE H5T_VLEN { H5T_STD_I32LE}
- DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
+ ATTRIBUTE "enum2D" {
+ DATATYPE H5T_ENUM {
+ H5T_STD_I32LE;
+ "RED" 0;
+ "GREEN" 1;
+ }
+ DATASPACE SIMPLE { ( 3, 2 ) / ( 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)
+ (0,0): RED, RED,
+ (1,0): RED, RED,
+ (2,0): RED, RED
}
}
- }
- GROUP "g1" {
- ATTRIBUTE "array" {
- DATATYPE H5T_ARRAY { [3] H5T_STD_I32LE }
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ ATTRIBUTE "vlen2D" {
+ DATATYPE H5T_VLEN { H5T_STD_I32LE}
+ DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) }
DATA {
- (0): [ 1, 2, 3 ], [ 4, 5, 6 ]
+ (0,0): (0), (1),
+ (1,0): (2, 3), (4, 5),
+ (2,0): (6, 7, 8), (9, 10, 11)
}
}
ATTRIBUTE "array2D" {
@@ -987,38 +1155,45 @@ GROUP "/" {
(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 ) }
+ ATTRIBUTE "integer2D" {
+ DATATYPE H5T_STD_I32LE
+ 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 "bitfield" {
- DATATYPE H5T_STD_B8LE
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ ATTRIBUTE "float2D" {
+ DATATYPE H5T_IEEE_F32LE
+ DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) }
DATA {
- (0): 0x01, 0x02
+ (0,0): 1, 2,
+ (1,0): 3, 4,
+ (2,0): 5, 6
}
}
- 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 "bitfield3D" {
@@ -1039,54 +1214,25 @@ GROUP "/" {
(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" {
- DATATYPE H5T_COMPOUND {
- H5T_STD_I8LE "a";
- H5T_IEEE_F64LE "b";
- }
- DATASPACE SIMPLE { ( 3, 2 ) / ( 3, 2 ) }
+ ATTRIBUTE "opaque3D" {
+ DATATYPE
+ H5T_OPAQUE;
+ OPAQUE_TAG "1-byte opaque type";
+
+ DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 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): 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" {
@@ -1194,30 +1340,6 @@ 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;
@@ -1240,24 +1362,44 @@ GROUP "/" {
(3,2,0): RED, RED
}
}
- ATTRIBUTE "float" {
- DATATYPE H5T_IEEE_F32LE
- DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ ATTRIBUTE "vlen3D" {
+ DATATYPE H5T_VLEN { H5T_STD_I32LE}
+ DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
- (0): 1, 2
+ (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 "float2D" {
- DATATYPE H5T_IEEE_F32LE
- 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 "float3D" {
- DATATYPE H5T_IEEE_F32LE
+ ATTRIBUTE "integer3D" {
+ DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
(0,0,0): 1, 2,
@@ -1274,24 +1416,8 @@ GROUP "/" {
(3,2,0): 23, 24
}
}
- 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
+ ATTRIBUTE "float3D" {
+ DATATYPE H5T_IEEE_F32LE
DATASPACE SIMPLE { ( 4, 3, 2 ) / ( 4, 3, 2 ) }
DATA {
(0,0,0): 1, 2,
@@ -1308,132 +1434,6 @@ 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" {