Skip to content

Commit

Permalink
using wind_chill from Meteobridge
Browse files Browse the repository at this point in the history
  • Loading branch information
briis committed Jan 8, 2022
1 parent 90aed5b commit 435db5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pymeteobridgedata/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ async def update_observations(self) -> None:
data["relative_humidity"],
data["dew_point"]
)
wind_chill = self.cnv.wind_chill(data["air_temperature"], data["wind_gust"])
feels_like = self.cnv.feels_like(
data["air_temperature"],
data["relative_humidity"],
Expand Down Expand Up @@ -149,7 +148,7 @@ async def update_observations(self) -> None:
lightning_strike_count=data["lightning_strike_count"],
lightning_strike_last_distance=data["lightning_strike_last_distance"],
heat_index=self.cnv.temperature(data["heat_index"]),
wind_chill=self.cnv.temperature(wind_chill),
wind_chill=self.cnv.temperature(data["wind_chill"]),
feels_like=self.cnv.temperature(feels_like),
dew_point=self.cnv.temperature(data["dew_point"]),
trend_temperature=data["trend_temperature"],
Expand Down

0 comments on commit 435db5c

Please sign in to comment.