WXforum.net
May 19, 2013, 12:28:43 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6609  •  Posts: 178217  •  Topics: 18100
Please welcome TargY, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: WU forecast in mph?  (Read 298 times)
0 Members and 1 Guest are viewing this topic.
duke666
Contributor
***
Offline Offline

Posts: 120



WWW
« on: July 03, 2012, 02:45:05 PM »

Not sure if this in the right place but... I've been using the WU forecast script for some time and it displays wind speed in km/h. How do I get the units to mph?

I upload to WU with Cumulus and in mph. I also note my page at WU is only km/h.

The script on my site is here and my WU page is here.

So what am I doing wrong?

Duke
Logged

Davis VP2 - 24hr FARS, Cumulus weather software.
Nightingale Weather PHP

St3althMaster
Member
*
Offline Offline

Posts: 12


WWW
« Reply #1 on: July 03, 2012, 03:02:29 PM »

I think its the way wunderground is set up because the other stations show temp etc in c but wind is set to km/h (dont quote me on this tho) but i know the usa style is set temp as f but winds in mph (dont quote me on this)
Logged
saratogaWX
Administrator
Forecaster
*****
Offline Offline

Posts: 3729


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #2 on: July 03, 2012, 03:46:24 PM »

It's true, the Wunderground site only offers two choices for units

English:  F,inHg,mph,in  for Temp, Baro, Wind, Rain
Metric:  C,hPa,km/h,mm

and you can't mix/match units... sorry.  I do understand that the UK does prefer C,mb,mph,mm in a mixed Imperial/Metric set, but the WU website just doesn't have that available.  To support the multiple translations, I don't do much processing on the WU returned HTML and no units conversions at all.. would significantly complicate the script to provide that.

Best regards,
Ken
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
duke666
Contributor
***
Offline Offline

Posts: 120



WWW
« Reply #3 on: July 03, 2012, 04:58:27 PM »

Ok, thanks Ken and St3althMaster, at least I know it's not something I'm doing wrong.

Duke
Logged

Davis VP2 - 24hr FARS, Cumulus weather software.
Nightingale Weather PHP

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.105 seconds with 18 queries.