gereic / GXAirCom

Multifunctional, compatible DIY aviation proximity awareness, variometer and messaging system with FANET+, FLARM and OGN support.
122 stars 39 forks source link

Weather underground wants rain in in, gets mm #152

Open bzed opened 11 months ago

bzed commented 11 months ago

Unfortunately I was not able to find a sane WU Api documentation, but looking at

https://github.com/gereic/GXAirCom/blob/f14866cbdc5da5aad8580f33e2d9f98999535763/lib/WeatherUnderground/WeatherUnderground.cpp#L180

I would assume (by looking at the 'in' on rainin and also becuase WU uses banana metrics everywhere else) that we are supposed to deliver inches/hour and not mm/h. 1 in (inch) = 25.4 mm

bzed commented 11 months ago

Found the documentation: https://support.weather.com/s/article/PWS-Upload-Protocol?language=en_US - so indeed, inches are required here.