Scroll to navigation

HDP(1) General Commands Manual HDP(1)

NAME

hdp - display general information about the contents of an HDF file

SYNOPSIS

hdp [-H command] hdf-file

DESCRIPTION

hdp provides quick and general information about all objects in the specified HDF file. It can list the contents of HDF files at various levels with different details. It can also dump the data of one or more specific objects in the file.

Like hdfed, hdp provides a set of commands that allow the user to determine what kind of information is to be displayed. The commands are documented in /usr/share/doc/libhdf4g/html-userguide/Utils14.html.

OPTIONS

Display usage information about the specified command. If no command is listed, information about all commands is displayed.

COMMANDS

Displays the contents of the HDF files in the specified format.
Displays the contents of the SDSs in the listed files.
Displays the contents of the vdata objects in the listed files.
Displays the contents of the vgroup objects in the listed files.
Displays the contents of the RIGs in the listed files.

COMMAND DETAILS

list displays the contents of the HDF files in the specified format. As with the 'info' command, the listing for special elements will contain a special tag value (for DFTAG_VS it's 18347) and the text "Unknown Tag". The list command has the following syntax:

list [-s|-l|-d] [-n|-c|-a] [-g|-t number-or-name] [-ot|-of|-og|-on] message

The list command accepts these options:

Short format.
Long format.
Debug format.
Display the object name.
Display the object class.
Display the object description.
Display groups only.
Display objects with the specified tag number or name.
Sort by tag.
Sort by position in the data descriptor list.
Sort by group.
Sort by name.

dumpsds displays SDS information in the specified format. The dumpsds command has the following syntax:

dumpsds [-i index | -r ref-list | -n name-list | -a] [-v|-h|-d] [-o filename | -b | -t]

dumpsds accepts these options:

Dump SDSs with the specified index.
Dump SDSs with the specified reference numbers.
Dump SDSs with the specified names.
Dump all SDSs.
Display all SDS contents including annotations.
Display the SDS header only.
Display the SDS data only.
Print information to the specified file.
Specify output file as binary.
Specify output file as text.

dumpvd displays vdata information in the specified format. The dumpvd command has this syntax:

dumpvd [-i index | -r ref-list | -n name-list | -c class | [-a] [-v|-h|-f|-d] [-o filename | -b | -t]

dumpvd accepts these options:

Dump vdatas with the specified index.
Dump vdatas with the specified reference numbers.
Dump vdatas with the specified class.
Dump vdatas with the specified names.
Dump all vdatas.
Display all vdata contents including annotations.
Display the vdata header only.
Display the vdata data only.
Display the vdata field data only.
Print information to the specified file.
Specify output file as binary.
Specify output file as text.

dumpvg displays vgroup information in the specified format. dumpvg command has this syntax:

dumpvg [-i index | -r ref-list | -n name-list | -c class | [-a] [-v|-h|-d] [-o filename | -b | -t]

dumpvg accepts these options:

Dump vgroups with the specified index.
Dump vgroups with the specified reference numbers.
Dump vgroups with the specified class.
Dump vgroups with the specified names.
Dump all vgroups.
Display all vgroup contents including annotations.
Display the vgroup header only.
Display the vgroup data only.
Print information to the specified file.
Specify output file as binary.
Specify output file as text.

dumprig displays RIG information in the specified format. dumprig command has this syntax:

dumprig [-i index | -r ref-list | -m <8, 24> | [-a] [-v|-h|-d] [-o filename | -b | -t]

dumprig accepts these options:

Dump RIGs with the specified index.
Dump RIGs with the specified reference numbers.
Dump RIGs with the specified data length: 8- or 24-bit.
Dump all RIGs.
Display RIG contents including annotations.
Display the RIG header only.
Display the RIG data only.
Print information to the specified file.
Specify output file as binary.
Specify output file as text.

SEE ALSO

hdfed(1), hdf(5), /usr/share/doc/libhdf4g/html-userguide/Utils14.html.

November 6, 1999