1998-09-28 23:12:14 +08:00
|
|
|
#############################
|
1998-12-18 03:35:20 +08:00
|
|
|
Expected output for 'h5dump tattr.h5'
|
1998-09-28 23:12:14 +08:00
|
|
|
#############################
|
2000-02-16 02:21:22 +08:00
|
|
|
HDF5 "tattr.h5" {
|
1998-09-28 23:12:14 +08:00
|
|
|
GROUP "/" {
|
|
|
|
ATTRIBUTE "attr1" {
|
2003-10-06 05:23:57 +08:00
|
|
|
DATATYPE H5T_STD_I8BE
|
|
|
|
DATASPACE SIMPLE { ( 24 ) / ( 24 ) }
|
1998-10-29 14:40:30 +08:00
|
|
|
DATA {
|
2004-07-09 05:49:40 +08:00
|
|
|
(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
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
}
|
1998-09-28 23:12:14 +08:00
|
|
|
ATTRIBUTE "attr2" {
|
2003-10-06 05:23:57 +08:00
|
|
|
DATATYPE H5T_STD_I32BE
|
|
|
|
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
1998-10-29 14:40:30 +08:00
|
|
|
DATA {
|
2004-07-01 02:45:14 +08:00
|
|
|
(0): 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
}
|
1998-09-28 23:12:14 +08:00
|
|
|
ATTRIBUTE "attr3" {
|
2003-10-06 05:23:57 +08:00
|
|
|
DATATYPE H5T_IEEE_F64BE
|
|
|
|
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
|
1998-10-29 14:40:30 +08:00
|
|
|
DATA {
|
2004-07-01 02:45:14 +08:00
|
|
|
(0): 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
}
|
1998-12-21 11:50:15 +08:00
|
|
|
ATTRIBUTE "attr4" {
|
2003-10-06 05:23:57 +08:00
|
|
|
DATATYPE H5T_STD_I32BE
|
|
|
|
DATASPACE SCALAR
|
1998-12-21 11:50:15 +08:00
|
|
|
DATA {
|
2004-07-01 02:45:14 +08:00
|
|
|
(0): 100
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
}
|
1998-12-21 11:50:15 +08:00
|
|
|
ATTRIBUTE "attr5" {
|
2000-11-22 03:35:23 +08:00
|
|
|
DATATYPE H5T_STRING {
|
|
|
|
STRSIZE 17;
|
|
|
|
STRPAD H5T_STR_NULLTERM;
|
|
|
|
CSET H5T_CSET_ASCII;
|
|
|
|
CTYPE H5T_C_S1;
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
DATASPACE SCALAR
|
1998-12-21 11:50:15 +08:00
|
|
|
DATA {
|
2004-07-01 02:45:14 +08:00
|
|
|
(0): "string attribute"
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|