Author Topic: Saratoga - wind speed units incorrect  (Read 798 times)

0 Members and 1 Guest are viewing this topic.

Offline richard-pq

  • Member
  • *
  • Posts: 3
Saratoga - wind speed units incorrect
« on: February 20, 2021, 08:31:08 AM »
Hi

A newbie's question.

Although  have set my preferred wind speed units to kts in Settings. php and my Davis Vantage Pro IP  station records the speed in knots, the Saratoga index page shows the speed in km/h except for the strongest gust for the month which shows in knots.

WLCOM is the source.

Some setting Ive missed presumably but which one?

Richard

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 947
    • LexMAWeather
Re: Saratoga - wind speed units incorrect
« Reply #1 on: February 20, 2021, 09:25:41 AM »
Post a link to the site.

Most likely it's in your ajax**.js file (name depends on the weather software you use). That's the javascript that replaces values for real time updates and it also has a settings section. Look for "begin settings" in the comments.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline richard-pq

  • Member
  • *
  • Posts: 3
Re: Saratoga - wind speed units incorrect
« Reply #2 on: February 20, 2021, 09:58:35 AM »
Post a link to the site.

Most likely it's in your ajax**.js file (name depends on the weather software you use). That's the javascript that replaces values for real time updates and it also has a settings section. Look for "begin settings" in the comments.
Great. Thanks Jasiu. That worked a treat.
Richard