IBM Books

IBM PE for AIX V2R4.0: Operation and Use, Vol. 2, Part 1


Appendix C. Exporting Arrays to Hierarchical Data Format (HDF)

HDF is a multi-object data format from the National Center of Excellence in Supercomputing Applications (NCSA), which is used for scientific and visualization data. Pedb uses HDF (version 3.3) as the data format for exporting arrays in both the array export and visualization features. See "Exporting Array Information to File" and "Visualizing Program Arrays" for more information.

HDF supports a variety of object types within a file. Pedb exports array information using the Scientific Data Set (SDS) type plus additional array attributes. If you are exporting more than one array to the export file concurrently, pedb will create one SDS for each array.

The following tables list the attributes written to the HDF file by pedb.

The first table gives dimension attributes; one for each dimension of each SDS.

Table 15. Array attributes defined by pedb
Name

Type

Values

Description

Label

Dimension

Any string (no default)

Label that describes this dimension

Units

Dimension

Any string (no default)

Units to be used with this dimension

Format

Dimension

Any string (no default)

Format to be used to display scale

The next table gives SDS attributes; one for each SDS.

Table 16. Array attributes defined by pedb
Name

Type

Values

Description

Variable Name

File

Any string (defaults to
 
the array declaration)

This is the string defined by the
 
user on the Export Dialog window

Language_Type

SDS

"C" or "F77"

The source language from which the
 
array was exported

Datetime

SDS

32-bit signed integer

The time the SDS was created

Bele

SDS

Always 1 ( Big Endian = 1 ,
 
Little Endian = 0)

Big Endian or Little Endian

Attached_ID

SDS

-1  (always)

Reserved - not used

SamplingFormat

SDS

1  (always)

Reserved - not used

Attach_Type

SDS

"RS6000"

String indicating processor type

Task_ID

SDS

32-bit signed integer

Task id of the task where the
 
array was exported

Process_ID

SDS

32-bit signed integer

Process id of the task where the
 
array was exported

Host

SDS

<hostname string>

String name of the host where the

 
 
array was exported

SamplingStart

SDS

32-bit signed integer(s)

An array of minimum values of the
 
subrange for each dimension

SamplingStride

SDS

32-bit signed integer(s)

An array of strides of the subrange
 
for each dimension

SamplingEnd

SDS

32-bit signed integer(s)

An array of maximum values of the
 
subrange for each dimension

BaseMinimum

SDS

32-bit signed integer(s)

An array of the base minimum of the
 
subrange for each dimension.

BaseMaximum

SDS

32-bit signed integer(s)

An array of the base maximum of the
 
subrange for each dimension

MemAddress

SDS

32-bit signed integer

The base address of the array that
 
was exported


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]