Support LQ: Use code LQ3 and save \$3 on Domain Registration
 Home Forums HCL Reviews Tutorials Articles Register Search Today's Posts Mark Forums Read
 LinuxQuestions.org Weather Station Reader PYWWS celcius to farenheit
 Linux - Software This forum is for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

 01-05-2011, 08:18 PM #1 Bobonopolis LQ Newbie   Registered: Jan 2011 Posts: 2 Rep: Weather Station Reader PYWWS celcius to farenheit Is there a way to convert the PYWWS temp output from Celsius to Fahrenheit?
 01-06-2011, 01:55 PM #2 arizonagroovejet Senior Member   Registered: Jun 2005 Location: England Distribution: SLED, openSUSE Posts: 1,032 Rep: Ah, Fahrenheit. I remember that from the olden days Fahrenheit=((Celsius*9)/5)+32 If you're looking for something more specific to PYWWS you might try asking on the mailing list or Google Group that are linked from http://code.google.com/p/pywws/ This isn't a bad place to ask but it's rather specialist software, so forums dedicated to discussion of it are a better bet to getting an answer.
 01-10-2011, 08:41 AM #3 Bobonopolis LQ Newbie   Registered: Jan 2011 Posts: 2 Original Poster Rep: New conversion being added Thanks for the advice, very helpful. Posted on http://groups.google.com/group/pywws and the reply came within 24 hrs. The modifications are being made right now. Those guys are really on top of this project!
 01-23-2011, 04:32 PM #4 archtoad6 Senior Member   Registered: Oct 2004 Location: Houston, TX (usa) Distribution: MEPIS, Debian, Knoppix, Posts: 4,727 Blog Entries: 15 Rep: I was taught an easier way to remember where to put the "32". It's based on the fact that -40F = -40C. So: F = ( (C + 40) x 9/5 ) - 40 C = ( (F + 40) x 5/9 ) - 40 In words: Add 40, multiply, subtract 40. Since the "40" goes in 2ce, you only have to get 5:9 ratio in correctly. Last edited by archtoad6; 01-23-2011 at 04:33 PM.
 01-23-2011, 06:36 PM #5 jlinkels Senior Member   Registered: Oct 2003 Location: Bonaire Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE Posts: 4,362 Rep: Well, that's smart. Until now I did it by getting from 100C to 212F and see when I had to add or subtract the 32. jlinkels