Logs and Logging

From WeatherWiki
Revision as of 22:38, 13 December 2005 by WikiSysop (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

General

Logging of data is on 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 is: 52001lg.txt

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

Go to the Setup menu and 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 help

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. Go to Action menu and select "Import log files from other software", and chose the correct software.

For the Davis log files, you need to import the file called download.txt , produced by Weather link. The 32 bit weather display conversion is for if 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 WD's custom tags. First create a file called "customtext.txt" in your "webfiles" directory. Then add custom tags as described on the Custom Tags page.

Go to Setup menu and select "Log file recording", then select "Produce a custom text file, then select "yes". And finally 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:

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