|
Post by marylandwx on Oct 5, 2010 8:41:26 GMT -5
Is it possible for WUHU to implement a variable for the daily max and min temperatures?
|
|
|
Post by wuhusoftware on Oct 5, 2010 16:16:18 GMT -5
Do you mean a variable available for templates? If you are outputting the currdat.lst with extended data, it should be there.
If you mean just to view in the stats area, just enter the char M for the End hours or Minutes on the main display. Click Show to see an immediate update of the stats or wait for an update from the console.
|
|
|
Post by marylandwx on Oct 5, 2010 16:18:27 GMT -5
Do you mean a variable available for templates? If you are outputting the currdat.lst with extended data, it should be there. If you mean just to view in the stats area, just enter the char M for the End hours or Minutes on the main display. Click Show to see an immediate update of the stats or wait for an update from the console. I have a template that I use to update my mobile site and was hoping to be able to put the daily min and max temps in it. I didn't see a variable in the Action Setup drop down that would do that.
|
|
|
Post by wuhusoftware on Oct 5, 2010 18:59:27 GMT -5
Ah, I see... What you need to do is in the General settings, check the Write currdat.lst check box, check the 'Write extended data' check box, and in the edit box below, specify the currdat.lst file to output.
The next time data is written to the currdat.lst file that you have specified, you will see many sections of data in the currdat.lst output, including daily highs, lows, etc (edit with notepad to view the contents of currdat.lst).
Next, you use variables in your template using the form of:
%[section]variable%
Where section is a section in the currdat.lst file being output.
If you search the file, you will find a section labeled [daily_extremes].
In the [daily_extremes] section, you will find high_outdoor_temperature_deg_F.
So to use this in your template, you would use:
%[daily_extremes]high_outdoor_temperature_deg_F%
If you try it and have issues let me know.
|
|
|
Post by marylandwx on Oct 5, 2010 21:35:36 GMT -5
That worked perfectly... thanks!
|
|