...
The parser seeks the position in the header file where the variables are defined. This section always starts with 'Data file format' and a separator line. The next line contains the reference to the data file. The parser will ignore the specified the absolute file path but only scan whether the extension .dat or .sen has been provided. After that The lines following the path describe the columns in the data file are described. The following sample illustrates a piece of a typical header section. Each line contains a 1-based column index, followed by the header name, and finally the unit. The parser expected expects fixed column-lengths in this case.
| Code Block |
|---|
Data file format --------------------------------------------------------------------- [D:\easyQ\dataeasyq\KLV.dat] 1 Month (1-12) 2 Day (1-31) 3 Year 4 Hour (0-23) 5 Minute (0-59) 6 Second (0-59) 7 VariableX (m/s) .. ... ... --------------------------------------------------------------------- [D:\easyQ\dataeasyq\KLV.sen] 1 Month (1-12) 2 Day (1-31) 3 Year 4 Hour (0-23) 5 Minute (0-59) 6 Second (0-59) |
...