Well, the
NWS calculator for Heat Index has the caveat of
Valid entries are, air temperatures greater than 80 °F ( 27 °C ), dew point temperatures greater than 60 °F ( 16 °C ), and relative humidities higher than 40 percent.
So.. heat index isn't valid below 80F.
Similarly, the
NWS Wind Chill Calculator has the notation of
Note: Windchill Temperature is only defined for temperatures at or below 50 degrees F and wind speeds above 3 mph. Bright sunshine may increase the wind chill temperature by 10 to 18 degrees F.
so Wind Chill is only valid at or below 50F (with a wind >= 3mph).
Hope this helps...
Best regards,
Ken
SaratogaWx Ken ---
I've been looking at your ajaxVWSwxf.js code and think I may have found an error. This is the 3/20/09 version of that file which I believe is the most current version available.
A snippet of the code is shown below and it seems to say that Wind Chill starts at 40F but I can't find any code relating to a minimum of 3mph being in the equation too.
...
//BEGIN WIND CHILL DATA
//CURRENT WIND CHILL
if (wflash[9] <= 40) { // NOAA sez Wind Chill starts at 40F
var windchill = convertTemp(wflash[21]);
set_ajax_obs("ajaxwindchill",windchill+ajaxUOM(uomTemp));
//CURRENT WIND CHILL RATE
var windchillrate = convertTempRate(wflash[49]);
set_ajax_obs("ajaxwindchillrate",windchillrate+ajaxUOM(uomTemp)+ajaxUOM(uomPerHr));
set_ajax_obs("ajaxwindchillarrow",
ajax_genarrow(windchill*1.0, windchill-windchillrate*1.0, '',
langTempRising+uomTemp+langTempPerHour,
langTempFalling+uomTemp+langTempPerHour,1)
);
} else {
set_ajax_obs("ajaxwindchill",'---');
set_ajax_obs("ajaxwindchillrate",'---');
set_ajax_obs("ajaxwindchillarrow",'');
}
//END WIND CHILL DATA
As you indicated above, NOAA says "Windchill Temperature is only defined for temperatures at or below 50 degrees F and wind speeds above 3 mph"[/i]. Thus, the equation being used in the AJAX code doesn't seem to be correct.
I'm certainly no programmer and may be missing something obvious so pardon me if I'm wrong.
I've just recently implemented your AjaxVWS WxFlash routines and have noticed that neither the Heat Index nor the Wind Chill values seem to show any data. That's how I found the apparent problem with the code.