1,122
edits
(Updated recreating file with webtags for the new tags available in v1.9.2) |
|||
Line 112: | Line 112: | ||
| 6 | | 6 | ||
| wind speed ([http://en.wikipedia.org/wiki/Beaufort_scale beaufort]) | | wind speed ([http://en.wikipedia.org/wiki/Beaufort_scale beaufort]) | ||
| | | <#beaufortnumber> | ||
|- | |- | ||
| 14 | | 14 | ||
Line 122: | Line 122: | ||
| C | | C | ||
| temperature units - degree C, degree F | | temperature units - degree C, degree F | ||
| | | <#tempunitnodeg> | ||
|- | |- | ||
| 16 | | 16 | ||
Line 312: | Line 312: | ||
| 2040 | | 2040 | ||
| Cloud base | | Cloud base | ||
| | | <#cloudbasevalue> | ||
|- | |- | ||
| 54 | | 54 | ||
| ft | | ft | ||
| Cloud base units | | Cloud base units | ||
| | | <#cloudbaseunit> | ||
|- | |- | ||
| 55 | | 55 | ||
Line 352: | Line 352: | ||
This can be achieved by creating a template file using the webtags below, and referencing this in the Cumulus Configuration|Internet|Files dialog. Ticking the 'Process?' checkbox, and supplying a remote filename will create this copy of the realtime.txt file. | This can be achieved by creating a template file using the webtags below, and referencing this in the Cumulus Configuration|Internet|Files dialog. Ticking the 'Process?' checkbox, and supplying a remote filename will create this copy of the realtime.txt file. | ||
Note | Note that the built-in realtime.txt always uses a 'dot' decimal character (as so is JavaScript/PHP 'safe'), the web tag version will use your host computers localisation for decimals. [There are some #RCxxx webtags available but they do not cover all the required values] | ||
To ensure decimal compatibility across systems use a js construct such as: | To ensure decimal compatibility across systems use a js construct such as: | ||
Line 362: | Line 358: | ||
var temp = +r[2].replace(',','.'); | var temp = +r[2].replace(',','.'); | ||
when referring to decimal values in the constructed file. | when referring to decimal values in the constructed file. | ||
''(this is one complete line, although it may appear on this page as two or more due to screen width restrictions)'' | ''(this is one complete line, although it may appear on this page as two or more due to screen width restrictions)'' | ||
<tt><#date format=dd/mm/yy> <#timehhmmss> <#temp> <#hum> <#dew> <#wspeed> <#wlatest> <#bearing> <#rrate> <#rfall> <#press> <#currentwdir> | <tt><#date format=dd/mm/yy> <#timehhmmss> <#temp> <#hum> <#dew> <#wspeed> <#wlatest> <#bearing> <#rrate> <#rfall> <#press> <#currentwdir> <#beaufortnumber> <#windunit> <#tempunitnodeg> <#pressunit> <#rainunit> <#windrun> <#presstrendval> <#rmonth> <#ryear> <#rfallY> <#intemp> <#inhum> <#wchill> <#temptrend> <#tempTH> <#TtempTH> <#tempTL> <#TtempTL> <#windTM> <#TwindTM> <#wgustTM> <#TwgustTM> <#pressTH> <#TpressTH> <#pressTL> <#TpressTL> <#version> <#build> <#wgust> <#heatindex> <#humidex> <#UV> <#ET> <#SolarRad> <#avgbearing> <#rhour> <#forecastnumber> <#isdaylight> <#SensorContactLost> <#wdir> <#cloudbasevalue> <#cloudbaseunit> <#apptemp> <#SunshineHours> <#CurrentSolarMax> <#IsSunny></tt> | ||
[[Category:Log_Files]] | [[Category:Log_Files]] |