if (
len(data["current"][0]["response"]) > 0
and self.generator.skin_dict["Extras"]["forecast_aeris_use_metar"]
== "0"
):
# Non-metar responses do not contain these values. Set them to empty.
current_obs_summary = ""
current_obs_icon = ""
visibility = "N/A"
visibility_unit = ""
elif (
len(data["current"][0]["response"]) > 0
and self.generator.skin_dict["Extras"]["forecast_aeris_use_metar"]
== "1"
):
current_obs_summary = aeris_coded_weather(
data["current"][0]["response"]["ob"]["weatherPrimaryCoded"]
)
current_obs_icon = (
aeris_icon(data["current"][0]["response"]["ob"]["icon"]) + ".png"
)
_______________________________________________________________________
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?