right - so we can forget setup 1 then since that is working with a radiation field provided.
so for setup 2 you are storing a temperature in extraTemp1 in the database - correct? is that being populated as expected? where is the calculation being performed? If in a template can you post the template. try dT= extraTemp1.raw - outTemp.raw On Friday, 26 July 2019 08:05:34 UTC+3, peter wrote: > > Apologies for confusion. Longer explanation: > Setup 1 (WF station with solar sensor): read 'radiation' from WF station, > compare it to maxSolarRad. Based on the ratio, I decide whether the sky is > sunny (radiation/maxSolarRad =~1), partly cloudy (radiation/maxSolarRad > =~0.5), cloudy (radiation/maxSolarRad =~0.1), etc. > Setup 2 (Vantage Vue with *no* solar sensor): I read temperature from a > jar (store it as 'extraTemp1') and compare it to outTemp. My result is > dT=extraTemp1-outTemp. On a sunny day at noon, the expected difference is > ~15 degC. I want to compare the dT against the current maxSolarRad value in > order to get approximate 'radiation' value. From approximate 'radiation', I > will then compare it against maxSolarRad to get sky conditions (same as in > Setup1). Please note: I'm looking for *approximate* values, no absolute > accuracy. > > The issue is in Setup2 which doesn't want to give me the maxSolarRad. > > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/81f4955a-641c-4b9c-a906-de6a3e18210e%40googlegroups.com.