Thank you! I'm gonna try this. Let ya know how it works out

On Fri, Sep 29, 2023, 11:17 AM Eric Koester <eric.koes...@gmail.com> wrote:

> 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 <kevinjcrive...@gmail.com>
> 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
>> weewx-user+unsubscr...@googlegroups.com.
>> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CADh_orjKiziRwWUTK%3DgGN2Kao%3DB3n4FGRvvmTDGn355iLpDRqQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CADh_orjKiziRwWUTK%3DgGN2Kao%3DB3n4FGRvvmTDGn355iLpDRqQ%40mail.gmail.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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAG3iCAzEJEsFO10AFq0B%2BbbYB2iWzi%3D-wVxTENQ0-odxOxJJEw%40mail.gmail.com.

Reply via email to