For completeness sake, here is the HW Beta 2.0 format. As you can see the data set is not complete. There is for example no relative pressure. That would have to be determined by either reading the relative pressure from the console or by prompting the user for an offset from the abolute pressure.
HeavyWeather V2.0 beta La Crosse WS-2310 and WS-2315 weather stations
Each row of data is stored in 36 byte chunks starting from the beginning of the file (no header).
|00||ULong ||unknown||(Value is always 1)|
|04||ULong ||Timestamp||seconds from 1/1/1900 00:00:00 (GMT)|
|08||Float ||Abs Pressure||hectopascals (millibars)|
|12||Float ||Wind Speed||meters/second|
|16||ULong ||Wind Direction||see below|
|20||Float ||Total Rainfall||millimeters|
|24||Float ||Indoor Temp||Celsius|
|28||Float ||Outdoor Temp||Celsius|
|32||UWord ||Indoor Humidity||%|
|34||UWord ||Outdoor Humidity||%|
At the end of the file is an additional 28 bytes providing information about the dataset as a whole.
|04||Ulong ||unknown (0)|
|08||Float ||unknown (5.698)|
|12||ULong ||unknown (0)|
|16||ULong ||Number of rows|
|20||ULong ||Timestamp of the first row of data|
|24||ULong ||Timestamp of the last row of data|
Wind direction is encoded as an integer between 0 and 15. To get the wind direction in degrees, multiply the value by 22.5. To get compass directions (moving clockwise) 0 is North, 1 is North-Northeast, 2 is Northeast, etc…