robcee / weather_poller

A simple python service to poll Environment Canada's RSS feed for weather updates.
0 stars 0 forks source link

Add humidex to stored conditions #2

Closed robcee closed 3 years ago

robcee commented 3 years ago

If present Humidex should be stored in current conditions. If not, ensure it's removed.

robcee commented 3 years ago
<entry>
<title>Current Conditions: Mostly Cloudy, 25.0°C</title>
<link type="text/html" href="https://www.weather.gc.ca/city/pages/nb-36_metric_e.html"/>
<updated>2021-06-07T13:00:00Z</updated>
<published>2021-06-07T13:00:00Z</published>
<category term="Current Conditions"/>
<summary type="html">
<b>Observed at:</b> Greater Moncton Roméo LeBlanc Int'l Airport 10:00 AM ADT Monday 07 June 2021 <br/> <b>Condition:</b> Mostly Cloudy <br/> <b>Temperature:</b> 25.0&deg;C <br/> <b>Pressure / Tendency:</b> 101.3 kPa rising<br/> <b>Visibility:</b> 24.1 km<br/> <b>Humidity:</b> 70 %<br/> <b>Humidex:</b> 32 <br/> <b>Dewpoint:</b> 19.2&deg;C <br/> <b>Wind:</b> SW 18 km/h<br/> <b>Air Quality Health Index:</b> 2 <br/>
</summary>
<id>
tag:weather.gc.ca,2013-04-16:nb-36_cc:20210607130000
</id>
</entry>
robcee commented 3 years ago

nothing to do, text in summary is posted fully to redis.