LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 01-05-2011, 08:18 PM   #1
Bobonopolis
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Question Weather Station Reader PYWWS celcius to farenheit


Is there a way to convert the PYWWS temp output from Celsius to Fahrenheit?
 
Old 01-06-2011, 01:55 PM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
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.
 
Old 01-10-2011, 08:41 AM   #3
Bobonopolis
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Talking 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!
 
Old 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: Reputation: 234Reputation: 234Reputation: 234
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.
 
Old 01-23-2011, 06:36 PM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Prowler weather station connected via USB. Ubuntu 9.10 doesn't recognise it Jvan_ca Linux - Software 17 09-18-2011 08:33 PM
Slim free PDF Reader as alternative to Adobe Reader cccc Debian 6 10-14-2010 02:51 PM
Command Line RSS Reader and Weather Forecaster? Baryonic Being Linux - Software 5 07-26-2010 11:41 AM
Newbie Wanting to Setup Weather Station Server headlesschicken2511 Linux - Newbie 3 11-04-2009 03:11 PM
CPU temperature 80-84 degree celcius demmylls Linux - Hardware 4 03-28-2006 02:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration