mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
fcf96afeb2
by using an escape character. For example, for a dataset "/dset" containing attribute "speed(m/h)", use "h5dump -a "/dset/speed(\/h)" to show the content of the attribute. See details at HDFFV-7523
30 lines
565 B
SQL
30 lines
565 B
SQL
HDF5 "tattr.h5" {
|
|
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 "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"
|
|
}
|
|
}
|
|
}
|