Closed steepleian closed 5 years ago
Ok I thought that might be the case. Cumulus defaults to km/h so that explains the reason. However with WeeWX CRT plug-in I can change the default to m/s. Thanks William.
On Sun, 12 May 2019 at 13:07, lightmaster notifications@github.com wrote:
Wind speed is pulled from the MB as MB default units, m/s. Google says to cover m/s to mph, multiply by 2.237.
[image: Screenshot-20190512-080021-Chrome-Beta.jpg] https://postimg.cc/D4qLrC4F [image: Screenshot-20190512-080103-Chrome-Beta.jpg] https://postimg.cc/jwnz5qsD [image: Screenshot-20190512-075913-Chrome-Beta.png] https://postimg.cc/56Vw4MDt
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/weather34/Meteobridge-Weather34-Template/issues/28#issuecomment-491589851, or mute the thread https://github.com/notifications/unsubscribe-auth/AEMVT7XZGNVQDNO2OCRQ6N3PVAB63ANCNFSM4HMKEVCQ .
Strange and excessively high results with the monthly and yearly charts. It appeared that things were being multiplied by a conversion factor rather than being divided.
I changed conversion section near the top section of code for the monthly and yearly charts to this
$conv = 1;
} else if ($windunit == 'm/s') { $conv= '0.277778'; } else if ($windunit == 'km/h'){ $conv= '1'; }
All seems to be well now. Not sure if this is a bug or differences between realtime data .txt file types.