Format Description sarr/rarr:

A sarr-file is structured as in the following:

ELEMENT

    TYPE

DESCRIPTION

DIM

    1 * long integer

    Number of dimensions of the array

SIZE

    DIM * long integer

    Array sizes for each dimension

VAR

    1 * long integer

    Type of Array (1=byte, 2=int, 3=long, 4=float, 5=double, 6=complex, 9=double complex)

INFO

    80 * byte

    Comment string

ARRAY

    see above

    The array itself



You can download two short routines, written in IDL, to read and write sarr-files: