summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tindicessub4.ddl
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-01-10 19:15:16 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-01-10 19:15:16 (GMT)
commitba14f838467f787fd4d42185a7e65fc529f84af8 (patch)
tree126171e83360b5c261472e66125551edfa1177d7 /tools/testfiles/tindicessub4.ddl
parent56407cde0eb97b44d2e2fccf1c67ea585811f7f1 (diff)
downloadhdf5-ba14f838467f787fd4d42185a7e65fc529f84af8.zip
hdf5-ba14f838467f787fd4d42185a7e65fc529f84af8.tar.gz
hdf5-ba14f838467f787fd4d42185a7e65fc529f84af8.tar.bz2
[svn-r13134]
New version of the function h5tools_dump_simple_subset, to display subsetting. The new algorithm is: Introduced an outer loop for cases where dimensionality is greater than 2D. In each iteration a 2D block is displayed by rows in a inner loop. The remainning slower dimensions above the first 2 are incremented one at a time in the outer loop Note: when blocks are introduced, the display is not correct. This is a bug that requires an improvement of the algorithm.
Diffstat (limited to 'tools/testfiles/tindicessub4.ddl')
-rw-r--r--tools/testfiles/tindicessub4.ddl29
1 files changed, 26 insertions, 3 deletions
diff --git a/tools/testfiles/tindicessub4.ddl b/tools/testfiles/tindicessub4.ddl
index cad9c06..99fca01 100644
--- a/tools/testfiles/tindicessub4.ddl
+++ b/tools/testfiles/tindicessub4.ddl
@@ -1,5 +1,5 @@
#############################
-Expected output for 'h5dump -d 4d -s 0,0,1,3 -c 1,1,1,1 taindices.h5'
+Expected output for 'h5dump -d 4d -s 0,0,1,3 -c 2,2,6,4 taindices.h5'
#############################
HDF5 "taindices.h5" {
DATASET "4d" {
@@ -8,10 +8,33 @@ DATASET "4d" {
SUBSET {
START ( 0, 0, 1, 3 );
STRIDE ( 1, 1, 1, 1 );
- COUNT ( 1, 1, 1, 1 );
+ COUNT ( 2, 2, 6, 4 );
BLOCK ( 1, 1, 1, 1 );
DATA {
- (0,0,1,3): 13
+ (0,0,1,3): 13, 14, 15, 16,
+ (0,0,2,3): 23, 24, 25, 26,
+ (0,0,3,3): 33, 34, 35, 36,
+ (0,0,4,3): 43, 44, 45, 46,
+ (0,0,5,3): 53, 54, 55, 56,
+ (0,0,6,3): 63, 64, 65, 66
+ (0,1,1,3): 113, 114, 115, 116,
+ (0,1,2,3): 123, 124, 125, 126,
+ (0,1,3,3): 133, 134, 135, 136,
+ (0,1,4,3): 143, 144, 145, 146,
+ (0,1,5,3): 153, 154, 155, 156,
+ (0,1,6,3): 163, 164, 165, 166
+ (1,0,1,3): 213, 214, 215, 216,
+ (1,0,2,3): 223, 224, 225, 226,
+ (1,0,3,3): 233, 234, 235, 236,
+ (1,0,4,3): 243, 244, 245, 246,
+ (1,0,5,3): 253, 254, 255, 256,
+ (1,0,6,3): 263, 264, 265, 266
+ (1,1,1,3): 313, 314, 315, 316,
+ (1,1,2,3): 323, 324, 325, 326,
+ (1,1,3,3): 333, 334, 335, 336,
+ (1,1,4,3): 343, 344, 345, 346,
+ (1,1,5,3): 353, 354, 355, 356,
+ (1,1,6,3): 363, 364, 365, 366
}
}
}