HDISPLAY

Display the contents of a primitive HDS object

Description:

This application outputs the contents of a specified primitive HDS data object of up to 7 dimensions, to a selected output.

A subset of the object (which may itself be a subset) may be specified. For integer data hex, octal or decimal formats may be chosen.

Usage:

hdisplay inp [dev] [slice=] [fmt=] [width=]

Parameters:

INP = UNIV
HDS data object to be displayed. <GLOBAL.HDSOBJ >
DEV = _CHAR (Read)
Output device (TERMINAL, PRINTER, OLDFILE, NEWFILE etc.). [TERMINAL]
SLICE = _CHAR
Description of data subset (range in 1st dimension {,range in 2nd dimension},{...}) eg. 5:10,1:5 for 2-D, 10:20 for 1-D. The range specifier for each dimension follows the same convention as the FORTRAN substring specifier so ":50" "20:" "5:10,:" are all valid. [ (whole object)]
FMT = _CHAR
A Fortran FORMAT string to be used for formatting numbers. [! (use an appropriate general format for the type)]
WIDTH = _INTEGER
Output page width. [! (Use width appropriate for device)]

Examples:

% hdisplay file.data_array
Display whole of specified array on terminal with default format.
% hdisplay img.quality dev=p slice=‘"100:120,250:300" fmt=z1
Outputs the specified slice of a quality array in hex format to the printer.
% hdisplay accept width=132
Outputs the current HDS object to the terminal with page width 132.