Webtags (preserving history): Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
m (→‎Davis: ad warning)
(5 intermediate revisions by the same user not shown)
Line 734: Line 734:
|-
|-
|<#apptemp>
|<#apptemp>
|The [[Apparent_temperature|apparent]] temperature
|The [[Apparent_temperature|apparent]] temperature.  The referenced page in weather terminology section of this Wiki explains it.
|-
|-
|<#temp>
|<#temp>
Line 755: Line 755:
|-
|-
|<#heatindex>
|<#heatindex>
|Current [[heat index]]
|Current [[heat index]].  The referenced page in weather terminology section of this Wiki explains it.
|-
|-
|<#humidex>
|<#humidex>
Line 767: Line 767:
|-
|-
|<#dew>
|<#dew>
|The outside dew point
|The current dew point
|-
|-
|<#wchill>
|<#wchill>
|The current [[wind chill]] temperature
|The current [[wind chill]] temperature.  The referenced page in weather terminology section of this Wiki explains it.
|-
|-
|<#feelslike>
|<#feelslike>
|Available only from version 3.5.4: A variant on wind chill, calculated using the JAG/TI formula used in the UK, USA, Canada etc. The official formula of JAG/TI-2000 is:
|The current [[Feels_Like|Feels Like]] temperature. Available only from version 3.5.4. The referenced page in weather terminology section of this Wiki explains it.
G(J) = 13,12+0,6215∗T−11,37∗(W∗3,6)0,16+0,3965∗T∗(W∗3,6)0,16(2.3) where air temperature, T, is in °C, is measured at 1.50 metres, and wind speed, W, is in m/s as measured at 10 metres.
 
MX uses a slightly different formula, it is dependent on temperature, and can be expressed in PHP as:
if($temp_degC < 10)
{
$feels_like = $wind_chill;
}elseif($temp_degC > 20)
{
$feels_like = $apparent_temp;
}else{
$app_temp_mult = ($temp_degC - 10) / 10;
$wind_chill_mult = 1 - $app_temp_mult;
$feels_like = ($apparent_temp * $app_temp_mult) + ($wind_chill * $wind_chill_mult);
}
|-
|-
|<#wetbulb>
|<#wetbulb>
Line 813: Line 799:
|-
|-
|<#LastRainTipISO>
|<#LastRainTipISO>
|Date/time of last rain gauge tip (e.g 2010-09-06 06:09) '''PLEASE NOTE: this web tag does NOT accept any format modifiers'''
|Fixed ISO format output giving date and time of last rain gauge tip (e.g 2010-09-06 06:09) '''PLEASE NOTE: this web tag does NOT accept any format modifiers'''
|-
|-
|<#LastRainTip>
|<#LastRainTip>
| (available from release 3.6.1) Date/time of last rain gauge tip (as previous tag) '''PLEASE NOTE: this web tag WILL accept any date and time output format modifiers'''
| (available from release 3.6.1) Date/time of last rain gauge tip (as previous tag, but default format is as set in locale, i.e. Mono or Windows control panel) '''PLEASE NOTE: this web tag WILL accept any date and time output format modifiers'''
|-
|-
|<#MinutesSinceLastRainTip>
|<#MinutesSinceLastRainTip>
Line 1,033: Line 1,019:
|Number of strikes since midnight
|Number of strikes since midnight
(currently only GW1000 stations with MX)
(currently only GW1000 stations with MX)
|-
|<#UserTemp1>
|User Temperature 1
support for the new Ecowitt WH34 soil and water temperature sensors
(currently only GW1000 stations with MX)
|-
|colspan="2"|... and so on up to <#UserTemp8> = User temperature 8
|}
|}


5,838

edits

Navigation menu