Selection of the algorithm is in there --- just not documented. (I often do
that with configurations that are not quite settled.)

Here's the default. It will be documented in V4.3.

[StdWXCalculate]
  [[WXXTypes]]
    [[[maxSolarRad]]]
      algorithm = rs
      atc = 0.8
      nfac = 2

Adjust as you please.

-tk

On Mon, Dec 21, 2020 at 10:47 AM Karen K <kk4468...@gmail.com> wrote:

> First, I see 2 different formulas in WeeWX. Additionally there is a factor
> that can be between 0.7 and 0.91. It may be an idea to adjust those values.
> (But in the moment I found no place to put "atc" and "maxSolarRad_algo"
> into weewx.conf.
>
> tke...@gmail.com schrieb am Montag, 21. Dezember 2020 um 19:38:30 UTC+1:
>
>> Well, if someone has a better source for calculating maximum solar
>> radiation, that matches the radiation spectrum of popular sensors, I'm all
>> ears.
>>
>> On Mon, Dec 21, 2020 at 8:19 AM t...@tom.org <t...@tom.org> wrote:
>>
>>> kk, glad you corroborated my observations. I am no expert in this for
>>> sure. I am just tired of all of the comments I get from visitors to the
>>> website about how my readings exceed theoretical max. I could remove the
>>> max, but that doesn't seem fun.
>>>
>>> I do not have the expertise to validate the way weewx calculates it nor
>>> am I even competent in Python, but for those who may, here is a link to the
>>> code:
>>>
>>>
>>> https://github.com/weewx/weewx/blob/d91635f3bc429f906d1f084c6a6bc8ee09fa1a27/bin/weewx/wxformulas.py#L332
>>>
>>>
>>>
>>> On Sunday, December 20, 2020 at 1:26:31 PM UTC-5 kk44...@gmail.com
>>> wrote:
>>>
>>>> I found that thread interesting, so I added the column "maxSolarRad",
>>>> too.
>>>>
>>>> [image: dayradiation.png]
>>>> Readings of the console and the WeatherLinkLive device are quite the
>>>> same. And the readings of "radiation" are higher than "maxSolarRad". The
>>>> values I upload to the local weather network are well in the range of other
>>>> stations nearby.
>>>>
>>>>
>>>> Greg Troxel schrieb am Sonntag, 20. Dezember 2020 um 17:58:01 UTC+1:
>>>>
>>>>>
>>>>> Greg Troxel <g...@lexort.com> writes:
>>>>>
>>>>> > Can someone share how to add maxSolarRad (when it is in the db) to
>>>>> the
>>>>> > graphs for the traditional skin? Can I graph radiation, max
>>>>> (observed),
>>>>> > and theory all at once, having three?
>>>>>
>>>>> The answer is to just add it and label it; it comes out in green after
>>>>> radiation in blue and max in red. Pro Tip: add it after radiation_max,
>>>>> which is the max of local observations, and don't stick the line after
>>>>> the radiation_max header and the 4 lines defining how max should be.
>>>>>
>>>>>
>>>>> [[[dayradiation]]]
>>>>> [[[[radiation]]]]
>>>>> [[[[radiation_max]]]]
>>>>> data_type = radiation
>>>>> aggregate_type = max
>>>>> aggregate_interval = 3600
>>>>> label = max
>>>>> [[[[maxSolarRad]]]]
>>>>> label = theory
>>>>>
>>>> --
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/8b44e185-9f77-4cfd-b024-a7df7f79b617n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/8b44e185-9f77-4cfd-b024-a7df7f79b617n%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/bddae2eb-83d0-48f6-a4ae-7b996a49fe45n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/bddae2eb-83d0-48f6-a4ae-7b996a49fe45n%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/CAPq0zEAZQv_%3DvC4ric8P11FKiBX%3DG5G%2BpSM1kDAf3P89pfQDZw%40mail.gmail.com.

Reply via email to