Weather Software > Heavy Weather by LaCrosse Technologies

WS2810 History.dat format


The Missing Link:
Found the file-format somewhere a while back but it's not 100% correct. I have and error in total rainfall value and I miss the Dewpoint and Windchill data.

Who can provide me with the right syntax and/or the missing pieces of the puzzle?


Is it the same format as the Heavyweather Pro (WS-36xx)?

Do you have a link to the description you have?

Miami Sky:
Hi - I just discovered this topic and was wondering if anyone had been able to find the proper format of the Heavyweather Pro 1.5.4 history.dat file documented anywhere?  I have been trying to write code to read this data and I seem to be able to get most of it, except for the absolute pressure and the total rainfall.

I have a WS-2810-U  (2811, 2812 - same platform) and did find this link that described the packed data record for earlier versions of the software:

But no matter how I tweak the requested data types, I get incorrect values for those two elements.  Using the data types provided in the document, I get 10101010.0 for every entry of the Absolute pressure, and large negative numbers like -107374176.0 for total rainfall.

In theory, I could re-calculate the absolute pressure by finding the standard offset value by looking at any entry in the currdat.lst file, and could re-calculate total rainfall by summing up the amounts from each row as I loop through them.  It just seems that this data would not be coded incorrectly in the original history file on purpose, so I assume these two values are encoded differently than the documentation that I have been able to find.

Since I am able to properly pull all the other values, I assume that the data format is slightly different that what I am reading in the document link above.....but have not been able to find anything more current. 

Anyone else have any better luck for documentation on Pro v1.5.2?

I could not follow your link as Norton blocked it.

The WS2810 history.dat file format may follow what they used for the WS-3600.

As I recall they store the absolute pressure. You would need to know the offset to the relative pressure to translate it from absolute to relative.

Offset  Type       Name              Unit
------  ---------  ----------------  -----
00      ULong [4]  unknown           - (Value is always 1)
04      ULong [4]  Timestamp         seconds from 1/1/1900 00:00:00 (GMT)
08      Float [4]  Abs Pressure      hectopascals (millibars)
12      Float [4]  Wind Speed        meters/second
16      ULong [4]  Wind Direction    see below
20      Float [4]  Total Rainfall    millimeters
24      Float [4]  Indoor Temp       Celsius
28      Float [4]  Outdoor Temp      Celsius
32      UWord [2]  Indoor Humidity   %
34      UWord [2]  Outdoor Humidity  %

At the end of the file is an additional 28 bytes providing information about
the dataset as a whole.

Offset  Type       Description
------  ---------  ----------------
00      ULong [4]  unknown
04      Ulong [4]  unknown (0)
08      Float [4]  unknown (5.698)
12      ULong [4]  unknown (0)
16      ULong [4]  Number of rows
20      ULong [4]  Timestamp of the first row of data
24      ULong [4]  Timestamp of the last row of data


[0] Message Index

Go to full version