Hi Math and Graig, thanks for your reaction.  It looks like both solutions 
are working in practice.   At this moment I am using the "Graig" solution, 
because it was shorter...

About the wee_device fault message.   I thought I had stopped weewx before, 
but today I have been trying it again, and I have stopped weewx before as 
you can see:














*root@RPi-Weewx:/etc/init.d# ps -ef | grep weewxroot      5282  5210  0 
01:35 pts/0    00:00:00 grep weewxroot@RPi-Weewx:/etc/init.d# wee_device 
--show optionsTraceback (most recent call last):  File 
"/usr/bin/wee_device", line 54, in <module>    main()  File 
"/usr/bin/wee_device", line 19, in main    config_fn, config_dict = 
weecfg.read_config(None, sys.argv[1:])  File 
"/usr/share/weewx/weecfg/__init__.py", line 221, in read_config    
locations=locations, file_name=file_name)  File 
"/usr/share/weewx/weecfg/__init__.py", line 196, in find_file    raise 
IOError("%s is not a file" % file_path)IOError: options is not a file*

Do you have any clue?, 

I have just another question about weewx and the meteostick:

Is there a way to measure the ISS battery voltage via the meteostick?



Op zondag 9 april 2017 23:52:58 UTC+2 schreef Craig Thom:
>
>
>
> On Sunday, April 9, 2017 at 8:08:19 AM UTC-4, mwall wrote:
>>
>> [StdCalibrate]
>>     [[Corrections]]
>>         windDir = windDir + 180 if windDir < 180 else windDir - 180
>>
>> I think you could also use 
>
> windDir = (windDir + 180) % 360
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to