Author Topic: Is the output from the "Custom CGI" panel always in imperial units?  (Read 1713 times)

tigers

  • Gentle Breeze
  • **
  • Posts: 79
It seems that that's case. If so, I'll go with that and implement some code in my template that lets a user change it from their end.

If not, is there a way to get WC to pass a variable in the URL that indicates either imperial or SI units?

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2809
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: Is the output from the "Custom CGI" panel always in imperial units?
« Reply #1 on: March 12, 2012, 11:23:17 PM »
Hi Tigers,
Just caught you before getting some zzz's.

Yes, the output of the custom CGI is always in imperial units - temperatures in Fahrenheit, rain and pressure in inches, speeds in miles per hour. Date and time is UTC unless the 'Send Time As Local' tick box is ticked.

Hope this helps,
Stu.

tigers

  • Gentle Breeze
  • **
  • Posts: 79
Re: Is the output from the "Custom CGI" panel always in imperial units?
« Reply #2 on: March 13, 2012, 12:11:39 AM »
Thanks. Just wanted to make sure there wasn't some option I was missing. Also helps from my end because I can then depend on the units being consistent regardless of locale.