hdfls(1)

hdfls1

List basic information about an hdf file

Usage

hdfls [-o] [-l] [-d] [-v] [-g] [-s] [-h] [-t n] hdf_file

Overview

hdfls provides general information about the tags, reference numbers, and if requested, lengths of the data elements.

Options

-o

display the reference numbers in ascending order.

-l

long format. Display more information about the file.

-d

Display offset and length information for each element in the file.

-v

verbose. Display annotation and label text, along with the format triggered by the -l flag.

-g

Group. List items by group.

-s

Special elements. Display detailed information about special elements.

-d

Display offset and length information for each element in the file.

-h

Dump DD block information.

-t n

Tag. Only list information about the specified tag. Must be followed by a tag number.

Examples

A file called "aa.hdf" contains three items associated with a raster image; the image dimensions, a palette, and the raster image. To display information about the contents of this file, the following command is used.

hdfls aa.hdf

The following output is displayed:

        aa.hdf:
Image Dimensions-8:                     (Raster-8): (tag 200)
        Ref nos: 1
Image Palette-8:                        (Raster-8): (tag 201)
        Ref nos: 3
Raster Image-8:                 (Raster-8): (tag 202)
        Ref nos: 1

The following displays the same information with the length of each data element:

hdfls -l aa.hdf

This would result in the following information being displayed:

        aa.hdf:
        Image Dimensions-8:             (Raster-8)      : (tag 200)
        Ref no 1                4 bytes
        Image Palette-8:                (Raster-8)      : (tag 201)
        Ref no 3                768 bytes
        Raster Image-8:         (Raster-8)      : (tag 202)
        Ref no 1                120000 bytes

Releases

16 releases since Debian 1.3 (Bo); the text changed 3 times.

  1. 1.3–2.0
  2. 2.1
  3. 2.2
  4. 3.0–13

-d since Debian 3.0 (Woody); -g since Debian 3.0 (Woody); -h since Debian 3.0 (Woody); -l since Debian 3.0 (Woody); -o since Debian 3.0 (Woody); -s since Debian 3.0 (Woody); -v since Debian 3.0 (Woody).

-t until Debian 2.0 (Hamm).

From hdf4-tools 4.3.0-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.