Weather Software > WeeWX Software
Multiple weather stations but combine readings
(1/1)
weeeeee:
I am new to weewx and have this question which has probably been answered before but I couldn't find an answer.
I have set my weewx instance to collect data from two weather stations (station1 and station2).
I would like to generate a report that combines the data from each weather station and I have found the required documentation for that in the wiki.
What I cannot find out how to do is the following:
Lets say I want to output the maximum outside temperature, I will have two readings $station1.outTemp and $station2.outTemp. How do I pick the maximum? Should I create some sort of xtype?
I would like to expand this to other properties like humidity, wind speed etc and also other magnitudes like minimum or average.
Mattk:
Using a bit of logic [tup] If $station1.outTemp > $station2.outTemp then use $station1.outTemp else use $station2.outTemp =D>
weeeeee:
Where would I put this logic? In the skin templates? (I'm sorry if this is simple but I am very new with weewx).
vinceskahan:
You should really subscribe to the weewx-user google group and ask this one over there. Your use case is pretty odd to say the least. Why would you want to do this at all, and how would you know which station's readings to trust ?
It might help if you say what kind(s) of stations you have and how they are connected.
Navigation
[0] Message Index
Go to full version