1998-09-28 23:49:18 +08:00
|
|
|
#############################
|
2001-02-16 03:32:38 +08:00
|
|
|
Expected output for 'h5dump -a /attr1 --attribute /attr4 --attribute=/attr5 tattr.h5'
|
1998-09-28 23:49:18 +08:00
|
|
|
#############################
|
2000-02-16 02:21:22 +08:00
|
|
|
HDF5 "tattr.h5" {
|
2001-02-16 03:32:38 +08:00
|
|
|
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-03 03:07:17 +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
|
|
|
}
|
|
|
|
}
|
2001-02-16 03:32:38 +08:00
|
|
|
ATTRIBUTE "/attr4" {
|
2003-10-06 05:23:57 +08:00
|
|
|
DATATYPE H5T_STD_I32BE
|
|
|
|
DATASPACE SCALAR
|
1998-10-29 14:40:30 +08:00
|
|
|
DATA {
|
2004-07-03 03:07:17 +08:00
|
|
|
(0): 100
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
}
|
2001-02-16 03:32:38 +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-22 06:34:42 +08:00
|
|
|
DATA {
|
2004-07-03 03:07:17 +08:00
|
|
|
(0): "string attribute"
|
2003-10-06 05:23:57 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|