mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-03 02:32:04 +08:00
0105a3b97c
Purpose: bug fix. Description: h5dump cannot dump data and datatype for VL string. Platforms tested: eirene, arabica Misc. update: MANIFEST, RELEASE.txt
42 lines
1.2 KiB
SQL
42 lines
1.2 KiB
SQL
#############################
|
|
Expected output for 'h5dump tvlstr.h5'
|
|
#############################
|
|
HDF5 "tvlstr.h5" {
|
|
GROUP "/" {
|
|
ATTRIBUTE "test_scalar" {
|
|
DATATYPE H5T_STRING {
|
|
STRSIZE H5T_VARIABLE;
|
|
STRPAD H5T_STR_NULLPAD;
|
|
CSET H5T_CSET_ASCII;
|
|
CTYPE H5T_C_S1;
|
|
}
|
|
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 {
|
|
"Four score and seven years ago our forefathers brought forth on this continent a new nation,",
|
|
"conceived in liberty and dedicated to the proposition that all men are created equal.",
|
|
"Now we are engaged in a great civil war,",
|
|
"testing whether that nation or any nation so conceived and so dedicated can long endure."
|
|
}
|
|
}
|
|
DATATYPE "vl_string_type" H5T_STRING {
|
|
STRSIZE H5T_VARIABLE;
|
|
STRPAD H5T_STR_NULLPAD;
|
|
CSET H5T_CSET_ASCII;
|
|
CTYPE H5T_C_S1;
|
|
};
|
|
|
|
}
|
|
}
|