Just by way of background up until v4.3.0 WeeWX shipped with strict_ascii encoding for NOAA reports. v4.4.0 changed that to utf8 but for new installs only, upgrades or earlier versions need to be changed manually.
Gary On Wednesday, 3 February 2021 at 16:27:31 UTC+10 [email protected] wrote: > Hi Gary, > > thanks again. Works now. > [image: DustPM10.png] > > On Wednesday, February 3, 2021 at 7:18:43 AM UTC+1 Calo Geyer wrote: > >> Hi Gary, >> >> thanks. Yes, you are right. Got this in my skins.conf and it is even >> written in the explanation. Will change and report back. >> >> >> [CheetahGenerator] >> >> # Possible encodings are 'html_entities', 'utf8', or 'strict_ascii' >> encoding = html_entities >> >> [[SummaryByMonth]] >> # Reports that summarize "by month" >> [[[NOAA_month]]] >> encoding = strict_ascii >> template = NOAA/NOAA-%Y-%m.txt.tmpl >> >> [[SummaryByYear]] >> # Reports that summarize "by year" >> [[[NOAA_year]]] >> encoding = strict_ascii >> template = NOAA/NOAA-%Y.txt.tmpl >> >> On Wednesday, February 3, 2021 at 7:11:51 AM UTC+1 gjr80 wrote: >> >>> Hi, >>> >>> What encoding are you using for the NOAA format reports in your >>> skin.conf? If you have the old encoding = strict_ascii then no you won’t >>> see the mu character, you should see it though if you have encoding = utf8. >>> >>> Gary >>> >>> On Wednesday, 3 February 2021 at 16:00:13 UTC+10 [email protected] >>> wrote: >>> >>>> Hi, I added my SDS011 data (which I read-in using file-pile) however >>>> the unit in the header is not shows as microgramm per cubic meter. I >>>> changed the unit in units.py to see if it also is adapted in the report >>>> and >>>> was working however using the default pm10_0 unit shows as g/m >>>> This is my entry in .tmpl >>>> DUST PM10 ($unit.label.SDS011_PM10.strip()) >>>> >>>> >>>> [image: NOAA Dust PM10.png] >>>> >>>> Any idea? >>>> >>> -- 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/a6d09609-2cc5-40e8-84d5-a0bdc56b71a8n%40googlegroups.com.
