diff --git a/doc/html/Tools.html b/doc/html/Tools.html index 5a2d3d8732..13fd62e4d6 100644 --- a/doc/html/Tools.html +++ b/doc/html/Tools.html @@ -1,959 +1,745 @@ - -
- - -
+Introduction to HDF5 +HDF5 User Guide +Other HDF5 documents and links + + |
+
+And in this document, the
+HDF5 Reference Manual
+ +H5 +H5A +H5D +H5E +H5F +H5G +H5I +H5P + +H5R +H5S +H5T +H5Z +Tools +Datatypes + |
- Introduction to HDF5 - HDF5 User Guide - Other HDF5 documents and links - - |
-
-
- And in this document, the HDF5 Reference Manual - H5 - H5A - H5D - H5E - H5F - H5G - H5I - H5P - - - - H5R - H5S - H5T - H5Z - Tools - Datatypes - |
-
These tools enable the user to examine HDF5 files interactively. -
-
|
-
+
|
+
-The h5dump tool enables the user to interactively examine the -contents of an HDF5 file and dump those contents, in human readable form, -to an ASCII file. Optionally, the contents of the file may be dumped as -XML. -
- --h5dump dumps an HDF5 file's contents to standard output. It can -display the contents of the whole HDF5 file or selected objects, which -can be groups, datasets, a subset of a dataset, links, attributes, or -data types. -
- --The --header option displays object header information only. -
- --Names are the absolute names of the objects. h5dump displays -objects in the same order as given on the command line. If a name does -not start with a slash (/), h5dump begins searching for the -specified object starting at the root group. -
- --If an object is hard linked with multiple names, h5dump displays -the contents of the object in the first occurrence. Only the link -information is displayed in later occurrences. -
- --h5dump assigns a name for any unnamed data type in the form of -#oid1:oid2, where oid1 and -oid2 are the object identifiers assigned by the library. The -unnamed types are displayed within the root group. -
- --Data types are displayed with standard type names. For example, if a data -set is created with H5T_NATIVE_INT type and the standard type -name for integer on that machine is H5T_STD_I32BE, -h5dump displays H5T_STD_I32BE as the type of the data -set. -
- --h5dump can also be used to dump a subset of data from a dataset. -It operates in much the same way that hyperslabs do in the HDF5 library. -The parameters specified on the command line are passed to the -H5Sselect_hyperslab -function and the resulting selection is then displayed. -
- --The h5dump output is described in detail in the DDL for HDF5, the Data Description -Language document. -
- --Note: It is no longer permissable to specify multiple attributes, -datasets, data types, groups, or soft links with one flag. For example, -before one could issue the command: -
- -- h5dump -a /attr1 /attr2 foo.h5 -- -
-and both /attr1 and /attr2 would be dumped. In order to -do this now, one must issue the command: -
- -- h5dump -a /attr1 -a /attr2 foo.h5 -- -
-The --xml option selects output in XML. The XML output contains -a complete description of the file, marked up in XML. The XML conforms to -the HDF5 Document Type Definition (DTD), which is available at: -
- - - --The XML output is suitable for use with other tools, including the HDF5 Java Tools. -
- --Subsetting parameters can be specified in a convenient compact format. -The format is: -
- -- --dataset="/foo/mydataset[START;STRIDE;COUNT;BLOCK]" -- -
-All of the semicolons (;) are required to be there even if you don't -specify a value for the parameter (thereby using the default value). -
- -h5dump
+ [
OPTIONS]
file
+h5dump
enables the user to interactively examine
+ the contents of an HDF5 file and dump those contents, in human
+ readable form, to an ASCII file.
+
+ h5dump
dumps HDF5 file content to standard output.
+ It can display the contents of the entire HDF5 file or
+ selected objects, which can be groups, datasets, a subset of a
+ dataset, links, attributes, or datatypes.
+
+ The --header
option displays object header
+ information only.
+
+ Names are the absolute names of the objects. h5dump
+ displays objects in the order same as the command order. If a
+ name does not start with a slash, h5dump
begins
+ searching for the specified object starting at the root group.
+
+ If an object is hard linked with multiple names,
+ h5dump
displays the content of the object in the
+ first occurrence. Only the link information is displayed in later
+ occurrences.
+
+ h5dump
assigns a name for any unnamed datatype in
+ the form of
+ #
oid1:
oid2, where
+ oid1 and oid2 are the object identifiers
+ assigned by the library. The unnamed types are displayed within
+ the root group.
+
+ Datatypes are displayed with standard type names. For example,
+ if a dataset is created with H5T_NATIVE_INT
type
+ and the standard type name for integer on that machine is
+ H5T_STD_I32BE
, h5dump
displays
+ H5T_STD_I32BE
as the type of the dataset.
+
+ h5dump
can also dump a subset of a dataset.
+ This feature operates in much the same way as hyperslabs in HDF5;
+ the parameters specified on the commnd line are passed to the
+ function
+ H5Sselect_hyperslab
and the resulting selection
+ is displayed.
+
+ The h5dump
output is described in detail in the
+ DDL for HDF5, the
+ Data Description Language document.
+
+ Note: It is not permissable to specify multiple
+ attributes, datasets, datatypes, groups, or soft links with one
+ flag. For example, one may not issue the command
+
+
+ WRONG:
+ h5dump -a /attr1 /attr2 foo.h5
+
+ to display both /attr1
and /attr2
.
+ One must issue the following command:
+
+
+ CORRECT:
+ h5dump -a /attr1 -a /attr2 foo.h5
+
+
+
--xml
option, h5dump
generates
+ XML output. This output contains a complete description of the file,
+ marked up in XML. The XML conforms to the HDF5 Document Type
+ Definition (DTD) available at
+
+ http://hdf.ncsa.uiuc.edu/DTDs/HDF5-File.dtd
.
+ + The XML output is suitable for use with other tools, including the + HDF5 Java Tools. + +
-h
or
+ --help
-B
or
+ --bootblock
-H
or
+ --header
-i
or
+ --object-ids
-V
or
+ --version
-a P
or
+ --attribute=P
-d P
or
+ --dataset=P
-g P
or
+ --group=P
-l P
or
+ --soft-link=P
-o F
or
+ --output=F
-t T
or
+ --datatype=T
-w N
or
+ --width=N
-x U
or
+ --xml
-D U
or
+ --xml-dtd=U
-s L
or
+ --start=L
-S L
or
+ --stride=L
-c L
or
+ --count=L
-k L
or
+ --block=L
--dataset="/foo/mydataset[START;STRIDE;COUNT;BLOCK]"
+ ;
) are required, even when
+ a parameter value is not specified.
+ When not specified, default parameter values are used.
+ + + +
- h5dump -g /GroupFoo/GroupBar quux.h5 -- -
- h5dump -d /GroupFoo/GroupBar/Fnord quux.h5 -- -
- h5dump -a /GroupFoo/GroupBar/Fnord/metadata quux.h5 -- -
- h5dump -a /metadata quux.h5 -- -
- h5dump --xml bobo.h5 > bobo.h5.xml -- -
- h5dump -d /GroupFoo/databar --start="1,1" --stride="2,3" --count="3,19" --block="1,1" quux.h5 -- -
- h5dump -d "/GroupFoo/databar[1,1;2,3;3,19;1,1]" quux.h5 -+
/GroupFoo/GroupBar
in the file
+ quux.h5
:
+
+ h5dump -g /GroupFoo/GroupBar quux.h5
+
+ Fnord
in the group
+ /GroupFoo/GroupBar
in the file quux.h5
:
+
+ h5dump -d /GroupFoo/GroupBar/Fnord quux.h5
+
+ metadata
of the dataset
+ Fnord
which is in group
+ /GroupFoo/GroupBar
in the file quux.h5
:
+
+ h5dump -a /GroupFoo/GroupBar/Fnord/metadata quux.h5
+
+ metadata
which is an
+ attribute of the root group in the file quux.h5
:
+
+ h5dump -a /metadata quux.h5
+
+ bobo.h5
:
+
+ h5dump --xml bobo.h5 > bobo.h5.xml
+
+ /GroupFoo/databar/
+ in the file quux.h5
+
+ h5dump -d /GroupFoo/databar --start="1,1" --stride="2,3"
+
+ --count="3,19" --block="1,1" quux.h5
+
+
+ h5dump -d "/GroupFoo/databar[1,1;2,3;3,19;1,1]" quux.h5
+
h5dump
displays the
+ following information:
+ h5ls
+ [
OPTIONS]
+ file
+ [
OBJECTS...]
+h5ls
prints selected information about file objects
+ in the specified format.
+-h
or
+ -?
or
+ --help
+ -a
or
+ --address
+ -d
or --data
+ -e
or
+ --errors
+ -f
or
+ --full
+ -g
or
+ --group
+ -l
or
+ --label
+ -r
or
+ --recursive
+ -s
or
+ --string
+ -S
or
+ --simple
+ -w
N or
+ --width=
N
+ -v
or
+ --verbose
+ -V
or
+ --version
+ -x
or
+ --hexdump
+ %%05d
to open a file family.
+ printf(3C)
integer format such
+ as "%05d" to open a file family.
+
-
-
-
Sizes associated with the -b and -m options may be -suffixed with g for gigabytes, m for megabytes, or -k -for kilobytes. -
File family names include an integer printf format such as -%d. -
-
-
-
If only one file name is given, the name must end in .h5 and -is assumed to represent the HDF5 input file. h5toh4 replaces the -.h5 -suffix with .hdf to form the name of the resulting HDF4 file and -proceeds as above. If a file with the name of the intended HDF4 file already -exists, h5toh4 exits with an error without changing the contents -of any file. -
The -m option allows multiple HDF5 file arguments. Each file -name is treated the same as the single file name case above. -
The -h option causes the following syntax summary to be displayed: -
h5toh4 file.h5 file.hdf - h5toh4 file.h5 - h5toh4 -m file1.h5 file2.h5 ...-The following HDF5 objects occurring in an HDF5 file are converted to HDF4 -objects in the HDF4 file: -
Attributes associated with any of the supported HDF5 objects are carried -over to the HDF4 objects. Attributes may be of integer, floating point, -or fixed length string datatype and they may have up to 32 fixed dimensions. -
All datatypes are converted to big-endian. Floating point datatypes -are converted to IEEE format. -
-
-
-
If no output file h5file is specified, h4toh5 uses the -input filename to designate the output file, replacing the extension -.hdf -with .h5. For example, if the input file scheme3.hdf -is specified with no output filename, h4toh5 will name the output -file scheme3.h5. -
The --h -option causes a syntax summary similar to the following to be displayed: -
h4toh5 inputfile.hdf outputfile.h5 - h5toh4 inputfile.hdf-Each object in the HDF4 file is converted to an equivalent HDF5 object, -according to the mapping described in Mapping -HDF4 Objects to HDF5 Objects. (If this mapping changes between -HDF5 Library releases, a more up-to-date version may be available at Mapping -HDF4 Objects to HDF5 Objects on the HDF FTP server.) -
In this inital version, h4toh5 converts the following HDF4 -objects: -
HDF4 Object | + Sizes associated with theResulting HDF5 Object | -
---|---|
SDS | - -Dataset | -
GR, RI8, and RI24 image | - -Dataset | -
Vdata | - -Dataset | -
Vgroup | - -Group | -
Annotation | - -Attribute | -
Palette | - -Dataset | -
-v
+ -V
+ -b
N
+ -m
N
+ h5toh4 -h
h5toh4
h5file
h4fileh5toh4
h5fileh5toh4 -m
+ h5file1
+ h5file2
+ h5file3 ...
+h5toh4
is an HDF5 utility which reads
+ an HDF5 file, h5file, and converts all
+ supported objects and pathways to produce an HDF4 file,
+ h4file. If h4file already exists,
+ it will be replaced.
+
+ If only one file name is given, the name must end in
+ .h5
and is assumed to represent the
+ HDF5 input file. h5toh4
replaces the
+ .h5
suffix with .hdf
to form
+ the name of the resulting HDF4 file and proceeds as above.
+ If a file with the name of the intended HDF4 file already
+ exists, h5toh4
exits with an error without
+ changing the contents of any file.
+
+ The -m
option allows multiple HDF5 file
+ arguments. Each file name is treated the same as the
+ single file name case above.
+
+ The -h
option causes the following
+ syntax summary to be displayed:
+
h5toh4 file.h5 file.hdf + h5toh4 file.h5 + h5toh4 -m file1.h5 file2.h5 ...+ +
+ + The following HDF5 objects occurring in an HDF5 file are + converted to HDF4 objects in the HDF4 file: + +
+ Attributes associated with any of the supported HDF5 + objects are carried over to the HDF4 objects. + Attributes may be of integer, floating point, or fixed length + string datatype and they may have up to 32 fixed dimensions. +
+ All datatypes are converted to big-endian. + Floating point datatypes are converted to IEEE format. + + +
-h
+ -m
+ h4toh5 -h
h4toh5
+ h4file
+ h5fileh4toh5
+ h4fileh4toh5
is a file conversion utility that reads
+ an HDF4 file, h4file (input.hdf
for example),
+ and writes an HDF5 file, h5file (output.h5
+ for example), containing the same data.
+
+ If no output file h5file is specified,
+ h4toh5
uses the input filename to designate
+ the output file, replacing the extension .hdf
+ with .h5
.
+ For example, if the input file scheme3.hdf
is
+ specified with no output filename, h4toh5
will
+ name the output file scheme3.h5
.
+
+
+ The -h
option causes a syntax summary
+ similar to the following to be displayed:
+
h4toh5 inputfile.hdf outputfile.h5 + h5toh4 inputfile.hdf+
+ Each object in the HDF4 file is converted to an equivalent + HDF5 object, according to the mapping described in + + Mapping HDF4 Objects to HDF5 Objects. + (If this mapping changes between HDF5 Library releases, a more up-to-date + version may be available at + + Mapping HDF4 Objects to HDF5 Objects on the HDF FTP server.) +
+ In this inital version, h4toh5
converts the following
+ HDF4 objects:
+
+ HDF4 Object + | + Resulting HDF5 Object + |
---|---|
+ SDS + | + Dataset + |
+ GR, RI8, and RI24 image + | + Dataset + |
+ Vdata + | + Dataset + |
+ Vgroup + | + Group + |
+ Annotation + | + Attribute + |
+ Palette + | + Dataset + |
-h
+ Introduction to HDF5
- HDF5 User Guide - Other HDF5 documents and links - |
-
-And in this document, the HDF5
-Reference Manual
- H5 H5A -H5D -H5E -H5F H5G - -H5I H5P - H5R H5S -H5T -H5Z Tools Datatypes |
-