Tom,

OK, clear. I’m fine with that.

Could you please make a note in the changes document that this feature has 
gone and that one manually must add the corresponding lines to the 
weewx.conf file?

Now, unfortunately, I miss 14 days of values for humidex, appTemp, 
cloudbase, windrun and maxSolarRad.

Luc

On Sunday, 12 April 2020 13:40:40 UTC-3, Tom Keffer wrote:
>
> It  was removed because not all weewx installations deal with weather. It 
> makes no sense to try and calculate 'barometer' in an installation that 
> monitors energy use.
>
> On Sun, Apr 12, 2020 at 8:24 AM Lucas Heijst <[email protected] 
> <javascript:>> wrote:
>
>> Sorry Tom,
>>
>> I was wrong. The change happened between version 4.0.0a4 and 4.0.0b13 
>> (the versions in between I didn't download)
>>
>> Version 4.0.0a4 had in wxservices a section _dispatch_list which 'did 
>> the trick' of the automatic calculations, see below.
>> So my question is: why is this feature removed?
>>
>> Luc
>>
>> Part of wxservices 4.0.0.a4
>> ==================================================
>>     # these are the quantities that this service knows how to calculate
>>     _dispatch_list = [
>>         'pressure', # pressure must be before altimeter
>>         'barometer',
>>         'altimeter',
>>         'windchill',
>>         'heatindex',
>>         'dewpoint',
>>         'inDewpoint',
>>         'rainRate',
>>         'maxSolarRad',
>>         'cloudbase',
>>         'humidex',
>>         'appTemp',
>> #        'beaufort',
>>         'ET',
>>         'windrun',
>>         ]
>> ==================================================
>>
>>  
>> On Sunday, 12 April 2020 12:00:03 UTC-3, Tom Keffer wrote:
>>>
>>> Luc, download the file weewx-4.0.0b18.tar.gz 
>>> <http://weewx.com/downloads/development_versions/weewx-4.0.0b18.tar.gz> 
>>> from the weewx downloads directory. The entries are not commented out. I 
>>> don't know where you got your copy.
>>>
>>> I'll check into cloudbase.
>>>
>>> -tk
>>>
>>>
>>> On Sun, Apr 12, 2020 at 7:55 AM Lucas Heijst <[email protected]> wrote:
>>>
>>>> See the differences of both versions of wxservices in the attachment.
>>>>
>>>> As an example how it used to work in version 4.0.0b14 and earlier:
>>>> To have the value of 'cloudbase' calculated automatically, you had to 
>>>> add the field 'cloudbase' to the database.
>>>> No other actions were needed. 
>>>>
>>>> Since the change in wxservices.py (4.0.0b17 and later) you have to add 
>>>> the line:
>>>>         cloudbase = prefer_hardware
>>>> yourself to the [[Calculations]] section of weewx.conf
>>>>
>>>> Luc
>>>>
>>>> On Sunday, 12 April 2020 11:39:52 UTC-3, Tom Keffer wrote:
>>>>>
>>>>> Not sure what you are referring to. If you look at the current version 
>>>>> of weewx.conf <https://github.com/weewx/weewx/blob/master/weewx.conf>, 
>>>>> as well as the version in the weewx-4.0.0b18.tar.gz tarball, the options 
>>>>> are not commented out.
>>>>>
>>>>> -tk
>>>>>
>>>>> On Sun, Apr 12, 2020 at 6:39 AM Lucas Heijst <[email protected]> 
>>>>> wrote:
>>>>>
>>>>>> Tom,
>>>>>>
>>>>>> In version 4.0.0b18 the follwing settings are commented out in 
>>>>>> wxservices:
>>>>>>
>>>>>>     [[Calculations]]
>>>>>>         # Order matters! Type 'pressure' must come before 'altimeter' 
>>>>>> and 'barometer'
>>>>>>         # pressure = prefer_hardware
>>>>>>         # altimeter = prefer_hardware
>>>>>>         # appTemp = prefer_hardware
>>>>>>         # barometer = prefer_hardware
>>>>>>         # beaufort = prefer_hardware        
>>>>>>         # cloudbase = prefer_hardware
>>>>>>         # dewpoint = prefer_hardware
>>>>>>         # ET = prefer_hardware
>>>>>>         # heatindex = prefer_hardware
>>>>>>         # humidex = prefer_hardware
>>>>>>         # inDewpoint = prefer_hardware
>>>>>>         # maxSolarRad = prefer_hardware
>>>>>>         # rainRate = prefer_hardware
>>>>>>         # windchill = prefer_hardware
>>>>>>         # windrun = prefer_hardware
>>>>>>
>>>>>> While they were not commented out in version 4.0.0.b14 and earlier.
>>>>>>
>>>>>> As a result the values of cloudbase, maxSolarRad, appTemp, humidex 
>>>>>> (and others) are nor calculated automatically anymore in version 4.0.0b18
>>>>>> I had to add them explicitely in the [Calculations] section of 
>>>>>> weewx.conf.
>>>>>>
>>>>>> What is the reason of this change?
>>>>>>
>>>>>> Luc
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "weewx-development" 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-development/8604aa4a-9efd-403f-ab41-079c4836d447%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-development/8604aa4a-9efd-403f-ab41-079c4836d447%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "weewx-development" 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-development/8ee34c40-f1d5-4f04-b593-b430d471d8b3%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-development/8ee34c40-f1d5-4f04-b593-b430d471d8b3%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-development/d6d09b35-ec7d-44f0-9afe-5c77a9ec4a07%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-development/d6d09b35-ec7d-44f0-9afe-5c77a9ec4a07%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/88a944e3-c5b7-49a7-ac22-bdd71f8f25ae%40googlegroups.com.

Reply via email to