Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-03 Thread Manfred Maier
Thanks, vince!

... and meanwhile I found the answer to question 2 myself. Reading 
documentation sometimes helps :)


Am Samstag, 2. Mai 2020 22:51:03 UTC+2 schrieb vince:
>
> On Saturday, May 2, 2020 at 1:37:30 PM UTC-7, Manfred Maier wrote:
>>
>> 1) Is there somewhere a list of packages that should be updated to Python 
>> 3?
>>
>
> http://www.weewx.com/docs/setup.htm has a nice list
>
>  
>

-- 
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/88ec7f19-fbc8-426d-a559-abe7f2e5638f%40googlegroups.com.


Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread vince
On Saturday, May 2, 2020 at 1:37:30 PM UTC-7, Manfred Maier wrote:
>
> 1) Is there somewhere a list of packages that should be updated to Python 
> 3?
>

http://www.weewx.com/docs/setup.htm has a nice list

 

-- 
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/e68f800a-e384-4a04-917d-4f47848b02a6%40googlegroups.com.


Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
User 'Dale' nailed it!

After installing ephem for Python3 I have maxSolarRad back in my database 
:). 
Thanks so much! The support here is absolutely fantastic!

Three related questions:
1) Is there somewhere a list of packages that should be updated to Python 3?
2) Is there a way to calculate maxSolarRad for the missing times in the 
database?
3) Is there somewhere a 'piggybank' for the weewx developers? Haven't found 
anything on the website.

Manfred 



Am Samstag, 2. Mai 2020 22:24:10 UTC+2 schrieb Tom Keffer:
>
> Manfred, user 'Dale' suggested to me offline that the problem could be 
> that you have not installed the package 'ephem' for Python 3.
>
> *sudo apt install python3-ephem*
>
> -tk
>
>
>>>
>>>

-- 
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/f10ec4eb-03ac-48bb-878e-e404d1d8ab26%40googlegroups.com.


Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
Manfred, user 'Dale' suggested to me offline that the problem could be that
you have not installed the package 'ephem' for Python 3.

*sudo apt install python3-ephem*

-tk

On Sat, May 2, 2020 at 1:20 PM Tom Keffer  wrote:

> That looks normal.
>
> When you run weewxd directly from the command line, what do you see for
> maxSolarRad values? Check both LOOP packets (marked with LOOP:) and archive
> records (marked with REC:)
>
> -tk
>
> On Sat, May 2, 2020 at 1:12 PM Manfred Maier 
> wrote:
>
>> Here you go.
>> syslog since the restart of weewx
>>
>> --
>> 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/1325bd11-dfd0-4683-98aa-ae2835321cb0%40googlegroups.com
>> 
>> .
>>
>

-- 
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/CAPq0zEBzDuRXcww3Wf-wm8FkP9JQ36qtXYCY-pNhZniYJvA8Kw%40mail.gmail.com.


Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
That looks normal.

When you run weewxd directly from the command line, what do you see for
maxSolarRad values? Check both LOOP packets (marked with LOOP:) and archive
records (marked with REC:)

-tk

On Sat, May 2, 2020 at 1:12 PM Manfred Maier 
wrote:

> Here you go.
> syslog since the restart of weewx
>
> --
> 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/1325bd11-dfd0-4683-98aa-ae2835321cb0%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEC8v2F9K16t3L6s0Nu1W4fE4G4u%2B0fdyCg7K6%2BdPsgyuw%40mail.gmail.com.


Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
Here you go.
syslog since the restart of weewx

-- 
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/1325bd11-dfd0-4683-98aa-ae2835321cb0%40googlegroups.com.
May  2 21:58:00 raspberrypi systemd[1]: Starting LSB: weewx weather system...
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: Initializing weewx 
version 4.0.0
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: Using Python 3.7.3 
(default, Apr  3 2019, 05:39:12) #012[GCC 8.2.0]
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: Platform 
Linux-4.19.58-v7l+-armv7l-with-debian-10.0
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: Locale is 'de_DE.UTF-8'
May  2 21:58:00 raspberrypi weewx[2187] INFO __main__: PID file is 
/var/run/weewx.pid
May  2 21:58:00 raspberrypi weewx[2191] INFO __main__: Using configuration file 
/etc/weewx/weewx.conf
May  2 21:58:00 raspberrypi weewx[2191] DEBUG __main__: Initializing engine
May  2 21:58:00 raspberrypi weewx[2191] INFO weewx.engine: Loading station type 
Meteostick (user.meteostick)
May  2 21:58:00 raspberrypi weewx[2175]: Starting weewx weather system: weewx.
May  2 21:58:00 raspberrypi systemd[1]: Started LSB: weewx weather system.
May  2 21:58:00 raspberrypi /weewxd: meteostick: driver version is 0.61
May  2 21:58:00 raspberrypi /weewxd: meteostick: using rain_bucket_type 1
May  2 21:58:00 raspberrypi /weewxd: meteostick: sensor map is: {'pressure': 
'pressure', 'inTemp': 'temp_in', 'windSpeed': 'wind_speed', 'windDir': 
'wind_dir', 'outTemp': 'temperature', 'outHumidity': 'humidity', 'inHumidity': 
'humidity_in', 'radiation': 'solar_radiation', 'UV': 'uv', 'rxCheckPercent': 
'pct_good', 'soilTemp1': 'soil_temp_1', 'soilTemp2': 'soil_temp_2', 
'soilTemp3': 'soil_temp_3', 'soilTemp4': 'soil_temp_4', 'soilMoist1': 
'soil_moisture_1', 'soilMoist2': 'soil_moisture_2', 'soilMoist3': 
'soil_moisture_3', 'soilMoist4': 'soil_moisture_4', 'leafWet1': 
'leaf_wetness_1', 'leafWet2': 'leaf_wetness_2', 'leafTemp1': 'leaf_temp_1', 
'leafTemp2': 'leaf_temp_2', 'extraTemp1': 'temp_1', 'extraTemp2': 'temp_2', 
'extraTemp3': 'temp_3', 'extraHumid1': 'humid_1', 'extraHumid2': 'humid_2', 
'txBatteryStatus': 'bat_iss', 'windBatteryStatus': 'bat_anemometer', 
'rainBatteryStatus': 'bat_leaf_soil', 'outTempBatteryStatus': 'bat_th_1', 
'inTempBatteryStatus': 'bat_th_2', 'referenceVoltage': 'solar_power', 
'supplyVoltage': 'supercap_volt'}
May  2 21:58:00 raspberrypi /weewxd: meteostick: using serial port /dev/ttyUSB0
May  2 21:58:00 raspberrypi /weewxd: meteostick: using baudrate 115200
May  2 21:58:00 raspberrypi /weewxd: meteostick: using frequency EU
May  2 21:58:00 raspberrypi /weewxd: meteostick: using rf sensitivity 90 (-90 
dB)
May  2 21:58:00 raspberrypi /weewxd: meteostick: using iss_channel 1
May  2 21:58:00 raspberrypi /weewxd: meteostick: using anemometer_channel 2
May  2 21:58:00 raspberrypi /weewxd: meteostick: using leaf_soil_channel 0
May  2 21:58:00 raspberrypi /weewxd: meteostick: using temp_hum_1_channel 0
May  2 21:58:00 raspberrypi /weewxd: meteostick: using temp_hum_2_channel 0
May  2 21:58:00 raspberrypi /weewxd: meteostick: using transmitters 03
May  2 21:58:00 raspberrypi /weewxd: meteostick: establish communication with 
the meteostick
May  2 21:58:02 raspberrypi /weewxd: meteostick: reset: 
May  2 21:58:02 raspberrypi /weewxd: meteostick: configure meteostick to logger 
mode
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.engine.StdTimeSynch
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Finished loading 
service weewx.engine.StdTimeSynch
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.engine.StdConvert
May  2 21:58:04 raspberrypi weewx[2191] INFO weewx.engine: StdConvert target 
unit is 0x1
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Finished loading 
service weewx.engine.StdConvert
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.engine.StdCalibrate
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Finished loading 
service weewx.engine.StdCalibrate
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.engine.StdQC
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Finished loading 
service weewx.engine.StdQC
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.engine: Loading service 
weewx.wxservices.StdWXCalculate
May  2 21:58:04 raspberrypi weewx[2191] DEBUG weewx.manager: Daily summary 
version is 2.0
May  2 21:58:04 raspberrypi weewx[2191] INFO weewx.wxservices: The following 
values will be calculated: pressure=prefer_hardware, barometer=prefer_hardware, 
altimeter=prefer_hardware, windchill=prefer_hardware, 
heatindex=prefer_hardware, 

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
I suspect that you're missing something to do the calculation. Let's check
by using the attached instrumented version of wxservices.py.

If you used a package installer, it goes in
/usr/share/weewx/weewx/wxservices.py

If you used the setup.py install method, it goes in
/home/weewx/bin/weewx/wxservices.py.

Restart weewx. Let it run for an archive interval, post the log.

-tk

On Sat, May 2, 2020 at 12:30 PM Manfred Maier 
wrote:

> 1) In the archive table in the database it's  since I've switched to
> the Python 3 version.
> I've just noticed, that appTemp and windrun were also affected for a
> couple of hours (also ). But both meanwhile get calculated and have
> valid values in the database
>
> 2) This is what I find in the log:
>
> May  2 21:01:43 raspberrypi wee_reports[3538] INFO weewx.wxservices: The
> following values will be calculated: pressure=prefer_hardware,
> barometer=prefer_hardware, altimeter=prefer_hardware,
> windchill=prefer_hardware, heatindex=prefer_hardware,
> dewpoint=prefer_hardware, inDewpoint=prefer_hardware,
> rainRate=prefer_hardware, maxSolarRad=prefer_hardware,
> windrun=prefer_hardware, appTemp=prefer_hardware,
> cloudbase=prefer_hardware, humidex=prefer_hardware, ET=prefer_hardware
>
> May  2 21:01:43 raspberrypi wee_reports[3538] INFO weewx.wxservices: The
> following algorithms will be used for calculations: altimeter=aaASOS,
> maxSolarRad=RS
>
>
>
>
> Am Samstag, 2. Mai 2020 21:18:39 UTC+2 schrieb Tom Keffer:
>>
>> 1. When you say "maxSolarRadiation isn't calculated" do you mean it does
>> not appear in LOOP or archive records at all? Or, that it has value None?
>>
>> 2. Look in the system log for something like
>>
>> May  2 07:21:39 nuc weewx[110614] INFO weewx.wxservices: The following
>> values will be calculated: 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
>>
>> What does it say?
>>
>> -tk
>>
>>
>>
>> On Sat, May 2, 2020 at 11:57 AM Manfred Maier  wrote:
>>
>>> Hi,
>>> I've just detected that maxSolarRadiation isn't calculated since I've
>>> switched to the Python 3 version of Weewx.
>>> Before switching to Python 3, I already had the Python 2 version of
>>> 4.0.0 installed for a couple of hours. maxSolarRad got calculated during
>>> that time.
>>>
>>> Any idea what the issue could be?
>>>
>>> maxSolarRad is included in the weewx.conf.
>>> I've tried the prefer_hardware and software option.
>>>
>>> [StdWXCalculate]
>>>
>>>
>>> [[Calculations]]
>>>
>>> # How to calculate derived quantities.  Possible values are:
>>>
>>> #  hardware- use the value provided by hardware
>>>
>>> #  software- use the value calculated by weewx
>>>
>>> #  prefer_hardware - use value provide by hardware if available,
>>>
>>> #  otherwise use value calculated by weewx
>>>
>>>
>>> pressure = prefer_hardware
>>>
>>> barometer = prefer_hardware
>>>
>>> altimeter = prefer_hardware
>>>
>>> windchill = prefer_hardware
>>>
>>> heatindex = prefer_hardware
>>>
>>> dewpoint = prefer_hardware
>>>
>>> inDewpoint = prefer_hardware
>>>
>>> rainRate = prefer_hardware
>>>
>>> maxSolarRad = prefer_hardware
>>>
>>> windrun = prefer_hardware
>>>
>>> appTemp = prefer_hardware
>>>
>>> cloudbase = prefer_hardware
>>>
>>> humidex = prefer_hardware
>>>
>>> ET = prefer_hardware
>>>
>>> --
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/c1744cac-b0ab-4d71-bda3-bbfe438ddf42%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/e7ffbd8a-3d0c-46cd-b3c3-86d5005d76d8%40googlegroups.com
> 
> .
>

-- 
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, 

Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
1) In the archive table in the database it's  since I've switched to 
the Python 3 version. 
I've just noticed, that appTemp and windrun were also affected for a couple 
of hours (also ). But both meanwhile get calculated and have valid 
values in the database

2) This is what I find in the log:

May  2 21:01:43 raspberrypi wee_reports[3538] INFO weewx.wxservices: The 
following values will be calculated: pressure=prefer_hardware, 
barometer=prefer_hardware, altimeter=prefer_hardware, 
windchill=prefer_hardware, heatindex=prefer_hardware, 
dewpoint=prefer_hardware, inDewpoint=prefer_hardware, 
rainRate=prefer_hardware, maxSolarRad=prefer_hardware, 
windrun=prefer_hardware, appTemp=prefer_hardware, 
cloudbase=prefer_hardware, humidex=prefer_hardware, ET=prefer_hardware

May  2 21:01:43 raspberrypi wee_reports[3538] INFO weewx.wxservices: The 
following algorithms will be used for calculations: altimeter=aaASOS, 
maxSolarRad=RS




Am Samstag, 2. Mai 2020 21:18:39 UTC+2 schrieb Tom Keffer:
>
> 1. When you say "maxSolarRadiation isn't calculated" do you mean it does 
> not appear in LOOP or archive records at all? Or, that it has value None?
>
> 2. Look in the system log for something like
>
> May  2 07:21:39 nuc weewx[110614] INFO weewx.wxservices: The following 
> values will be calculated: 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
>
> What does it say?
>
> -tk
>
>
>
> On Sat, May 2, 2020 at 11:57 AM Manfred Maier  > wrote:
>
>> Hi,
>> I've just detected that maxSolarRadiation isn't calculated since I've 
>> switched to the Python 3 version of Weewx.
>> Before switching to Python 3, I already had the Python 2 version of 4.0.0 
>> installed for a couple of hours. maxSolarRad got calculated during that 
>> time.
>>
>> Any idea what the issue could be? 
>>
>> maxSolarRad is included in the weewx.conf.
>> I've tried the prefer_hardware and software option.
>>
>> [StdWXCalculate]
>>
>>
>> [[Calculations]]
>>
>> # How to calculate derived quantities.  Possible values are:
>>
>> #  hardware- use the value provided by hardware
>>
>> #  software- use the value calculated by weewx
>>
>> #  prefer_hardware - use value provide by hardware if available,
>>
>> #  otherwise use value calculated by weewx
>>
>>
>> pressure = prefer_hardware
>>
>> barometer = prefer_hardware
>>
>> altimeter = prefer_hardware
>>
>> windchill = prefer_hardware
>>
>> heatindex = prefer_hardware
>>
>> dewpoint = prefer_hardware
>>
>> inDewpoint = prefer_hardware
>>
>> rainRate = prefer_hardware
>>
>> maxSolarRad = prefer_hardware
>>
>> windrun = prefer_hardware
>>
>> appTemp = prefer_hardware
>>
>> cloudbase = prefer_hardware
>>
>> humidex = prefer_hardware
>>
>> ET = prefer_hardware
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/c1744cac-b0ab-4d71-bda3-bbfe438ddf42%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/e7ffbd8a-3d0c-46cd-b3c3-86d5005d76d8%40googlegroups.com.


Re: [weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Tom Keffer
1. When you say "maxSolarRadiation isn't calculated" do you mean it does
not appear in LOOP or archive records at all? Or, that it has value None?

2. Look in the system log for something like

May  2 07:21:39 nuc weewx[110614] INFO weewx.wxservices: The following
values will be calculated: 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

What does it say?

-tk



On Sat, May 2, 2020 at 11:57 AM Manfred Maier 
wrote:

> Hi,
> I've just detected that maxSolarRadiation isn't calculated since I've
> switched to the Python 3 version of Weewx.
> Before switching to Python 3, I already had the Python 2 version of 4.0.0
> installed for a couple of hours. maxSolarRad got calculated during that
> time.
>
> Any idea what the issue could be?
>
> maxSolarRad is included in the weewx.conf.
> I've tried the prefer_hardware and software option.
>
> [StdWXCalculate]
>
>
> [[Calculations]]
>
> # How to calculate derived quantities.  Possible values are:
>
> #  hardware- use the value provided by hardware
>
> #  software- use the value calculated by weewx
>
> #  prefer_hardware - use value provide by hardware if available,
>
> #  otherwise use value calculated by weewx
>
>
> pressure = prefer_hardware
>
> barometer = prefer_hardware
>
> altimeter = prefer_hardware
>
> windchill = prefer_hardware
>
> heatindex = prefer_hardware
>
> dewpoint = prefer_hardware
>
> inDewpoint = prefer_hardware
>
> rainRate = prefer_hardware
>
> maxSolarRad = prefer_hardware
>
> windrun = prefer_hardware
>
> appTemp = prefer_hardware
>
> cloudbase = prefer_hardware
>
> humidex = prefer_hardware
>
> ET = prefer_hardware
>
> --
> 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/c1744cac-b0ab-4d71-bda3-bbfe438ddf42%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEDYmcNKO2y0WbABL34Ba6_Juk695tAch3xLhj0Qcpv9XQ%40mail.gmail.com.


[weewx-user] maxSolarRad not calculated since switching to Python 3

2020-05-02 Thread Manfred Maier
Hi,
I've just detected that maxSolarRadiation isn't calculated since I've 
switched to the Python 3 version of Weewx.
Before switching to Python 3, I already had the Python 2 version of 4.0.0 
installed for a couple of hours. maxSolarRad got calculated during that 
time.

Any idea what the issue could be? 

maxSolarRad is included in the weewx.conf.
I've tried the prefer_hardware and software option.

[StdWXCalculate]


[[Calculations]]

# How to calculate derived quantities.  Possible values are:

#  hardware- use the value provided by hardware

#  software- use the value calculated by weewx

#  prefer_hardware - use value provide by hardware if available,

#  otherwise use value calculated by weewx


pressure = prefer_hardware

barometer = prefer_hardware

altimeter = prefer_hardware

windchill = prefer_hardware

heatindex = prefer_hardware

dewpoint = prefer_hardware

inDewpoint = prefer_hardware

rainRate = prefer_hardware

maxSolarRad = prefer_hardware

windrun = prefer_hardware

appTemp = prefer_hardware

cloudbase = prefer_hardware

humidex = prefer_hardware

ET = prefer_hardware

-- 
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/c1744cac-b0ab-4d71-bda3-bbfe438ddf42%40googlegroups.com.