diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-12-14 21:18:08 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-12-14 21:18:08 (GMT) |
commit | aa646b5b43361597e547cea18af1825b43ad8ecb (patch) | |
tree | 46b46713137bcbb0da32c66223739faee75be08d /tools/testfiles | |
parent | 57a786d9c0242b7c94d0b0a1c8519f9b906d194a (diff) | |
download | hdf5-aa646b5b43361597e547cea18af1825b43ad8ecb.zip hdf5-aa646b5b43361597e547cea18af1825b43ad8ecb.tar.gz hdf5-aa646b5b43361597e547cea18af1825b43ad8ecb.tar.bz2 |
[svn-r13064]
Fix several bugs
1) the parsing of subsetting was using atoi to convert the parameter to an int, which caused problems for numbers greater that int. Substitute with atof
2) the printing of indices in the subsetting case was not being done. Solution: calculate the element position at the start of the subsetting using the algorythm
Given an index I(z,y,x) its position from the beginning of an array of sizes A(size_z, size_y,size_x) is given by
Position of I(z,y,x) = index_z * size_y * size_x
+ index_y * size_x
+ index_x
And pass that position to the function that dumps data, h5tools_dump_simple_data.
3) several index counters were declared as int, use hsize_t instead
4) modified the test generation program so that it includes test cases for subsetting of 1d, 2d, 3d, and 4d arrays and add these tests to the shell script
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/taindices.h5 | bin | 1068096 -> 1065992 bytes | |||
-rw-r--r-- | tools/testfiles/tall-4s.ddl | 3 | ||||
-rw-r--r-- | tools/testfiles/tall-5s.ddl | 11 | ||||
-rw-r--r-- | tools/testfiles/tdset-3s.ddl | 30 | ||||
-rw-r--r-- | tools/testfiles/tdset2-1s.ddl | 8 | ||||
-rw-r--r-- | tools/testfiles/tindicesno.ddl | 232 | ||||
-rw-r--r-- | tools/testfiles/tindicessub1.ddl | 57 | ||||
-rw-r--r-- | tools/testfiles/tindicessub2.ddl | 21 | ||||
-rw-r--r-- | tools/testfiles/tindicessub3.ddl | 21 | ||||
-rw-r--r-- | tools/testfiles/tindicessub4.ddl | 18 | ||||
-rw-r--r-- | tools/testfiles/tindicesyes.ddl | 359 |
11 files changed, 450 insertions, 310 deletions
diff --git a/tools/testfiles/taindices.h5 b/tools/testfiles/taindices.h5 Binary files differindex 52fc814..8261090 100644 --- a/tools/testfiles/taindices.h5 +++ b/tools/testfiles/taindices.h5 diff --git a/tools/testfiles/tall-4s.ddl b/tools/testfiles/tall-4s.ddl index 995b00e..eba555b 100644 --- a/tools/testfiles/tall-4s.ddl +++ b/tools/testfiles/tall-4s.ddl @@ -11,7 +11,8 @@ DATASET "/g1/g1.1/dset1.1.1" { COUNT ( 3, 2 ); BLOCK ( 1, 1 ); DATA { - (0,0): 1, 3, 5, 4, 12, 20 + (1,1): 1, 3, 5, + (1,4): 4, 12, 20 } } ATTRIBUTE "attr1" { diff --git a/tools/testfiles/tall-5s.ddl b/tools/testfiles/tall-5s.ddl index 95e4d63..fbf5238 100644 --- a/tools/testfiles/tall-5s.ddl +++ b/tools/testfiles/tall-5s.ddl @@ -11,7 +11,16 @@ DATASET "/g1/g1.1/dset1.1.2" { COUNT ( 10 ); BLOCK ( 1 ); DATA { - (0): 0, 2, 4, 6, 8, 10, 12, 14, 16, 18 + (0): 0, + (2): 2, + (4): 4, + (6): 6, + (8): 8, + (10): 10, + (12): 12, + (14): 14, + (16): 16, + (18): 18 } } } diff --git a/tools/testfiles/tdset-3s.ddl b/tools/testfiles/tdset-3s.ddl index 32da55c..ae9f5f2 100644 --- a/tools/testfiles/tdset-3s.ddl +++ b/tools/testfiles/tdset-3s.ddl @@ -11,17 +11,25 @@ DATASET "/dset1" { COUNT ( 9, 19 ); BLOCK ( 1, 1 ); DATA { - (0,0): 2, 3, 4, 5, 6, 7, 8, 9, 10, 3, 4, 5, 6, 7, 8, 9, 10, 11, 4, 5, - (0,2): 6, 7, 8, 9, 10, 11, 12, 5, 6, 7, 8, 9, 10, 11, 12, 13, 6, 7, 8, - (0,3): 9, 10, 11, 12, 13, 14, 7, 8, 9, 10, 11, 12, 13, 14, 15, 8, 9, - (0,2): 10, 11, 12, 13, 14, 15, 16, 9, 10, 11, 12, 13, 14, 15, 16, 17, - (0,0): 10, 11, 12, 13, 14, 15, 16, 17, 18, 11, 12, 13, 14, 15, 16, 17, - (0,7): 18, 19, 12, 13, 14, 15, 16, 17, 18, 19, 20, 13, 14, 15, 16, 17, - (0,5): 18, 19, 20, 21, 14, 15, 16, 17, 18, 19, 20, 21, 22, 15, 16, 17, - (0,3): 18, 19, 20, 21, 22, 23, 16, 17, 18, 19, 20, 21, 22, 23, 24, 17, - (0,1): 18, 19, 20, 21, 22, 23, 24, 25, 18, 19, 20, 21, 22, 23, 24, 25, - (0,8): 26, 19, 20, 21, 22, 23, 24, 25, 26, 27, 20, 21, 22, 23, 24, 25, - (0,6): 26, 27, 28 + (1,1): 2, 3, 4, 5, 6, 7, 8, 9, 10, + (1,2): 3, 4, 5, 6, 7, 8, 9, 10, 11, + (1,3): 4, 5, 6, 7, 8, 9, 10, 11, 12, + (1,4): 5, 6, 7, 8, 9, 10, 11, 12, 13, + (1,5): 6, 7, 8, 9, 10, 11, 12, 13, 14, + (1,6): 7, 8, 9, 10, 11, 12, 13, 14, 15, + (1,7): 8, 9, 10, 11, 12, 13, 14, 15, 16, + (1,8): 9, 10, 11, 12, 13, 14, 15, 16, 17, + (1,9): 10, 11, 12, 13, 14, 15, 16, 17, 18, + (1,10): 11, 12, 13, 14, 15, 16, 17, 18, 19, + (1,11): 12, 13, 14, 15, 16, 17, 18, 19, 20, + (1,12): 13, 14, 15, 16, 17, 18, 19, 20, 21, + (1,13): 14, 15, 16, 17, 18, 19, 20, 21, 22, + (1,14): 15, 16, 17, 18, 19, 20, 21, 22, 23, + (1,15): 16, 17, 18, 19, 20, 21, 22, 23, 24, + (1,16): 17, 18, 19, 20, 21, 22, 23, 24, 25, + (1,17): 18, 19, 20, 21, 22, 23, 24, 25, 26, + (1,18): 19, 20, 21, 22, 23, 24, 25, 26, 27, + (1,19): 20, 21, 22, 23, 24, 25, 26, 27, 28 } } } diff --git a/tools/testfiles/tdset2-1s.ddl b/tools/testfiles/tdset2-1s.ddl index b160a53..967174c 100644 --- a/tools/testfiles/tdset2-1s.ddl +++ b/tools/testfiles/tdset2-1s.ddl @@ -11,10 +11,10 @@ DATASET "/dset1" { COUNT ( 4, 4 ); BLOCK ( 1, 4 ); DATA { - (0,0): 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 2, 3, 4, 5, - (0,4): 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 4, 5, 6, 7, 4, 5, 6, 7, - (0,8): 4, 5, 6, 7, 4, 5, 6, 7, 6, 7, 8, 9, 6, 7, 8, 9, 6, 7, 8, 9, - (0,12): 6, 7, 8, 9 + (0,0): 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, + (0,2): 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, 2, 3, 4, 5, + (0,4): 4, 5, 6, 7, 4, 5, 6, 7, 4, 5, 6, 7, 4, 5, 6, 7, + (0,6): 6, 7, 8, 9, 6, 7, 8, 9, 6, 7, 8, 9, 6, 7, 8, 9 } } } diff --git a/tools/testfiles/tindicesno.ddl b/tools/testfiles/tindicesno.ddl index fdafcea..d58f719 100644 --- a/tools/testfiles/tindicesno.ddl +++ b/tools/testfiles/tindicesno.ddl @@ -17,88 +17,90 @@ GROUP "/" { } DATASET "2d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 100 ) / ( 2, 100 ) } + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } DATA { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, - 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, - 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, - 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, - 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, - 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, - 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, - 198, 199 + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 } } DATASET "3d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 2, 100 ) / ( 2, 2, 100 ) } + DATASPACE SIMPLE { ( 2, 10, 10 ) / ( 2, 10, 10 ) } DATA { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, - 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, - 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, - 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, - 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, - 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, - 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, - 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, - 198, 199, - 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, - 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, - 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, - 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, - 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, - 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, - 298, 299, - 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, - 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, - 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, - 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, - 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, - 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, - 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, - 398, 399 + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, + 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, + 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, + 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, + 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, + 190, 191, 192, 193, 194, 195, 196, 197, 198, 199 } } DATASET "4d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 3, 4, 5 ) / ( 2, 3, 4, 5 ) } + DATASPACE SIMPLE { ( 2, 2, 10, 10 ) / ( 2, 2, 10, 10 ) } DATA { - 0, 1, 2, 3, 4, - 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, - 35, 36, 37, 38, 39, - 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, - 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, - 70, 71, 72, 73, 74, - 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, - 100, 101, 102, 103, 104, - 105, 106, 107, 108, 109, - 110, 111, 112, 113, 114, - 115, 116, 117, 118, 119 + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, + 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, + 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, + 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, + 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, + 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, + 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, + 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, + 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, + 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, + 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, + 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, + 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, + 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, + 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, + 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, + 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, + 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, + 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, + 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, + 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, + 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, + 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, + 390, 391, 392, 393, 394, 395, 396, 397, 398, 399 } } GROUP "g1" { @@ -123,16 +125,34 @@ GROUP "/" { } DATASET "2d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 100 ) / ( 2, 100 ) } + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } DATA { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, - 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 98, 99, + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 + } + } + DATASET "3d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2, 10, 10 ) / ( 2, 10, 10 ) } + DATA { + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, @@ -145,18 +165,20 @@ GROUP "/" { 190, 191, 192, 193, 194, 195, 196, 197, 198, 199 } } - DATASET "3d" { + DATASET "4d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 2, 100 ) / ( 2, 2, 100 ) } + DATASPACE SIMPLE { ( 2, 2, 10, 10 ) / ( 2, 2, 10, 10 ) } DATA { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, - 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 98, 99, + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, @@ -189,36 +211,6 @@ GROUP "/" { 390, 391, 392, 393, 394, 395, 396, 397, 398, 399 } } - DATASET "4d" { - DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 3, 4, 5 ) / ( 2, 3, 4, 5 ) } - DATA { - 0, 1, 2, 3, 4, - 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, - 35, 36, 37, 38, 39, - 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, - 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, - 70, 71, 72, 73, 74, - 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, - 100, 101, 102, 103, 104, - 105, 106, 107, 108, 109, - 110, 111, 112, 113, 114, - 115, 116, 117, 118, 119 - } - } } } } diff --git a/tools/testfiles/tindicessub1.ddl b/tools/testfiles/tindicessub1.ddl new file mode 100644 index 0000000..ea3114f --- /dev/null +++ b/tools/testfiles/tindicessub1.ddl @@ -0,0 +1,57 @@ +############################# +Expected output for 'h5dump -d 1d -s 3 -c 40 taindices.h5' +############################# +HDF5 "taindices.h5" { +DATASET "1d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 100 ) / ( 100 ) } + SUBSET { + START ( 3 ); + STRIDE ( 1 ); + COUNT ( 40 ); + BLOCK ( 1 ); + DATA { + (3): 3, + (4): 4, + (5): 5, + (6): 6, + (7): 7, + (8): 8, + (9): 9, + (10): 10, + (11): 11, + (12): 12, + (13): 13, + (14): 14, + (15): 15, + (16): 16, + (17): 17, + (18): 18, + (19): 19, + (20): 20, + (21): 21, + (22): 22, + (23): 23, + (24): 24, + (25): 25, + (26): 26, + (27): 27, + (28): 28, + (29): 29, + (30): 30, + (31): 31, + (32): 32, + (33): 33, + (34): 34, + (35): 35, + (36): 36, + (37): 37, + (38): 38, + (39): 39, + (40): 40, + (41): 41, + (42): 42 + } + } +} +} diff --git a/tools/testfiles/tindicessub2.ddl b/tools/testfiles/tindicessub2.ddl new file mode 100644 index 0000000..19ae962 --- /dev/null +++ b/tools/testfiles/tindicessub2.ddl @@ -0,0 +1,21 @@ +############################# +Expected output for 'h5dump -d 2d -s 1,3 -c 6,4 taindices.h5' +############################# +HDF5 "taindices.h5" { +DATASET "2d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } + SUBSET { + START ( 1, 3 ); + STRIDE ( 1, 1 ); + COUNT ( 6, 4 ); + BLOCK ( 1, 1 ); + DATA { + (1,3): 13, 23, 33, 43, 53, 63, + (1,4): 14, 24, 34, 44, 54, 64, + (1,5): 15, 25, 35, 45, 55, 65, + (1,6): 16, 26, 36, 46, 56, 66 + } + } +} +} diff --git a/tools/testfiles/tindicessub3.ddl b/tools/testfiles/tindicessub3.ddl new file mode 100644 index 0000000..76be13f --- /dev/null +++ b/tools/testfiles/tindicessub3.ddl @@ -0,0 +1,21 @@ +############################# +Expected output for 'h5dump -d 3d -s 0,1,3 -c 1,6,4 taindices.h5' +############################# +HDF5 "taindices.h5" { +DATASET "3d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2, 10, 10 ) / ( 2, 10, 10 ) } + SUBSET { + START ( 0, 1, 3 ); + STRIDE ( 1, 1, 1 ); + COUNT ( 1, 6, 4 ); + BLOCK ( 1, 1, 1 ); + DATA { + (0,1,3): 13, 23, 33, 43, 53, 63, + (0,1,4): 14, 24, 34, 44, 54, 64, + (0,1,5): 15, 25, 35, 45, 55, 65, + (0,1,6): 16, 26, 36, 46, 56, 66 + } + } +} +} diff --git a/tools/testfiles/tindicessub4.ddl b/tools/testfiles/tindicessub4.ddl new file mode 100644 index 0000000..cad9c06 --- /dev/null +++ b/tools/testfiles/tindicessub4.ddl @@ -0,0 +1,18 @@ +############################# +Expected output for 'h5dump -d 4d -s 0,0,1,3 -c 1,1,1,1 taindices.h5' +############################# +HDF5 "taindices.h5" { +DATASET "4d" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 2, 2, 10, 10 ) / ( 2, 2, 10, 10 ) } + SUBSET { + START ( 0, 0, 1, 3 ); + STRIDE ( 1, 1, 1, 1 ); + COUNT ( 1, 1, 1, 1 ); + BLOCK ( 1, 1, 1, 1 ); + DATA { + (0,0,1,3): 13 + } + } +} +} diff --git a/tools/testfiles/tindicesyes.ddl b/tools/testfiles/tindicesyes.ddl index 5c0a941..6d1028d 100644 --- a/tools/testfiles/tindicesyes.ddl +++ b/tools/testfiles/tindicesyes.ddl @@ -18,94 +18,90 @@ GROUP "/" { } DATASET "2d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 100 ) / ( 2, 100 ) } + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } DATA { - (0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - (0,18): 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, - (0,34): 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - (0,50): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - (0,66): 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, - (0,82): 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, - (0,98): 98, 99, - (1,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, - (1,13): 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, - (1,25): 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, - (1,37): 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, - (1,49): 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, - (1,61): 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, - (1,73): 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, - (1,85): 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, - (1,97): 197, 198, 199 + (0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + (1,0): 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + (2,0): 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + (3,0): 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + (4,0): 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + (5,0): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + (6,0): 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + (7,0): 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + (8,0): 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + (9,0): 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 } } DATASET "3d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 2, 100 ) / ( 2, 2, 100 ) } + DATASPACE SIMPLE { ( 2, 10, 10 ) / ( 2, 10, 10 ) } DATA { - (0,0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, - (0,0,18): 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - (0,0,33): 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, - (0,0,48): 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, - (0,0,63): 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, - (0,0,78): 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - (0,0,93): 93, 94, 95, 96, 97, 98, 99, - (0,1,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, - (0,1,12): 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, - (0,1,24): 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, - (0,1,36): 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, - (0,1,48): 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, - (0,1,60): 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, - (0,1,72): 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, - (0,1,84): 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, - (0,1,96): 196, 197, 198, 199, - (1,0,0): 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, - (1,0,12): 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - (1,0,24): 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, - (1,0,36): 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, - (1,0,48): 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, - (1,0,60): 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, - (1,0,72): 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, - (1,0,84): 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, - (1,0,96): 296, 297, 298, 299, - (1,1,0): 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, - (1,1,12): 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, - (1,1,24): 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, - (1,1,36): 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, - (1,1,48): 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, - (1,1,60): 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, - (1,1,72): 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, - (1,1,84): 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, - (1,1,96): 396, 397, 398, 399 + (0,0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + (0,1,0): 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + (0,2,0): 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + (0,3,0): 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + (0,4,0): 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + (0,5,0): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + (0,6,0): 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + (0,7,0): 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + (0,8,0): 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + (0,9,0): 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + (1,0,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + (1,1,0): 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, + (1,2,0): 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + (1,3,0): 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, + (1,4,0): 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + (1,5,0): 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, + (1,6,0): 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, + (1,7,0): 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, + (1,8,0): 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, + (1,9,0): 190, 191, 192, 193, 194, 195, 196, 197, 198, 199 } } DATASET "4d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 3, 4, 5 ) / ( 2, 3, 4, 5 ) } + DATASPACE SIMPLE { ( 2, 2, 10, 10 ) / ( 2, 2, 10, 10 ) } DATA { - (0,0,0,0): 0, 1, 2, 3, 4, - (0,0,1,0): 5, 6, 7, 8, 9, - (0,0,2,0): 10, 11, 12, 13, 14, - (0,0,3,0): 15, 16, 17, 18, 19, - (0,1,0,0): 20, 21, 22, 23, 24, - (0,1,1,0): 25, 26, 27, 28, 29, - (0,1,2,0): 30, 31, 32, 33, 34, - (0,1,3,0): 35, 36, 37, 38, 39, - (0,2,0,0): 40, 41, 42, 43, 44, - (0,2,1,0): 45, 46, 47, 48, 49, - (0,2,2,0): 50, 51, 52, 53, 54, - (0,2,3,0): 55, 56, 57, 58, 59, - (1,0,0,0): 60, 61, 62, 63, 64, - (1,0,1,0): 65, 66, 67, 68, 69, - (1,0,2,0): 70, 71, 72, 73, 74, - (1,0,3,0): 75, 76, 77, 78, 79, - (1,1,0,0): 80, 81, 82, 83, 84, - (1,1,1,0): 85, 86, 87, 88, 89, - (1,1,2,0): 90, 91, 92, 93, 94, - (1,1,3,0): 95, 96, 97, 98, 99, - (1,2,0,0): 100, 101, 102, 103, 104, - (1,2,1,0): 105, 106, 107, 108, 109, - (1,2,2,0): 110, 111, 112, 113, 114, - (1,2,3,0): 115, 116, 117, 118, 119 + (0,0,0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + (0,0,1,0): 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + (0,0,2,0): 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + (0,0,3,0): 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + (0,0,4,0): 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + (0,0,5,0): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + (0,0,6,0): 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + (0,0,7,0): 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + (0,0,8,0): 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + (0,0,9,0): 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + (0,1,0,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + (0,1,1,0): 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, + (0,1,2,0): 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, + (0,1,3,0): 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, + (0,1,4,0): 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + (0,1,5,0): 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, + (0,1,6,0): 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, + (0,1,7,0): 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, + (0,1,8,0): 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, + (0,1,9,0): 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, + (1,0,0,0): 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, + (1,0,1,0): 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + (1,0,2,0): 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, + (1,0,3,0): 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, + (1,0,4,0): 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, + (1,0,5,0): 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, + (1,0,6,0): 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, + (1,0,7,0): 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, + (1,0,8,0): 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, + (1,0,9,0): 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, + (1,1,0,0): 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, + (1,1,1,0): 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, + (1,1,2,0): 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, + (1,1,3,0): 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, + (1,1,4,0): 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, + (1,1,5,0): 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, + (1,1,6,0): 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, + (1,1,7,0): 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, + (1,1,8,0): 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, + (1,1,9,0): 390, 391, 392, 393, 394, 395, 396, 397, 398, 399 } } GROUP "g1" { @@ -131,113 +127,130 @@ GROUP "/" { } DATASET "2d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 100 ) / ( 2, 100 ) } + DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) } DATA { - (0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - (0,14): 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - (0,25): 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, - (0,36): 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, - (0,47): 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, - (0,58): 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - (0,69): 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, - (0,80): 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, - (0,91): 91, 92, 93, 94, 95, 96, 97, 98, 99, - (1,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, - (1,9): 109, 110, 111, 112, 113, 114, 115, 116, 117, - (1,18): 118, 119, 120, 121, 122, 123, 124, 125, 126, - (1,27): 127, 128, 129, 130, 131, 132, 133, 134, 135, - (1,36): 136, 137, 138, 139, 140, 141, 142, 143, 144, - (1,45): 145, 146, 147, 148, 149, 150, 151, 152, 153, - (1,54): 154, 155, 156, 157, 158, 159, 160, 161, 162, - (1,63): 163, 164, 165, 166, 167, 168, 169, 170, 171, - (1,72): 172, 173, 174, 175, 176, 177, 178, 179, 180, - (1,81): 181, 182, 183, 184, 185, 186, 187, 188, 189, - (1,90): 190, 191, 192, 193, 194, 195, 196, 197, 198, - (1,99): 199 + (0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + (1,0): 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + (2,0): 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + (3,0): 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + (4,0): 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + (5,0): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + (6,0): 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + (7,0): 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + (8,0): 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + (9,0): 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 } } DATASET "3d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 2, 100 ) / ( 2, 2, 100 ) } + DATASPACE SIMPLE { ( 2, 10, 10 ) / ( 2, 10, 10 ) } DATA { - (0,0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, - (0,0,13): 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - (0,0,24): 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - (0,0,35): 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, - (0,0,46): 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, - (0,0,57): 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, - (0,0,68): 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, - (0,0,79): 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - (0,0,90): 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - (0,1,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, - (0,1,9): 109, 110, 111, 112, 113, 114, 115, 116, 117, - (0,1,18): 118, 119, 120, 121, 122, 123, 124, 125, - (0,1,26): 126, 127, 128, 129, 130, 131, 132, 133, - (0,1,34): 134, 135, 136, 137, 138, 139, 140, 141, - (0,1,42): 142, 143, 144, 145, 146, 147, 148, 149, - (0,1,50): 150, 151, 152, 153, 154, 155, 156, 157, - (0,1,58): 158, 159, 160, 161, 162, 163, 164, 165, - (0,1,66): 166, 167, 168, 169, 170, 171, 172, 173, - (0,1,74): 174, 175, 176, 177, 178, 179, 180, 181, - (0,1,82): 182, 183, 184, 185, 186, 187, 188, 189, - (0,1,90): 190, 191, 192, 193, 194, 195, 196, 197, - (0,1,98): 198, 199, - (1,0,0): 200, 201, 202, 203, 204, 205, 206, 207, 208, - (1,0,9): 209, 210, 211, 212, 213, 214, 215, 216, 217, - (1,0,18): 218, 219, 220, 221, 222, 223, 224, 225, - (1,0,26): 226, 227, 228, 229, 230, 231, 232, 233, - (1,0,34): 234, 235, 236, 237, 238, 239, 240, 241, - (1,0,42): 242, 243, 244, 245, 246, 247, 248, 249, - (1,0,50): 250, 251, 252, 253, 254, 255, 256, 257, - (1,0,58): 258, 259, 260, 261, 262, 263, 264, 265, - (1,0,66): 266, 267, 268, 269, 270, 271, 272, 273, - (1,0,74): 274, 275, 276, 277, 278, 279, 280, 281, - (1,0,82): 282, 283, 284, 285, 286, 287, 288, 289, - (1,0,90): 290, 291, 292, 293, 294, 295, 296, 297, - (1,0,98): 298, 299, - (1,1,0): 300, 301, 302, 303, 304, 305, 306, 307, 308, - (1,1,9): 309, 310, 311, 312, 313, 314, 315, 316, 317, - (1,1,18): 318, 319, 320, 321, 322, 323, 324, 325, - (1,1,26): 326, 327, 328, 329, 330, 331, 332, 333, - (1,1,34): 334, 335, 336, 337, 338, 339, 340, 341, - (1,1,42): 342, 343, 344, 345, 346, 347, 348, 349, - (1,1,50): 350, 351, 352, 353, 354, 355, 356, 357, - (1,1,58): 358, 359, 360, 361, 362, 363, 364, 365, - (1,1,66): 366, 367, 368, 369, 370, 371, 372, 373, - (1,1,74): 374, 375, 376, 377, 378, 379, 380, 381, - (1,1,82): 382, 383, 384, 385, 386, 387, 388, 389, - (1,1,90): 390, 391, 392, 393, 394, 395, 396, 397, - (1,1,98): 398, 399 + (0,0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + (0,1,0): 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + (0,2,0): 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + (0,3,0): 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + (0,4,0): 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + (0,5,0): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + (0,6,0): 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + (0,7,0): 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + (0,8,0): 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + (0,9,0): 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + (1,0,0): 100, 101, 102, 103, 104, 105, 106, 107, 108, + (1,0,9): 109, + (1,1,0): 110, 111, 112, 113, 114, 115, 116, 117, 118, + (1,1,9): 119, + (1,2,0): 120, 121, 122, 123, 124, 125, 126, 127, 128, + (1,2,9): 129, + (1,3,0): 130, 131, 132, 133, 134, 135, 136, 137, 138, + (1,3,9): 139, + (1,4,0): 140, 141, 142, 143, 144, 145, 146, 147, 148, + (1,4,9): 149, + (1,5,0): 150, 151, 152, 153, 154, 155, 156, 157, 158, + (1,5,9): 159, + (1,6,0): 160, 161, 162, 163, 164, 165, 166, 167, 168, + (1,6,9): 169, + (1,7,0): 170, 171, 172, 173, 174, 175, 176, 177, 178, + (1,7,9): 179, + (1,8,0): 180, 181, 182, 183, 184, 185, 186, 187, 188, + (1,8,9): 189, + (1,9,0): 190, 191, 192, 193, 194, 195, 196, 197, 198, + (1,9,9): 199 } } DATASET "4d" { DATATYPE H5T_STD_I32LE - DATASPACE SIMPLE { ( 2, 3, 4, 5 ) / ( 2, 3, 4, 5 ) } + DATASPACE SIMPLE { ( 2, 2, 10, 10 ) / ( 2, 2, 10, 10 ) } DATA { - (0,0,0,0): 0, 1, 2, 3, 4, - (0,0,1,0): 5, 6, 7, 8, 9, - (0,0,2,0): 10, 11, 12, 13, 14, - (0,0,3,0): 15, 16, 17, 18, 19, - (0,1,0,0): 20, 21, 22, 23, 24, - (0,1,1,0): 25, 26, 27, 28, 29, - (0,1,2,0): 30, 31, 32, 33, 34, - (0,1,3,0): 35, 36, 37, 38, 39, - (0,2,0,0): 40, 41, 42, 43, 44, - (0,2,1,0): 45, 46, 47, 48, 49, - (0,2,2,0): 50, 51, 52, 53, 54, - (0,2,3,0): 55, 56, 57, 58, 59, - (1,0,0,0): 60, 61, 62, 63, 64, - (1,0,1,0): 65, 66, 67, 68, 69, - (1,0,2,0): 70, 71, 72, 73, 74, - (1,0,3,0): 75, 76, 77, 78, 79, - (1,1,0,0): 80, 81, 82, 83, 84, - (1,1,1,0): 85, 86, 87, 88, 89, - (1,1,2,0): 90, 91, 92, 93, 94, - (1,1,3,0): 95, 96, 97, 98, 99, - (1,2,0,0): 100, 101, 102, 103, 104, - (1,2,1,0): 105, 106, 107, 108, 109, - (1,2,2,0): 110, 111, 112, 113, 114, - (1,2,3,0): 115, 116, 117, 118, 119 + (0,0,0,0): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + (0,0,1,0): 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + (0,0,2,0): 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + (0,0,3,0): 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + (0,0,4,0): 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + (0,0,5,0): 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + (0,0,6,0): 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + (0,0,7,0): 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + (0,0,8,0): 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + (0,0,9,0): 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + (0,1,0,0): 100, 101, 102, 103, 104, 105, 106, 107, + (0,1,0,8): 108, 109, + (0,1,1,0): 110, 111, 112, 113, 114, 115, 116, 117, + (0,1,1,8): 118, 119, + (0,1,2,0): 120, 121, 122, 123, 124, 125, 126, 127, + (0,1,2,8): 128, 129, + (0,1,3,0): 130, 131, 132, 133, 134, 135, 136, 137, + (0,1,3,8): 138, 139, + (0,1,4,0): 140, 141, 142, 143, 144, 145, 146, 147, + (0,1,4,8): 148, 149, + (0,1,5,0): 150, 151, 152, 153, 154, 155, 156, 157, + (0,1,5,8): 158, 159, + (0,1,6,0): 160, 161, 162, 163, 164, 165, 166, 167, + (0,1,6,8): 168, 169, + (0,1,7,0): 170, 171, 172, 173, 174, 175, 176, 177, + (0,1,7,8): 178, 179, + (0,1,8,0): 180, 181, 182, 183, 184, 185, 186, 187, + (0,1,8,8): 188, 189, + (0,1,9,0): 190, 191, 192, 193, 194, 195, 196, 197, + (0,1,9,8): 198, 199, + (1,0,0,0): 200, 201, 202, 203, 204, 205, 206, 207, + (1,0,0,8): 208, 209, + (1,0,1,0): 210, 211, 212, 213, 214, 215, 216, 217, + (1,0,1,8): 218, 219, + (1,0,2,0): 220, 221, 222, 223, 224, 225, 226, 227, + (1,0,2,8): 228, 229, + (1,0,3,0): 230, 231, 232, 233, 234, 235, 236, 237, + (1,0,3,8): 238, 239, + (1,0,4,0): 240, 241, 242, 243, 244, 245, 246, 247, + (1,0,4,8): 248, 249, + (1,0,5,0): 250, 251, 252, 253, 254, 255, 256, 257, + (1,0,5,8): 258, 259, + (1,0,6,0): 260, 261, 262, 263, 264, 265, 266, 267, + (1,0,6,8): 268, 269, + (1,0,7,0): 270, 271, 272, 273, 274, 275, 276, 277, + (1,0,7,8): 278, 279, + (1,0,8,0): 280, 281, 282, 283, 284, 285, 286, 287, + (1,0,8,8): 288, 289, + (1,0,9,0): 290, 291, 292, 293, 294, 295, 296, 297, + (1,0,9,8): 298, 299, + (1,1,0,0): 300, 301, 302, 303, 304, 305, 306, 307, + (1,1,0,8): 308, 309, + (1,1,1,0): 310, 311, 312, 313, 314, 315, 316, 317, + (1,1,1,8): 318, 319, + (1,1,2,0): 320, 321, 322, 323, 324, 325, 326, 327, + (1,1,2,8): 328, 329, + (1,1,3,0): 330, 331, 332, 333, 334, 335, 336, 337, + (1,1,3,8): 338, 339, + (1,1,4,0): 340, 341, 342, 343, 344, 345, 346, 347, + (1,1,4,8): 348, 349, + (1,1,5,0): 350, 351, 352, 353, 354, 355, 356, 357, + (1,1,5,8): 358, 359, + (1,1,6,0): 360, 361, 362, 363, 364, 365, 366, 367, + (1,1,6,8): 368, 369, + (1,1,7,0): 370, 371, 372, 373, 374, 375, 376, 377, + (1,1,7,8): 378, 379, + (1,1,8,0): 380, 381, 382, 383, 384, 385, 386, 387, + (1,1,8,8): 388, 389, + (1,1,9,0): 390, 391, 392, 393, 394, 395, 396, 397, + (1,1,9,8): 398, 399 } } } |