mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
bad5b7ec31
h5dump new version Description: added the changes already made for 1.6 support for dumping of 1) filters 2) storage layout 3) fill value 4) comments 5) superblock 6) file contents 7) array indices Solution: Platforms tested: linux solaris AIX Misc. update:
36 lines
966 B
SQL
36 lines
966 B
SQL
#############################
|
|
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;
|
|
};
|
|
|
|
}
|
|
}
|