Hacker News new | past | comments | ask | show | jobs | submit login

     % cat ~/.ansiweatherrc
     location:Pittsburgh,Pa
     units:metric

     jim@lilly /home/jim/projects/external/ansiweather (master)[0] {+00% 58C} Mon 2013-10-21 15:39:50 0                                         
     % ./ansiweather       
      Current weather in Pittsburgh => 17.68 °C ☀  - Humidity => 33 % - Pressure => 1014 hPa 
    jim@lilly /home/jim/projects/external/ansiweather (master)[0] {+00% 59C} Mon 2013-10-21 15:39:52 0                                         
     % cat ~/.ansiweatherrc
     location:Pittsburgh,Pa
     units:imperial

     jim@lilly /home/jim/projects/external/ansiweather (master)[0] {+00% 58C} Mon 2013-10-21 15:40:00 0                                         
     % ./ansiweather       
      Current weather in Pittsburgh => 61.89 °F ☀  - Humidity => 47 % - Pressure => 985.97 hPa
Interesting that the humidity and pressure are different when using different units (err, the humity and pressure are in the same units regardless of the units setting, but the values are different).



Given that 17.68 C is only 63.83 F, i think you just hit two different data points.


That's my point. When you switch which units are used 2 different data points are used. (Though, I didn't say it that clearly.)

I didn't even think to convert the temp though, good call.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: