blob: 7d7c42a1883790385b9cebaed440131a717b0d6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#############################
Expected output for 'h5dump tvlstr.h5'
#############################
HDF5 "tvlstr.h5" {
GROUP "/" {
ATTRIBUTE "test_scalar" {
DATATYPE "/vl_string_type"
DATASPACE SCALAR
DATA {
"This is the string for the attribute"
}
}
DATASET "Dataset1" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
}
DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
DATA {
(0): "Four score and seven years ago our forefathers brought forth on this continent a new nation,",
(1): "conceived in liberty and dedicated to the proposition that all men are created equal.",
(2): "", NULL
}
}
DATATYPE "vl_string_type" H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLPAD;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
};
}
}
|