Generic File Format defenition

A sample header of the photo data is displayed below:

01    '# HD LINES',20
02    'FORMAT VERS',3.0
03    'DATA VERS',1.0
04    'INS NAME','Cloud Photo camera'
05    'LAT/LON',51.971,4.927
06    'ELEV',0100,'m'
07    'START',1996:4:17,7:31:30
08    'STOP',1996:4:17,11:45:37
09    'DIM',3
10    'DATA LINES', 29700
11    'U INFO',297,7.525,11.760,'Time','Hrs (UTC)',0
12    'V INFO',100,-30,30,'alpha angel','o'
13    'W INFO',100,-30,30,'beta angel','o'
14    '# VAR TYPES',1
15    'Intensity','W/m2',256
16    %% BEGIN COMMENTS
17    Data measured with camera.
18    We would appreciate it if you would contact us when using this data.
19    Thanks
20    %% END OF HEADER
21    -30 -29.4 -28.8 -28.2 ...etc.
22    7.52642202 -30 1.286 2.364 ...data
23    7.52642202 -29.4 1.486 3.019 ...data

01:         The number header lines including line 01
02:         Header format version; now version number 3.0 while it includes the new header lines called 'Dim' and 'DATA LINES'
03:         Data version
04:         Instrument name
05:  Latitude and longitude of the instrument, if not relevant 0, 0
06:         Elevation of the instrument above the ground
07:         Starting date and time of the data
08:         Ending date and time of the data
09:         The dimension of the data
10:         The number of datalines (excluding Y info line 19)
11:         Info about the time axis of the data: number of timeperiods
              start time, stop time (both decimal), 'Time', 'hrs(UTC)'
12-13:         Info about the data: number of data bins, starting value, ending value,
             'variable name', 'unit'
14:         The number of variables used in the data
15:         Description of the variable: 'name', 'unit', number of columns
16:         Line marking the beginning of the comment lines
17 - 19:  Comment lines
20:         Line marking the end of the header, lines hereafter are not included in the header line count
21:         last dimensin data bins
22-23:         Following the lines of decimal time, second dimension and variable data