Comment 3 for bug 743553

Revision history for this message
Felix Lawrence (felix-lawrence) wrote :

Here's a pretty major patch. I took the liberty of completely replacing Humidex by "Feels Like". If this is not appropriate, then feel free to strip out those parts of the patch. The get_humidex_label method now works (it now calculates the vapour pressure from relative humidity not dew point), but it isn't called by anything since the Humidex parts of the UI now show a "Feels Like" temperature.

I figured that since the interface is going to be revamped soon anyway, the most important thing was to calculate the relevant values.

I couldn't test this against Google Weather since .__report['current_conditions'] and .__localized_report['current_conditions'] were both blank for me causing lots of errors - if someone else can confirm this then that's a separate bug.