## Licel Raw Data Format |

\noindent
The header lines (ASCII format) have a length of 80 characters, where the two last characters are `<CRLF>`

. The header lines are followed by the data in binary format.
The first header line contains the filename,

- which begins with a letter.
- two digits showing the years in the century
- the month (hexadecimal, one digit),
- the day (decimal, two digits),
- the hour (decimal, 24 hours per day, two digits),
- a period (.),
- the minute (decimal, two digits),
- the seconds (decimal, two digits),
- and the first 2 decimal places of the seconds (decimal, two digits).

- measurement site (8 characters),
- measurement start time (dd/mm/yyyy hh:mm:ss),
- measurement finish (dd/mm/yyyy hh:mm:ss),
- the altitude above sea level (four digits (meter)),
- the longitude (four digits (including - sign). one digit for decimal grades)
- the latitude (four digits (including - sign). one digit for decimal grades).
- the zenith angle (two digits in degrees)

- the number of laser shots of the type 1 laser (integer 7 digits),
- the repetition rate of the Type 1 laser (integer 5 digits),
- the number of laser shots of the type 2 laser (integer 7 digits),
- the repetition rate of the Type 2 laser (integer 5 digits)
- and the number of the following data sets (integer 2 digits) are given.
- the number of laser shots of the type 3 laser (integer 7 digits),
- the repetition rate of the Type 3 laser (integer 5 digits)

The header lines specific to the data sets contain:

- data set active (
`1/0`

). Non-active data sets will not be written. - photon counting I Analog (
`1/0`

) - laser type (
`1/2`

) - number of data points (5 digits)
- the number
`1`

- High voltage of the PM (V) (four digits in Volt)
- bin width (in meters four digits including decimal separator (.) and decimal places)
- wavelength (nm) in nm, five digits followed by a period (.)
- polarization status 0 - none p - parallel s - perpendicular
`0 0`

(backward compatibility)- bin shift, whole-number (primary bins, integer rounded down, 2 digits,
`00`

if not supported or zero) - decimal places of the bin shift (3 digits,
`000`

if not supported or zero) - the number of bits of the ADC (2 digits)
- the number of shots (6 digits)
- discriminator level or data range of the ADC (one digit period
`4/3`

digits) - device identificator
`BT`

analog dataset `BC`

photon counting `PD`

powermeter (photodiode) `PM`

powermeter (powermeter) `S2A`

`s sqrt(N(N-1))`

(analog,`s`

sample standard deviation,`N`

shots)`S2P`

`s sqrt(N(N-1))`

(photon counting,`s`

sample standard deviation,`N`

shots)

`<CRLF>`

and the 32 bit data sets which are
separated by a `<CRLF>`

. The data sets can be converted to quantities with physical units by using the number of shots and additionally the number of bits and the data range in case of the analog signal. This procedure is executed e.g. in `Advanced Viewer.exe`