diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-05-20 19:05:28 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-05-20 19:05:28 (GMT) |
commit | 449941a28eecc4ee68b1fcfc24b79574d318bea1 (patch) | |
tree | 0d5133292611ea69a2ec98155bcaef1a718cc7bf /tools/h5repack/h5repack.sh.in | |
parent | e3180b57c03e9b91d7d2765351cd8f6f71d0f1c6 (diff) | |
download | hdf5-449941a28eecc4ee68b1fcfc24b79574d318bea1.zip hdf5-449941a28eecc4ee68b1fcfc24b79574d318bea1.tar.gz hdf5-449941a28eecc4ee68b1fcfc24b79574d318bea1.tar.bz2 |
[svn-r15044] backward compatibility for old -i infile -o outfile options
if these are detected this syntax is used, otherwise the one in usage is used
there was another -i option for
-i L2, --indexed=L2 Minimum number of links in the indexed format
That was changed to -d
-d L2, --indexed=L2 Minimum number of links in the indexed format
Tested: windows, linux
Diffstat (limited to 'tools/h5repack/h5repack.sh.in')
-rwxr-xr-x | tools/h5repack/h5repack.sh.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack.sh.in b/tools/h5repack/h5repack.sh.in index 2e411b0..6aeb4fb 100755 --- a/tools/h5repack/h5repack.sh.in +++ b/tools/h5repack/h5repack.sh.in @@ -428,8 +428,7 @@ TOOLTEST $FILE4 -l dset_chunk:CHUNK=18x13 TOOLTEST $FILE1 -n -# long swtiches. use FILE4=h5repack_layout.h5 (no filters) - +# latest file format with long switches. use FILE4=h5repack_layout.h5 (no filters) arg="$FILE4 --layout CHUNK=20x10 --filter GZIP=1 --threshold=10 --native --latest --compact=8 --indexed=6 --ssize=8[:dtype]" if test $USE_FILTER_DEFLATE != "yes" ; then SKIP $arg @@ -437,6 +436,14 @@ else TOOLTEST $arg fi +# latest file format with short switches. use FILE4=h5repack_layout.h5 (no filters) +arg="$FILE4 -l CHUNK=20x10 -f GZIP=1 -m 10 -n -L -c 8 -d 6 -s 8[:dtype]" +if test $USE_FILTER_DEFLATE != "yes" ; then + SKIP $arg +else + TOOLTEST $arg +fi + # several global filters arg="$FILE4 --filter GZIP=1 --filter SHUF" |