[weewx-development] Re: Advice on a new driver and how to make it available

2017-01-11 Thread mwall
On Wednesday, January 11, 2017 at 10:01:58 PM UTC-5, vk3...@gmail.com wrote: > > At present the code includes 'testing code' that I've used to confirm that > the various unit transformations all work, and this is controlled by a > single class boolean variable. Is it better to leave this code in

Re: [weewx-development] Bug in uwxutils.py

2017-01-11 Thread mwall
On Wednesday, January 11, 2017 at 7:45:38 PM UTC-5, Tom Keffer wrote: > > Gack! That's been in there since the original translation from Pascal, now > 4 years ago! > there is a fair amount of unused code in uwxutils - apparently none of the functions that use uwxutils.CToF are actually used:

Re: [weewx-development] Bug in uwxutils.py

2017-01-11 Thread Thomas Keffer
Gack! That's been in there since the original translation from Pascal, now 4 years ago! Fixed in commit 2cd9344f . Thank you for your sharp eyes! -tk On Wed, Jan 11, 2017 at 4:31 PM, Gone Bush

[weewx-development] Bug in uwxutils.py

2017-01-11 Thread Gone Bush
I think there is a bug in uwxutils.py in the function CToF. The conversion currently is return (5.0/9.0)*value + 32.0 I believe this should be return (9.0/5.0)*value + 32.0