mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
2f51e3c16a
New Feature Description: Changed the command line flags in the h5dumper so that they accept both short and long flags. The flag syntax for some have changed (I.e., object ids are no longer -v but -i and -header is now -H or --header, etc.) A new function is added called get_options which can be used for all other tools as well. Had to change these output files to accept the correct flags. Platforms tested: Linux
28 lines
725 B
SQL
28 lines
725 B
SQL
#############################
|
|
Expected output for 'h5dump --header -g /g1/g1.1 -a attr2 tall.h5'
|
|
#############################
|
|
HDF5 "tall.h5" {
|
|
GROUP "/g1/g1.1" {
|
|
DATASET "dset1.1.1" {
|
|
DATATYPE H5T_STD_I32BE
|
|
DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
|
|
ATTRIBUTE "attr1" {
|
|
DATATYPE H5T_STD_I8BE
|
|
DATASPACE SIMPLE { ( 27 ) / ( 27 ) }
|
|
}
|
|
ATTRIBUTE "attr2" {
|
|
DATATYPE H5T_STD_I8BE
|
|
DATASPACE SIMPLE { ( 27 ) / ( 27 ) }
|
|
}
|
|
}
|
|
DATASET "dset1.1.2" {
|
|
DATATYPE H5T_STD_I32BE
|
|
DATASPACE SIMPLE { ( 20 ) / ( 20 ) }
|
|
}
|
|
}
|
|
ATTRIBUTE "attr2" {
|
|
DATATYPE H5T_STD_I32BE
|
|
DATASPACE SIMPLE { ( 2, 2 ) / ( 2, 2 ) }
|
|
}
|
|
}
|