TheProjecter / yweather

Automatically exported from code.google.com/p/yweather
0 stars 0 forks source link

add ability to return "feels like" temperature (heat index in summer and wind chill in winter) #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Attached patch implements a "feels like" temperature reading.

Usage: yweather.pl -cfl

When temperature > 80F and relative humidity > 40%, it will calculate heat 
index, otherwise it will simply return the wind chill. That should cover both 
summer and winter.

Hope you find it useful.

Original issue reported on code.google.com by haroon.rafique@gmail.com on 14 Jul 2011 at 12:37

GoogleCodeExporter commented 8 years ago
slight correction with rounding up/rounding calculation for "feels like" 
temperature

Original comment by haroon.rafique@gmail.com on 14 Jul 2011 at 2:36

Attachments: