|
|
<pre>
var gust;
switch(wind_speed_unit){
case "mph" : gust=3.0; break;
case "km/h" : gust=4.8; break;
case "m/s" : gust= 1.34; break;
case "kts" : gust=2.6 ; break;
default : gust=0.0;
}
var m, n, tu = " °" + tempscale;
/* are units Celsius or Fahrenheit? */
|