I just joined this great form a few days ago.

I recently plugged a Davis temperature probe into the spare VP2 UV port to 
try and measure lake water temperature.

Oddly after a bit of reformatting the output seems to be tracking the lake 
temperature with a negative sign as can be seen in the commandeered UV 
below.

Simcoe Temperature --16.2°CCurrent actual lake temperature = 16.1 C.
http://torontowindsurf.com/keswick/index.html

Trial A:
I am trying unsuccessfully  to find where I can perform math functions on 
the UV output to make the displayed temperature match the actual, possibly 
by data curve matching or table lookup. I have looked at the wxformuals.py 
and cannot find a UV section.


Trial B:
Using the Simulator: 
I have tried to take the raw data from the UV simulated sensor and point it 
to the unused extraTemp1 variable by inserting the code below at various 
places in simulator.py without success.
Typically the log file indicates "undefined variable" for both Station and 
extraTemp1 and terminates weewx.
Possibly I should define both those variables as Global?
I have meagre but improving Python skills. 


data['extraTemp1'] = Station.decode_UV(raw)

Simulator.py exerpt:

(very bottom of simulator.py


    data['extraTemp1'] = Station.decode_inTemp(raw)

Any of your thoughts on how to implement this would be greatly appreciated.



-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d2e0159f-451a-4f72-b750-49d772a458ec%40googlegroups.com.

Reply via email to