I have aeris_use_metar=0 (because there's no METAR that's reasonably accurate for my location). A textual current summary is displayed, but not the corresponding icon. It looks like Aeris is supplying the current sky conditions from the nearest METAR even without the "filter=metar" field, and even though neither current_obs_summary nor current_obs_icon are set in belchertown.py, the summary does get filled in on the browser side. I *think* the discrepancy is in index.html.tmpl which conditionally includes the element for the icon based on whether $current_obs_icon is set at compile time, but unconditionally includes the element for the textual summary.
The icon field is correctly processed in belchertown.js to correspond to the textual summary (and the correct icon appears when I put the line to set current_obs_icon in the forecast_aeris_use_metar==0 branch in belchertown.py,). It seems like either both should be displayed, or neither. "Neither" is probably the better answer if aeris_use_metar==0 since presumably the METARs are not accurate enough. The question then is, without the icon and textual summary, what to do about that big empty space? Maybe I'll stick a webcam image in there, as an alternative report of current sky conditions. -Les On Tuesday, January 26, 2021 at 9:07:09 AM UTC-8 vince wrote: > On Tuesday, January 26, 2021 at 7:34:30 AM UTC-8 [email protected] > wrote: > >> If aeris_use_metar =0 then no icon displayed, right, but my question is: >> What does mean "metar" and why we cannot display an icon without metar? >> It is for a best understanding of this information >> >> > The Belchertown forecast options are documented at > https://github.com/poblabs/weewx-belchertown#forecast-options > > If you set forecast_aeris_use_metar = 0 there is no icon. > If you set forecast_aeris_use_metar = 1 there 'is' an icon. > > The actual code is within lines 1581-1634 in > https://github.com/poblabs/weewx-belchertown/blob/master/bin/user/belchertown.py > > > -- 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/930126a9-48d2-4663-886b-2c979c9abd84n%40googlegroups.com.
