hdf5/tools/testfiles/tindicessub1.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

21 lines
533 B
SQL

#############################
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, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
(21): 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
(37): 37, 38, 39, 40, 41, 42
}
}
}
}