For the specified ADAM data-system object (
) there are three
cases which are handled:
1)
is a primitive object. The value, or the first and
last few values of
are listed.
2)
is a structure. The contents of the structure are
listed. If a component is encountered which is itself a
structure then its contents are listed down to a level of six
nested structures.
3)
is an array of structures. All elements will be listed
if parameter FULL is set to TRUE; only the first element will
be listed when parameter FULL is set to FALSE (default).
Listings are in the following order: name; dimensions, if any; type; and value or comment. Comments are enclosed in braces.
The values are normally listed at the end of each line, but may start on a new line. The maximum number of lines of data values may also be set. For all but the smallest arrays where the values of all elements can be displayed in the space provided, the last few values in the array as well as the first few are presented. The last few values appear on a new line, indented the same as the line above with the ellipsis notation to indicate any missing values. Note the number of elements shown depends on the number of characters that will fit on the line. The ellipsis notation is also used for long character values where there is only room to show the first and last few characters. Bad values appear as asterisks.
The exact layout may be adjusted and is controlled by four additional parameters: a) the indentation of the type string with respect to the beginning of the name string; b) indentation of the value(s) (if not on a new line) with respect to the beginning of the type string; and c) the width of the output, 80 or 132. If the name and dimensions do not fit within the space given by parameters a) and b), the alignment will be lost because at least two spaces will separate the name from the type, or the type from the value(s). The fourth parameter defines how character arrays are arranged. The default is that character-array elements are concatenated to fill the available space delimited by commas. The alternative is to write the value of each element on a new line. This improves readability for long strings.
HDSTRACE --- Listing HDS Data Files