diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2010-05-25 20:29:36 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2010-05-25 20:29:36 (GMT) |
commit | fdaeddcdcd5191f6cd5b4febf65280a8a68faaeb (patch) | |
tree | a9975b5d8abe7784202dd6c9cef22a2deb738041 /tools/testfiles/tpbitsOffsetNegative.ddl | |
parent | 0ee8e4c7ad3012edf3b501c0eeb2ede3c6f0af7e (diff) | |
download | hdf5-fdaeddcdcd5191f6cd5b4febf65280a8a68faaeb.zip hdf5-fdaeddcdcd5191f6cd5b4febf65280a8a68faaeb.tar.gz hdf5-fdaeddcdcd5191f6cd5b4febf65280a8a68faaeb.tar.bz2 |
[svn-r18892] Improvment:
Revised the online help page of h5dump to explain the packed bits feature and
added an example too.
Tested: h5committest plus jam tested with --disable-h5dump-packedbits.
Diffstat (limited to 'tools/testfiles/tpbitsOffsetNegative.ddl')
-rw-r--r-- | tools/testfiles/tpbitsOffsetNegative.ddl | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tools/testfiles/tpbitsOffsetNegative.ddl b/tools/testfiles/tpbitsOffsetNegative.ddl index b514bca..af22bd3 100644 --- a/tools/testfiles/tpbitsOffsetNegative.ddl +++ b/tools/testfiles/tpbitsOffsetNegative.ddl @@ -28,8 +28,12 @@ usage: h5dump [OPTIONS] file -m T, --format=T Set the floating point output format -q Q, --sort_by=Q Sort groups and attributes by index Q -z Z, --sort_order=Z Sort groups and attributes by order Z - -M M, --packedbits=M Print packed bits using mask format M for dataset P given - in option d. Where M is (offset,length)[,(offset,length)]. + -M L, --packedbits=L Print packed bits as unsigned integers, using mask + format L for an integer dataset specified with + option -d. L is a list of offset,length values, + separated by commas. Offset is the beginning bit in + the data value and length is the number of bits of + the mask. -R, --region Print dataset pointed by region references -x, --xml Output in XML using Schema -u, --use-dtd Output in XML using DTD @@ -69,8 +73,6 @@ usage: h5dump [OPTIONS] file -d (dataset) is used. B is an optional argument, defaults to NATIVE Q - is the sort index type. It can be "creation_order" or "name" (default) Z - is the sort order type. It can be "descending" or "ascending" (default) - M - is a paired list of integers the first number of which is the offset and the - second number is the length of the its being queried Examples: @@ -87,4 +89,8 @@ usage: h5dump [OPTIONS] file h5dump -d /dset -b LE -o out.bin quux.h5 + 4) Display two packed bits (bits 0-1 and bits 4-6) in the dataset /dset + + h5dump -d /dset -M 0,1,4,3 quux.h5 + h5dump error: Bad mask list(-1,1) |