Author Topic: Saratoga templates NaN Rain and Wind values  (Read 499 times)

0 Members and 1 Guest are viewing this topic.

Offline lobsterman

  • Senior Member
  • **
  • Posts: 83
    • Cape Small Harbor Weather
Saratoga templates NaN Rain and Wind values
« on: May 08, 2017, 10:35:49 AM »
Anyone tell me why I am getting NaN values for rain and wind?

http://suiattle.net/CapeSmallHarborWeather/mbridge/index.php

The status of the meteobridge uploads is current and the MB Live Data tab shows values for those units.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8567
    • Meteotemplate
Re: Saratoga templates NaN Rain and Wind values
« Reply #1 on: May 08, 2017, 10:39:51 AM »
The problem seems to be in MB not in the template because look what it sends:

Code: [Select]
08/05/2017 10:37:30 [th0temp-act] [th0hum-act.0] [th0dew-act] [wind0avgwind-act] [wind0wind-act] [wind0dir-act] [rain0rate-act] 0.0 [thb0seapress-act] [wind0dir-act] [wind0wind-act=bft.0] m/s C hPa mm -- -- 11.9 424.1 0.0 [thb0temp-act] [thb0hum-act] [wind0chill-act] -- 7.6 00:00 7.6 00:00 1.8 00:00 0.9 00:00 1020.0 00:00 1020.0 00:00 3.0 10243 [wind0wind-max10] 0 0 -- -- -- -- [rain0total-sum60] -- 1 -- -- -- m -- 14:29 -- -- --
In other words, it is not replacing the tags, i have seen this problem in the past with some users of my template. This is when you don´t set what MB is supposed to send when the value is not available in the tag. Why it is not available is a question, but it is definitely not a problem with your website, but rather in MB or the communication between MB and your station