HDFFV-8611 change h5repack to save the root group creation order
Added test and new arguments to control the the input file parsing.
This commit is contained in:
36
tools/test/h5repack/testfiles/crtorder.tordergr.h5.ddl
Normal file
36
tools/test/h5repack/testfiles/crtorder.tordergr.h5.ddl
Normal file
@@ -0,0 +1,36 @@
|
||||
HDF5 "out-crtorder.tordergr.h5" {
|
||||
GROUP "/" {
|
||||
GROUP "2" {
|
||||
GROUP "a" {
|
||||
GROUP "a1" {
|
||||
}
|
||||
GROUP "a2" {
|
||||
GROUP "a21" {
|
||||
}
|
||||
GROUP "a22" {
|
||||
}
|
||||
}
|
||||
}
|
||||
GROUP "b" {
|
||||
}
|
||||
GROUP "c" {
|
||||
}
|
||||
}
|
||||
GROUP "1" {
|
||||
GROUP "c" {
|
||||
}
|
||||
GROUP "b" {
|
||||
}
|
||||
GROUP "a" {
|
||||
GROUP "a1" {
|
||||
}
|
||||
GROUP "a2" {
|
||||
GROUP "a22" {
|
||||
}
|
||||
GROUP "a21" {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,8 @@ usage: h5repack [OPTIONS] file1 file2
|
||||
-M A, --metadata_block_size=A Metadata block size for H5Pset_meta_block_size
|
||||
-t T, --threshold=T Threshold value for H5Pset_alignment
|
||||
-a A, --alignment=A Alignment value for H5Pset_alignment
|
||||
-q Q, --sort_by=Q Sort groups and attributes by index Q
|
||||
-z Z, --sort_order=Z Sort groups and attributes by order Z
|
||||
-f FILT, --filter=FILT Filter type
|
||||
-l LAYT, --layout=LAYT Layout type
|
||||
-S FS_STRATEGY, --fs_strategy=FS_STRATEGY File space management strategy for H5Pset_file_space_strategy
|
||||
@@ -30,6 +32,8 @@ usage: h5repack [OPTIONS] file1 file2
|
||||
U - is a filename.
|
||||
T - is an integer
|
||||
A - is an integer greater than zero
|
||||
Q - is the sort index type for the input file. It can be "name" or "creation_order" (default)
|
||||
Z - is the sort order type for the input file. It can be "descending" or "ascending" (default)
|
||||
B - is the user block size, any value that is 512 or greater and is
|
||||
a power of 2 (1024 default)
|
||||
F - is the shared object header message type, any of <dspace|dtype|fill|
|
||||
|
||||
Reference in New Issue
Block a user