Alright! Now we're getting somewhere! For some reason 'µg/m³' is showing up as a string, despite it being marked as unicode in units.py.
And, you are sure that the only place µg/m³ is used is in units.py? You can search by using the following: *find /usr/share/weewx /etc/weewx -type f|xargs grep 'µg/m³'* On Wed, Apr 7, 2021 at 4:52 PM richard maliszewski <[email protected]> wrote: > I suspect as you suspected: > > Apr 7 16:45:21 minix weewx[29999] INFO weeplot.genplot: Unit label set to > '%', which is type '<type 'unicode'>' > > Apr 7 16:45:21 minix weewx[29999] INFO weeplot.genplot: Unit label set to > '%', which is type '<type 'unicode'>' > > Apr 7 16:45:22 minix weewx[29999] INFO weeplot.genplot: Unit label set to > 'in', which is type '<type 'unicode'>' > > Apr 7 16:45:22 minix weewx[29999] INFO weeplot.genplot: Unit label set to > 'mph', which is type '<type 'unicode'>' > > Apr 7 16:45:22 minix weewx[29999] INFO weeplot.genplot: Unit label set to > 'mph', which is type '<type 'unicode'>' > > Apr 7 16:45:22 minix weewx[29999] INFO weeplot.genplot: Unit label set to > 'µg/m³', which is type '<type 'str'>' > > Apr 7 16:45:22 minix weewx[29999] INFO weeplot.genplot: Unit label set to > 'µg/m³', which is type '<type 'str'>' > > Apr 7 16:45:22 minix weewx[29999] INFO weeplot.genplot: Unit label set to > '', which is type '<type 'str'>' > > Apr 7 16:45:22 minix weewx[29999] INFO weeplot.genplot: Unit label set to > '', which is type '<type 'unicode'>' > > --Richard > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/67cc02d7-5159-4f0a-8848-e614ffaa4d64n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/67cc02d7-5159-4f0a-8848-e614ffaa4d64n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEARC1%3D4Qe_rgt9wk5evaWk03SFg-hvCrMupnegNTS9yMw%40mail.gmail.com.
