At last!

Your last email gave me a hint. There was indeed a problem with the METRIC
unit system, causing it to use the same unit system as the METRICWX system.

Fixed in commit 189ea54
<https://github.com/weewx/weewx/commit/189ea541d972a686ea5212135c06be49ee3f334e>
.

Thanks for your patience, Hartmut.

-tk

On Fri, Nov 22, 2019 at 12:48 PM Hartmut Schweidler <[email protected]>
wrote:

> Hallo Tom,
>
> I found a solution.
> There are again the expected results.
>
> I made the following change in units.py
>
> # except for rain and speed:
> MetricWXUnits = ListOfDicts(MetricUnits)
> MetricWXUnits['group_rain']     = "mm"
> MetricWXUnits['group_rainrate'] = "mm_per_hour"
> MetricWXUnits['group_speed']    = "km_per_hour" and not 'meter_per_secund'
> MetricWXUnits['group_speed2']   = "km_per_hour2" and not
> 'meter_per_secund2'
>
> std_groups = {
>     weewx.US: USUnits,
>     weewx.METRIC: MetricUnits,
>     weewx.METRICWX: MetricWXUnits
> }
>
>
> I have no idea why it works now
>
> Gruss
> Harmut
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/47ec3e69-6a56-4844-89cb-2b002a38dae6%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/47ec3e69-6a56-4844-89cb-2b002a38dae6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEDb0Gvuwwy9n7zcf4vm9ZyqayMAtg0-twZ%2BQjxyVF3Skw%40mail.gmail.com.

Reply via email to