summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.sh.in
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-05-16 20:36:48 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-05-16 20:36:48 (GMT)
commit57708e46ad67aa87e5f7ee5b9c02a7c6c30be3aa (patch)
tree969c78ec49de9bd89afb2f0779590f263263477a /tools/h5repack/h5repack.sh.in
parent1962e806c7149acfdd66346d2982ba94a3c1f485 (diff)
downloadhdf5-57708e46ad67aa87e5f7ee5b9c02a7c6c30be3aa.zip
hdf5-57708e46ad67aa87e5f7ee5b9c02a7c6c30be3aa.tar.gz
hdf5-57708e46ad67aa87e5f7ee5b9c02a7c6c30be3aa.tar.bz2
[svn-r15024] 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-xtools/h5repack/h5repack.sh.in11
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"