Logs and Logging

From Weather-Watch Wiki

Logs and Logging

General

Logging of data is enabled by default, to a log file, updated every minute. These logfiles can be found under the folder logfiles in the wdisplay directory.

For the month of May 2001, the name of the log file would be: 52001lg.txt

There is also 52001lg2.txt - this is for soil temperature (if you have it) and for the daily high/low temperatures

  1. Go to the Setup menu
  2. Select Log File Recording for options, including having a comma separated log file (.csv extensions) for use with excel or other spreadsheets. You can even have Weather Display produce a custom log file, using the variable tags as found in the file owntemplate.txt , or see the section Custom Web Page in this manual.

The log file is created every minute. Once you select the units you want, don't change them again! You can see the averages/maximum/minimums by selecting view/ view averages for month (i.e month to date). Reset log file will do this in the next minute (i.e blank the data).

Importing log files

You can import log files produced by other software.

  1. Go to Action menu.
  2. Select Import log files from other software, and choose the correct software.

For Davis log files, you need to import the file called download.txt , produced by WeatherLink. The 32 bit Weather Display conversion is used when the automatic conversion for first time upgrade from version 7.39 was not successful.

If the 32 bit conversion when upgrading from 7.39 to 7.4+ does not work correctly, then you can convert the log files one at a time using the option Convert Weather Display log files to graphs.

Custom log files

You can create a log files of your own design using Weather Display's custom tags.

  1. Create a file called customtext.txt in the WD webfiles directory.
  2. Add custom tags as described on the Custom Tags page.
  3. Go to Setup menu and select Log File Recording.
  4. Select Produce a custom text file and select Yes.
  5. Return to select Update Frequency and select an appropriate interval.

Here is a sample customtext.txt:

%date%,%time%,%dayrn%,%baro%,%temp%,%hum%,%dew%,%avgspd%,%dirdeg%,%indoortemp%,%indoorhum%,%indoordewfaren%

And here is the customtextout.txt that WD creates using that file:

12/24/2002,10:31 AM,0.00 in.,29.628 in.,27.6 °F,48,10.5 °F,9.7 mph,330 °,71.1,38,44.2