When using a weather station configured for Inches of Mercury (InHg), the pressure value is rounded.
In the below example, 30.05 InHg is rounded to 30.1 InHg on the main YoWindow display.
It would be nice if the precision of all fields follow what is given in the XML file (including temperature and wind speed). For example, if the XML contains 10.1 degrees the main display should show 10.1 (rather than the rounded down 10 that it does now).
Thank you for the great program.
---
<response>
<current_weather>
<temperature unit="f">
<current value="48.7"/>
<feels_like value="48.7"/>
</temperature>
<humidity value="93"/>
<pressure value="30.05" unit="inchMerc"/>
<wind>
<speed value="0.0" unit="mph"/>
<direction value="231"/>
<gust value="0.0" unit="mph"/>
</wind>
<sky>
<precipitation>
<rain>
<rate value="0.00" unit="iph"/>
<daily_total value="0.09" unit="inch"/>
</rain>
</precipitation>
</sky>
<auto_update>
<interval value="60"/>
</auto_update>
</current_weather>
</response>
Pressure InHg incorrectly rounded using weather station data
- par
- Posts: 8741
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: Pressure InHg incorrectly rounded using weather station data
Welcome, Wuhu!
Yes, this is an old problem, still not solved, I hope to find time to fix it.
Thanks for reminding me about it.
Yes, this is an old problem, still not solved, I hope to find time to fix it.
Thanks for reminding me about it.
Re: Pressure InHg incorrectly rounded using weather station data
Thank you for the quick response.
Yes, the pressure issue is a fairly large problem for us here in the U.S. where we would like to see precision of 0.01. The different between 29.00 and 31.00 in the relative pressure makes quite a bit of difference.
Yes, the pressure issue is a fairly large problem for us here in the U.S. where we would like to see precision of 0.01. The different between 29.00 and 31.00 in the relative pressure makes quite a bit of difference.