Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

Displaying THSW data in cumulus

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
markhadley
Posts: 9
Joined: Fri 17 Oct 2014 3:49 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Windows 7
Location: Ho Chi Minh City

Displaying THSW data in cumulus

Post by markhadley »

Hi

As i'm based in Saigon, the heat index is pretty extreme. The standard display in cumulus (from the Davis Vantage Pro 2 plus) is the Heat Index, however, the THSW is far more valuable to us.

Can you tell me how to get cumulus to display and record this data?

Thanks
Mark
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Displaying THSW data in cumulus

Post by steve »

Cumulus only makes the value available as a web tag, so it can be displayed on a web page. The web tag is <#THSWindex> - see the wiki for a full list of web tags - http://wiki.sandaysoft.com/a/Webtags

I seem to recall that there is a problem with the Davis code which supplies one or both of the THW and THSW values, so you may find that it doesn't actually work anyway.
Steve
duke

Re: Displaying THSW data in cumulus

Post by duke »

steve wrote: I seem to recall that there is a problem with the Davis code which supplies one or both of the THW and THSW values, so you may find that it doesn't actually work anyway.
Just the THSW refuses to function correctly, see here.
User avatar
GraemeT
Posts: 312
Joined: Wed 21 Oct 2009 11:19 am
Weather Station: La Crosse WS-2355 & WS-2306
Operating System: Windoze 7, 10, 11
Location: Bayswater, Australia
Contact:

Re: Displaying THSW data in cumulus

Post by GraemeT »

Mark,
I think there's enough information here: http://www.bom.gov.au/info/thermal_stress/index.shtml to be able to calculate a THSW index in PHP or Javascript. It's quite similar to the method used to calculate "apparent temp".

edit:
This PHP function might work (I haven't tested it as I can't measure solar radiation)

Code: Select all

function thsw_index($temp,$hum,$wspeed,$SolarRad) {
	$e=$hum/100*6.105*exp(17.27*$temp/(237.7+$temp));
	$ws=($wspeed*1000)/3600;
	$thsw_index=round(($temp+0.348*$e-0.70*$ws+0.70*$SolaRad/($ws*10)-4.25),1);
	return $thsw_index;
}	// end of thsw()
Cheers,
Graeme.
Post Reply