Orion wrote:Thanks Dane
Just installed the latest version
Seems WU does not convert properly 0.02 in = 0.508 millimetres
Code: Select all
<precip_today_string>0.02 in (0.1 mm)</precip_today_string>
<precip_today_in>0.02</precip_today_in>
<precip_today_metric>0.1</precip_today_metric>
You'll find the biggest differences when recording the lowest possible figures due to rounding off. Also I've found that they record it in cm but then display mm (see below). I've emailed WU, but they are yet to reply. What I think they are trying to record is the cm, but then putting mm after it (see below)
<precip_today_string>3.57 in (9.1 mm)</precip_today_string>
<precip_today_in>3.57</precip_today_in>
<precip_today_metric>9.1</precip_today_metric>
So .02 inch =0.0508cm, but I guess they round up to the nearest tenth, thus getting 0.1 cm, but then they go put mm behind it.
As you see my figures have 3.57 in = 9.1cm (again, they put mm

) which would put the 3.57 in actually at 90.678mm. Which is actually closer to my proper mm reading on Cumulus (can't tell you excactly right now becuase my computer blew up).
Checking my calculator.....WU would then put 0.02 in = 0.5098mm, damn close to the 0.508 it's ment to be.