OnWorks favicon

hdfed - Online in the Cloud

Run hdfed in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hdfed that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



hdfed - edit the contents of an HDF File


hdfed [-nobackup] [-batch] hdf_file


hdfed allows experienced HDF users to manipulate the elements of an HDF file. 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.
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.

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

* 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.


Make no backup file. If this option is omitted, a backup file is automatically

-batch Input to hdfed is a stream of hdfed commands, rather than interactively. The
-batch flag 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
hdfed -batch $file -nobackup << EOF
info -all group $*
echo ""

-help Output usage information, as well as a quick list of the hdfedj commands.

Use hdfed online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands