One of the realtime.txt values is "Humidex". Is this what is also plotted in the standard C 1.9.1 web page as "Apparent Temperature"?
fracto
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Humidex question
-
fractonimbus
- Posts: 159
- Joined: Thu 03 Feb 2011 1:15 am
- Weather Station: WH1091
- Operating System: Windows 7 on a Dell Vostro
- Location: Canberra
-
fractonimbus
- Posts: 159
- Joined: Thu 03 Feb 2011 1:15 am
- Weather Station: WH1091
- Operating System: Windows 7 on a Dell Vostro
- Location: Canberra
Re: Humidex question
Yes, thanks, I found an earlier post on the subject, https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=3482
I've just coded the apparent temperature for PHP, which as a single equation is as follows:
$apptemp = round(($temp + 0.33*($hum/100)*6.105*exp(17.27*$temp/(237.7+$temp))- 0.70*$wspeed - 4.00),1);
I always use brackets (...) around anything where I don't trust the order of compuation (or don't know the language).
The round(x,1) command trims it back to one decimal place.
Here, $apptemp is the apparent temperature variable, $temp is the (dry bulb) temperature, $hum is the relative humidity, and $wspeed is the average windspeed. Seems to work OK.
fracto
I've just coded the apparent temperature for PHP, which as a single equation is as follows:
$apptemp = round(($temp + 0.33*($hum/100)*6.105*exp(17.27*$temp/(237.7+$temp))- 0.70*$wspeed - 4.00),1);
I always use brackets (...) around anything where I don't trust the order of compuation (or don't know the language).
The round(x,1) command trims it back to one decimal place.
Here, $apptemp is the apparent temperature variable, $temp is the (dry bulb) temperature, $hum is the relative humidity, and $wspeed is the average windspeed. Seems to work OK.
fracto