Unfortunately the issue will remain whilst the gauge-data.txt values are 
formatted to the likes of 1 decimal place. This issue also exists with 
other PWS software that produce a similarly formatted data file for use by 
the SteelSeries Weather Gauges. Changing the underlying units to the units 
normally used by the user will eliminate the issue for those units, but the 
issue will eventually recur if different units are selected for display 
(for example, your MPH values will now be accurate but someone observing 
your gauges in km/h will eventually see a similar small error, admittedly 
they won't have a console in front of them to highlight the discrepancy :) )

Gary

On Monday, 20 February 2017 04:06:11 UTC+10, tempus wrote:
>
> On Saturday, February 18, 2017 at 5:56:41 PM UTC-8, tempus wrote:
>>
>> On Saturday, February 18, 2017 at 5:43:42 PM UTC-8, gjr80 wrote:
>>>
>>> Yes,  thought it would, my gauges exhibit the same behaviour. The 
>>> SteelSeries gauges do a lot of funky stuff to calculate gauge scales etc, I 
>>> need to sit down and work through the data. 
>>>
>>> Of course,  we could just disable F :) 
>>>
>>> Gary
>>>
>>>
>>> I will have a look at the code myself when I have time. 
>>
>> While you are looking, I noticed another issue. The gauge wind speed is 
>> 0.1 MPH less than shown on the Davis console.
>>
>> 1 MPH shows as 0.9 MPH
>> 2 MPH shows as 1.9 MPH
>> 3 MPH shows as 2.9 MPH
>> etc.
>>
>> Bob
>>
>
> This was found to be due to a loss of precision resulting from Rtgd 
> converting F to C and JavaScript then converting C back to F.  This and 
> other issues were fixed by specifying US units in weewx, like this:
>
> [RealtimeGaugeData]
>     ...
>
>     [[Groups]]
>         group_pressure = inHg
>         group_rain = inch
>         group_rainrate = inch_per_hour
>         group_speed = mile_per_hour
>         group_distance = mile
>         group_temperature = degree_F
>         group_percent = percent
>         group_uv = uv_index
>         group_direction = degree_compass
>
> And by adding US 'StringFomats', like this:
>
>     [[StringFormats]]
>         degree_C = %.1f
>         degree_F = %.1f
>         degree_compass = %.0f
>         hPa = %.1f
>         inHg = %.3f
>         inch = %.2f
>         inch_per_hour = %.2f
>         km_per_hour = %.0f
>         km = %.1f
>         knot = %.0f
>         mbar = %.1f
>         meter = %.0f
>         meter_per_second = %.1f
>         mile_per_hour = %.0f
>         mile = %.1f
>         mm = %.1f
>         mm_per_hour = %.1f
>         percent = %.0f
>         uv_index = %.1f
>         watt_per_meter_squared = %.0f
>
> Bob
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to