next up previous contents
Next: Multiple Arrays in One Up: Some Applications of Binary Previous: Some Applications of Binary

5.2.4.1 Replacing Random Groups

As noted in section 3.2, the random groups structure of Greisen and Harten (1981) has been used only for transporting radio interferometry observations. The binary table structure with multidimensional arrays can be used to hold the exact same data as the random groups structure. Each parameters/array group corresponds to a row in the table. The parameters map into single-item fields and the array into a field with a multidimensional array. The names and other information describing the parameters would be in the table field headings. This format is more flexible than random groups. The parameters in the random groups format must be of the same data type (e.g., two-byte integer, double precision floating point) as the members of the array they precede. In a binary table, on the other hand, the data type of the fields containing the parameters does not have such a restriction.