diff options
Diffstat (limited to 'tools/testfiles/tstr-2.ddl')
-rw-r--r-- | tools/testfiles/tstr-2.ddl | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/tools/testfiles/tstr-2.ddl b/tools/testfiles/tstr-2.ddl new file mode 100644 index 0000000..2abb260 --- /dev/null +++ b/tools/testfiles/tstr-2.ddl @@ -0,0 +1,157 @@ +############################# +Expected output for 'h5dump tstr2.h5' +############################# +HDF5 "tstr2.h5" { +GROUP "/" { + GROUP "g1" { + DATASET "dset1" { + DATATYPE H5T_STRING { + STRSIZE 50; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 10 ) / ( 10 ) } + DATA { + "This is row 0 of type H5T_STR_NULLTERM of", + "This is row 1 of type H5T_STR_NULLTERM of", + "This is row 2 of type H5T_STR_NULLTERM of", + "This is row 3 of type H5T_STR_NULLTERM of", + "This is row 4 of type H5T_STR_NULLTERM of", + "This is row 5 of type H5T_STR_NULLTERM of", + "This is row 6 of type H5T_STR_NULLTERM of", + "This is row 7 of type H5T_STR_NULLTERM of", + "This is row 8 of type H5T_STR_NULLTERM of", + "This is row 9 of type H5T_STR_NULLTERM of" + } + ATTRIBUTE "attr1" { + DATATYPE H5T_STRING { + STRSIZE 11; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 3 ) / ( 3 ) } + DATA { + "0123456789", "abcdefghij", "ABCDEFGHIJ" + } + } + } + } + GROUP "g2" { + DATASET "dset2" { + DATATYPE H5T_STRING { + STRSIZE 50; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 10 ) / ( 10 ) } + DATA { + "This is row 0 of type H5T_STR_NULLTERM of string ", + "This is row 1 of type H5T_STR_NULLTERM of string ", + "This is row 2 of type H5T_STR_NULLTERM of string ", + "This is row 3 of type H5T_STR_NULLTERM of string ", + "This is row 4 of type H5T_STR_NULLTERM of string ", + "This is row 5 of type H5T_STR_NULLTERM of string ", + "This is row 6 of type H5T_STR_NULLTERM of string ", + "This is row 7 of type H5T_STR_NULLTERM of string ", + "This is row 8 of type H5T_STR_NULLTERM of string ", + "This is row 9 of type H5T_STR_NULLTERM of string " + } + } + } + GROUP "g3" { + DATASET "dset3" { + DATATYPE H5T_STRING { + STRSIZE 50; + STRPAD H5T_STR_NULLPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 10 ) / ( 10 ) } + DATA { + "This is row 0 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000", + "This is row 1 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000", + "This is row 2 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000", + "This is row 3 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000", + "This is row 4 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000", + "This is row 5 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000", + "This is row 6 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000", + "This is row 7 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000", + "This is row 8 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000", + "This is row 9 of type H5T_STR_NULLPAD of\000\000\000\000\000\000\000\000\000\000" + } + } + } + GROUP "g4" { + DATASET "dset4" { + DATATYPE H5T_STRING { + STRSIZE 50; + STRPAD H5T_STR_NULLPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 10 ) / ( 10 ) } + DATA { + "This is row 0 of type H5T_STR_NULLPAD of string ar", + "This is row 1 of type H5T_STR_NULLPAD of string ar", + "This is row 2 of type H5T_STR_NULLPAD of string ar", + "This is row 3 of type H5T_STR_NULLPAD of string ar", + "This is row 4 of type H5T_STR_NULLPAD of string ar", + "This is row 5 of type H5T_STR_NULLPAD of string ar", + "This is row 6 of type H5T_STR_NULLPAD of string ar", + "This is row 7 of type H5T_STR_NULLPAD of string ar", + "This is row 8 of type H5T_STR_NULLPAD of string ar", + "This is row 9 of type H5T_STR_NULLPAD of string ar" + } + } + } + GROUP "g5" { + DATASET "dset5" { + DATATYPE H5T_STRING { + STRSIZE 50; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 10 ) / ( 10 ) } + DATA { + "This is row 0 of type H5T_STR_SPACEPAD of ", + "This is row 1 of type H5T_STR_SPACEPAD of ", + "This is row 2 of type H5T_STR_SPACEPAD of ", + "This is row 3 of type H5T_STR_SPACEPAD of ", + "This is row 4 of type H5T_STR_SPACEPAD of ", + "This is row 5 of type H5T_STR_SPACEPAD of ", + "This is row 6 of type H5T_STR_SPACEPAD of ", + "This is row 7 of type H5T_STR_SPACEPAD of ", + "This is row 8 of type H5T_STR_SPACEPAD of ", + "This is row 9 of type H5T_STR_SPACEPAD of " + } + } + } + GROUP "g6" { + DATASET "dset6" { + DATATYPE H5T_STRING { + STRSIZE 50; + STRPAD H5T_STR_SPACEPAD; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SIMPLE { ( 10 ) / ( 10 ) } + DATA { + "This is row 0 of type H5T_STR_SPACEPAD of string a", + "This is row 1 of type H5T_STR_SPACEPAD of string a", + "This is row 2 of type H5T_STR_SPACEPAD of string a", + "This is row 3 of type H5T_STR_SPACEPAD of string a", + "This is row 4 of type H5T_STR_SPACEPAD of string a", + "This is row 5 of type H5T_STR_SPACEPAD of string a", + "This is row 6 of type H5T_STR_SPACEPAD of string a", + "This is row 7 of type H5T_STR_SPACEPAD of string a", + "This is row 8 of type H5T_STR_SPACEPAD of string a", + "This is row 9 of type H5T_STR_SPACEPAD of string a" + } + } + } +} +} |