Kevin Crivelli,Here's what my [[Corrections]] section looks like.
Mine uses '> 0' rather than 'not None'

[StdCalibrate]
>
>     [[Corrections]]
>         # For each type, an arbitrary calibration expression can be given.
>         # It should be in the units defined in the StdConvert section.
>         # Example:  foo = foo + 0.2
>         radiation = luminosity * 0.00789 if luminosity > 0 else None
>         lightning_distance = lightning_distance / 1.609 if
> lightning_strike_count > 0 else None    #convert distance to miles


On Wed, Sep 27, 2023 at 6:49 PM Kevin Crivelli <[email protected]>
wrote:

> [StdCalibrate]
>
>     [[Corrections]]
>         windDir = windDir if windSpeed > 0 else None
>         lightning_distance = lightning_distance if lightning_strike_count
> > 0 else None
>         # For each type, an arbitrary calibration expression can be given.
>         # It should be in the units defined in the StdConvert section.
>         # Example:
>         foo = foo + 0.2
>         radiation = luminosity/126.7 if luminosity is not None else None
>
>
> On Wednesday, September 27, 2023 at 7:11:05 PM UTC-4 Eric K wrote:
>
>> Share the [StdCalibrate]  [[Corrections]] section of your weewx.conf file
>> with us.
>>
>> On Wednesday, September 27, 2023 at 5:53:10 PM UTC-5 Kevin Crivelli wrote:
>>
>> I have the same problem but this didn't work for me. any ideas?
>>
>> On Tuesday, May 18, 2021 at 6:04:08 PM UTC-4 Greg Troxel wrote:
>>
>>
>> Eric K <> writes:
>>
>> > The Acurite Atlas weather sensor provides a UV and a lux value, but not
>> a
>> > radiation value.
>> > I want to use this formula to calculate solar radiation from the lux
>> sensor
>> > in the Acurite Atlas: radiation = lux * 0.0079
>>
>> See also
>>
>> https://github.com/weewx/weewx/wiki/Watts-and-lux
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/oWp-9LivDJo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/fc6b65b0-69be-4ec7-9763-675f62302f48n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/fc6b65b0-69be-4ec7-9763-675f62302f48n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADh_orjKiziRwWUTK%3DgGN2Kao%3DB3n4FGRvvmTDGn355iLpDRqQ%40mail.gmail.com.

Reply via email to