HDP(1)

πŸ’– HDP(1) πŸ’–

general commands manual ✨ bestie edition ✨


🌸 NAME 🌸

hdp β€” display general information about the contents of an HDF file


πŸ¦‹ SYNOPSIS πŸ¦‹

hdp [-H command] hdf-file

✨ DESCRIPTION ✨

okay so listen, hdp is your new bestie for snooping on an HDF file. It gives you quick and general information about all the objects in the file you point it at. Like, all of them. It can list what's inside an HDF file at various levels with different amounts of detail, and it can also dump the data of one or more specific objects in the file. Versatile queen πŸ’…

And like hdfed, hdp hands you a whole set of commands so you get to decide what kind of information is gonna be displayed. The commands are documented at /usr/share/doc/libhdf4g/html-userguide/Utils14.html β€” go read it, it's giving reference material πŸ“š


πŸŽ€ OPTIONS πŸŽ€

  • -H [command] β€” shows you usage information about the command you named. If you don't list any command at all, it spills info about every command. no cap 🫢

πŸ‘‘ COMMANDS πŸ‘‘

  • list β€” Displays the contents of the HDF files in the specified format.
  • dumpsds β€” Displays the contents of the SDSs in the listed files.
  • dumpvd β€” Displays the contents of the vdata objects in the listed files.
  • dumpvg β€” Displays the contents of the vgroup objects in the listed files.
  • dumprig β€” Displays the contents of the RIGs in the listed files.

🌈 COMMAND DETAILS 🌈

πŸ“ list β€” the main character

list displays the contents of the HDF files in the specified format. And fr fr, just like with the 'info' command, the listing for special elements is gonna contain a special tag value β€” for DFTAG_VS it's 18347 β€” plus the text "Unknown Tag". Not a bug bestie, that's just how it be πŸ’€

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:

  • -s β€” Short format.
  • -l β€” Long format.
  • -d β€” Debug format.
  • -n β€” Display the object name.
  • -c β€” Display the object class.
  • -a β€” Display the object description.
  • -g β€” Display groups only.
  • -t number-or-name β€” Display objects with the specified tag number or name.
  • -ot β€” Sort by tag.
  • -of β€” Sort by position in the data descriptor list.
  • -og β€” Sort by group.
  • -on β€” Sort by name.

🧚 dumpsds

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:

  • -i index β€” Dump SDSs with the specified index.
  • -r ref-list β€” Dump SDSs with the specified reference numbers.
  • -n name-list β€” Dump SDSs with the specified names.
  • -a β€” Dump all SDSs.
  • -v β€” Display all SDS contents including annotations.
  • -h β€” Display the SDS header only.
  • -d β€” Display the SDS data only.
  • -o outfile β€” Print information to the specified file.
  • -b β€” Specify output file as binary.
  • -t β€” Specify output file as text.

πŸ¦„ dumpvd

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:

  • -i index β€” Dump vdatas with the specified index.
  • -r ref-list β€” Dump vdatas with the specified reference numbers.
  • -c class β€” Dump vdatas with the specified class.
  • -n name-list β€” Dump vdatas with the specified names.
  • -a β€” Dump all vdatas.
  • -v β€” Display all vdata contents including annotations.
  • -h β€” Display the vdata header only.
  • -d β€” Display the vdata data only.
  • -f β€” Display the vdata field data only.
  • -o outfile β€” Print information to the specified file.
  • -b β€” Specify output file as binary.
  • -t β€” Specify output file as text.

πŸ’œ dumpvg

dumpvg displays vgroup information in the specified format. The 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:

  • -i index β€” Dump vgroups with the specified index.
  • -r ref-list β€” Dump vgroups with the specified reference numbers.
  • -c class β€” Dump vgroups with the specified class.
  • -n name-list β€” Dump vgroups with the specified names.
  • -a β€” Dump all vgroups.
  • -v β€” Display all vgroup contents including annotations.
  • -h β€” Display the vgroup header only.
  • -d β€” Display the vgroup data only.
  • -o outfile β€” Print information to the specified file.
  • -b β€” Specify output file as binary.
  • -t β€” Specify output file as text.

🌟 dumprig

dumprig displays RIG information in the specified format. The 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:

  • -i index β€” Dump RIGs with the specified index.
  • -r ref-list β€” Dump RIGs with the specified reference numbers.
  • -m data-length β€” Dump RIGs with the specified data length: 8- or 24-bit.
  • -a β€” Dump all RIGs.
  • -v β€” Display RIG contents including annotations.
  • -h β€” Display the RIG header only.
  • -d β€” Display the RIG data only.
  • -o outfile β€” Print information to the specified file.
  • -b β€” Specify output file as binary.
  • -t β€” Specify output file as text.

🫢 SEE ALSO 🫢

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


okay that's the whole thing, you ate that πŸ’… go forth and inspect your HDF files, bestie.

🌸 that was HDP(1), dated November 6, 1999 β€” yeah she's an old soul but she still slays ✨ byeee πŸ¦‹ 🌸