hdf5/tools/testfiles/tindicessub3.ddl
Pedro Vicente Nunes ba14f83846 [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.
2007-01-10 14:15:16 -05:00

30 lines
793 B
SQL

#############################
Expected output for 'h5dump -d 3d -s 0,1,3 -c 2,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 ( 2, 6, 4 );
BLOCK ( 1, 1, 1 );
DATA {
(0,1,3): 13, 14, 15, 16,
(0,2,3): 23, 24, 25, 26,
(0,3,3): 33, 34, 35, 36,
(0,4,3): 43, 44, 45, 46,
(0,5,3): 53, 54, 55, 56,
(0,6,3): 63, 64, 65, 66
(1,1,3): 113, 114, 115, 116,
(1,2,3): 123, 124, 125, 126,
(1,3,3): 133, 134, 135, 136,
(1,4,3): 143, 144, 145, 146,
(1,5,3): 153, 154, 155, 156,
(1,6,3): 163, 164, 165, 166
}
}
}
}