goorder −− changes the order of dimensions in a candis file
goorder index_field_1 index_field_2 ...
Goorder expects a candis file on the standard input. A modified file is sent to the standard output with elements of fields with 2 or more dimensions reordered to conform to the order of index fields listed on the command line. The order of occurence of index fields in the header is also changed to conform to this ordering, as is the order of dimensions in the header description of multi−dimensional fields. Fields with 0 or 1 dimensions are passed without change.
kestrel%goorder z y x < input_file > output_file