HDFED(1)
π HDFED(1) β the manual page bestie π
okay so this is HDFED(1), from the General Commands Manual section of your local man pages, and she is giving "I edit HDF files at the element level and I have zero chill about it." Let's go. π¦
β¨ NAME β¨
hdfed β edit the contents of an HDF File
πΈ SYNOPSIS πΈ
hdfed [-nobackup] [-batch] hdf_file
π DESCRIPTION π
hdfed lets experienced HDF users manipulate the elements of an HDF file. Like, literally rearrange its whole inner life. These manipulations include:
- Selecting groups and showing information about them.
- Dumping group information to output files.
- Writing group data to output files.
- Deleting groups from HDF files.
- Inserting groups in HDF files.
- Replacing elements of HDF files.
- Editing the labels and descriptions of any element in an HDF file.
hdfed is designed primarily for users who need to know about HDF files at the level of individual data elements. It is not designed to provide a comprehensive high-level view of the contents of an HDF file β other tools and utilities should be used for that purpose. So don't come at her asking for the big picture, bestie, that's not her job. To use hdfed one should be familiar with the components of an HDF file covered in the HDF Specifications manual.
The hdfed utility is loosely modeled on ed(1), the UNIX line editor. When hdfed is invoked, it prompts the user for commands, as does ed. Also, basic command syntax and description information is available to the user through hdfed. The most common hdfed commands are used to control the position in the HDF file and the format of the information provided. very demure, very ed-core.
The initial view of the file under hdfed consists of a set of tag/reference number pairs. Although hdfed allows modification of tags and reference numbers within strict constraints, it will not allow the user to arbitrarily modify binary data in the file. π«
The following terms and concepts must be understood in order to use hdfed correctly and will be used in the following discussion about hdfed:
- The data object or object refers to an HDF data object and the data descriptor of that object. (i.e., tags, reference numbers, offsets, or lengths.)
- The data or data element refers to the record that the data descriptor points to. For a precise definition of the data that is associated with a given tag consult the HDF Specifications and Developer's Guide v3.2 from the HDF WWW home page at
http://hdf.ncsa.uiuc.edu/. - The group refers to a predefined collection of data objects that correspond to a particular application. For example, a raster image group refers to the collection of objects that are used to store all of the information in a raster image set.
Once an HDF file has been opened by hdfed, the following operations can be performed on the data file, among others:
- Select an HDF object to examine more closely.
- Move forward or backward within the HDF file.
- Get information about an object. (tag, reference number, size, label)
- Display a raster image using the ICR protocol.
- Display the contents of any object.
- Delete an object.
- Annotate an object with a label or description.
- Write an object to a second HDF file.
- Write data elements in binary form to a non-HDF file.
- Close the file and exit, or open a new file.
hdfed commands are documented in the Users Guide section on Command-line Utilities. π
β¨ OPTIONS β¨ (the flags, the whole flags, and nothing but the flags)
-nobackupβ Make no backup file. If this option is omitted, a backup file is automatically created. π«Ά (yes girl, she's protective like that by default.)-batchβ Input tohdfedis a stream ofhdfedcommands, rather than interactively. The-batchflag is useful when a group of commonly-used commands are included in a UNIX shell script. The following is an example of such a script, using the C-shell, that lists information about the groups in a specified HDF file.
#!/bin/csh -f
set file=$1
shift
hdfed -batch $file -nobackup << EOF
info -all group $*
close
quit
EOF
echo ""
-helpβ Output usage information, as well as a quick list of thehdfedjcommands.
π¦ SEE ALSO π¦
hdf(5)ed(1)- The HDF Users Guide:
/usr/share/doc/libhdf4g/html-userguide/Utils2.html#33.
ngl bestie, if you're poking at individual data elements and tag/reference pairs, this is your girl. If you wanted a pretty high-level tour of your HDF file... wrong tool, no cap, go find another utility. π
and that's the whole page, fr fr β this one comes from the HDFED(1) source, dated October 31, 1999. 1999 said "let me invent a whole editor" and honestly? she ate. β¨πππ¦πΈπ
π¦ where this page comes from
- debian bookworm: hdf4-tools 4.2.15-5 Β· HDF4
- debian trixie: hdf4-tools 4.3.0-1+b1 Β· HDF4
- ubuntu jammy: hdf4-tools 4.2.15-4 Β· HDF4
- ubuntu noble: hdf4-tools 4.2.16-4build1 Β· HDF4
- ubuntu questing: hdf4-tools 4.3.0-1
- ubuntu resolute: hdf4-tools 4.3.1-2 Β· HDF4
- ubuntu stonking: hdf4-tools 4.3.1-3 Β· HDF4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms