hdf5/tools/testfiles/tattr-1.ddl
Jonathan Kim a558128a18 [svn-r20869] Purpose:
HDFFV-7514 - GMQS: h5dump - improve effectiveness of testing scripts for handling expected output files

   Description:
       Fist phase for h5dump test update. Next phase will be for h5ls.
       This is prerequisite for 'HDFFV-7602 Tools - upgrade tools' test scripts to share test files among tools, providing framework for test file re-usability.'

   Tested:
       jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), linew (solaris-BE),  Windows (32-LE), Cmake (jam)
2011-05-19 17:51:36 -05:00

46 lines
1020 B
SQL

HDF5 "tattr.h5" {
GROUP "/" {
ATTRIBUTE "attr1" {
DATATYPE H5T_STD_I8BE
DATASPACE SIMPLE { ( 24 ) / ( 24 ) }
DATA {
(0): 97, 116, 116, 114, 105, 98, 117, 116, 101, 32, 111, 102, 32, 114,
(14): 111, 111, 116, 32, 103, 114, 111, 117, 112, 0
}
}
ATTRIBUTE "attr2" {
DATATYPE H5T_STD_I32BE
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
DATA {
(0): 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
}
}
ATTRIBUTE "attr3" {
DATATYPE H5T_IEEE_F64BE
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
DATA {
(0): 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
}
}
ATTRIBUTE "attr4" {
DATATYPE H5T_STD_I32BE
DATASPACE SCALAR
DATA {
(0): 100
}
}
ATTRIBUTE "attr5" {
DATATYPE H5T_STRING {
STRSIZE 17;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SCALAR
DATA {
(0): "string attribute"
}
}
}
}