THIS 22.1

APPENDIX C - T/HIS Bulk Data File Format

APPENDIX C - T/HIS BULK DATA FILE FORMAT

Format of a T/HIS Bulk Data File.

A bulk data file contains a number of curves that share the same X values.

The format of the file is as follows:

Line 1 : Title
Line 2 : Number of curves (maximum 12)
Line 3 : Format, see Note 1 below
Line 4 : Multipliers on values, see Note 2 below
Line 5 : Axis labels, see Note 3 below
Line 6 : Line labels, see Note 4 below
Line 7 : X, Y1, Y2, Y3 ...... point 1
Line 8 : X, Y1, Y2, Y3 ...... point 2
Line n+6 : X, Y1, Y2, Y3 ...... point n

Up to 500000 points can be read in for each curve.

Note 1 The format for the point data must be given as a standard Fortran format statement, for example (F10.3, 4F10.2). The external brackets around the format must be included. If the data can be read in as a free format then type FREE or leave this line blank. Note however, free data is read in more slowly than formatted data.
Note 2 The multipliers are the amount by which the values read in are to be multiplied. For example you may wish to correct from ms to s or units of G (gravity) to mm/s 2 . On this line give the multipliers in the order X-value, Y1-value, Y2-value, etc. Separate each multiplier by a space or comma. A zero value is assumed to be 1. If all curves are to be read in as defined leave this line blank.
Note 3 The axis labels are character strings, separated by commas given in the following order. X-axis label, Y1-axis label, Y2-axis label, etc.
Note 4 The line labels are character strings separated by commas given in the following order. Line label 1, Line label 2, Line label 3, etc.

A comment line may be included any where in the file by starting the line with a $ .

The following shows a bulk data file with three curves and seven points on each curve.

$ Comment line
Title of the curves
3
FREE
$ A multiplier of 10 on X values and 5 on Y2 values

10,,5,

x-axis,y1-axis,y2-axis,y3-axis
curve 1,curve 2,curve 3
$ Now for the data
0.0 0.0 1.0 2.0
1.0 1.0 3.0 4.0
2.0 2.0 4.0 5.0
2.4 4.4 5.5 7.4
3.3 7.8 5.8 9.2
4.4 10.0 12.0 13.0