good morning from Germany

supplement
I had tested 
Mar  9 10:18:14 hesba weewx[805] INFO __main__: Initializing weewx version 
4.5.0
Mar  9 10:18:14 hesba weewx[805] INFO __main__: Using Python 3.5.3 
(default, Nov 18 2020, 21:09:16) #012[GCC 6.3.0 20170516]
Mar  9 10:18:14 hesba weewx[805] INFO __main__: Platform 
Linux-3.4.111-bananian-armv7l-with-debian-9.13
Mar  9 10:18:14 hesba weewx[805] INFO __main__: Locale is 'de_DE.UTF-8'
Mar  9 10:18:14 hesba weewx[805] INFO __main__: PID file is 
/var/run/weewx.pid
Mar  9 10:18:14 hesba weewx[809] INFO __main__: Using configuration file 
/home/weewx/weewx.conf
Mar  9 10:18:14 hesba weewx[809] INFO __main__: Debug is 0
Mar  9 10:18:14 hesba weewx[809] INFO weewx.engine: Loading station type 
Meteostick (user.meteostick)
Mar  9 10:18:14 hesba weewx[809] INFO user.meteostick: driver version is 
0.62
...
Mar  9 10:18:32 hesba weewx[31721] INFO weewx.engine: StdConvert target 
unit is 0x10
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__: Caught unrecoverable 
exception:
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****  invalid 
syntax (growing_degrees.py, line 290)
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****  Traceback 
(most recent call last):
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewxd", line 151, in main
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****      engine 
= weewx.engine.StdEngine(config_dict)
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****      
self.loadServices(config_dict)
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****      obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****      mod = 
__import__(module)
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****    File 
"/home/weewx/bin/user/phenologyservice.py", line 35, in <module>
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****      import 
user.growing_degrees
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****    File 
"/home/weewx/bin/user/growing_degrees.py", line 290
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****      def 
gdd_single_sine_no_cutoff(day_max_temp, day_min_temp, threshold_temp, 
**dummies)
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     
****                                                                            
            
                                                                            
    ^
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****  
SyntaxError: invalid syntax
Mar  9 10:18:33 hesba weewx[31721] CRITICAL __main__:     ****  Exiting.

then def gdd_single_sine_no_cutoff(
             day_max_temp,
             day_min_temp,
             threshold_temp,
             **dummies
             )

Mar  9 10:28:38 hesba weewx[32747] INFO weewx.engine: StdConvert target 
unit is 0x10
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__: Caught unrecoverable 
exception:
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****  invalid 
syntax (growing_degrees.py, line 294)
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****  Traceback 
(most recent call last):
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewxd", line 151, in main
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****      engine 
= weewx.engine.StdEngine(config_dict)
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****      
self.loadServices(config_dict)
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****      obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****      mod = 
__import__(module)
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****    File 
"/home/weewx/bin/user/phenologyservice.py", line 35, in <module>
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****      import 
user.growing_degrees
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****    File 
"/home/weewx/bin/user/growing_degrees.py", line 294
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****      )
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****      ^
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****  
SyntaxError: invalid syntax
Mar  9 10:28:38 hesba weewx[32747] CRITICAL __main__:     ****  Exiting.

and
def gdd_single_sine_no_cutoff(
       day_max_temp,
       day_min_temp,
       threshold_temp,
       **dummies)

Mar  9 10:30:32 hesba weewx[767] INFO weewx.engine: StdConvert target unit 
is 0x10
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__: Caught unrecoverable 
exception:
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****  invalid 
syntax (growing_degrees.py, line 294)
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****  Traceback 
(most recent call last):
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewxd", line 151, in main
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****      engine = 
weewx.engine.StdEngine(config_dict)
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****      
self.loadServices(config_dict)
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****      obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****      mod = 
__import__(module)
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****    File 
"/home/weewx/bin/user/phenologyservice.py", line 35, in <module>
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****      import 
user.growing_degrees
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****    File 
"/home/weewx/bin/user/growing_degrees.py", line 294
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****      **dummies)
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****                
          ^
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****  SyntaxError: 
invalid syntax
Mar  9 10:30:32 hesba weewx[767] CRITICAL __main__:     ****  Exiting.

and than update python 3.5 to python 3.7 (buster)

Mar 10 16:35:51 hesba weewx[26246] INFO __main__: Initializing weewx 
version 4.4.1
Mar 10 16:35:51 hesba weewx[26246] INFO __main__: Using Python 3.7.3 
(default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
Mar 10 16:35:51 hesba weewx[26246] INFO __main__: Platform 
Linux-3.4.111-bananian-armv7l-with-debian-9.13
Mar 10 16:35:51 hesba weewx[26246] INFO __main__: Locale is 'de_DE.UTF-8'
Mar 10 16:35:51 hesba weewx[26246] INFO __main__: PID file is 
/var/run/weewx.pid
Mar 10 16:35:51 hesba weewx[26250] INFO __main__: Using configuration file 
/home/weewx/weewx.conf
Mar 10 16:35:51 hesba weewx[26250] INFO __main__: Debug is 0
Mar 10 16:35:52 hesba weewx[26250] INFO weewx.engine: Loading station type 
Meteostick (user.meteostick)
...
Mar 10 16:40:16 hesba weewx[26250] INFO weewx.manager: Added record 
2021-03-10 16:40:00 CET (1615390800) to database 'weewxMESO'
Mar 10 16:40:17 hesba weewx[26250] INFO weewx.manager: Added record 
2021-03-10 16:40:00 CET (1615390800) to daily summary in 'weewxMESO'
Mar 10 16:40:17 hesba weewx[26250] INFO weewx.manager: Added record 
2021-03-10 16:40:00 CET (1615390800) to database 'weewxMESOWD'
Mar 10 16:40:17 hesba weewx[26250] INFO weewx.manager: Added record 
2021-03-10 16:40:00 CET (1615390800) to daily summary in 'weewxMESOWD'
Mar 10 16:40:34 hesba weewx[26250] INFO weewx.cheetahgenerator: Generated 8 
files for report SeasonsReport in 15.34 seconds
Mar 10 16:40:36 hesba weewx[26250] INFO weewx.imagegenerator: Generated 15 
images for report SeasonsReport in 2.52 seconds
Mar 10 16:40:36 hesba weewx[26250] INFO weewx.reportengine: Copied 5 files 
to /home/weewx/public_html
Mar 10 16:40:37 hesba weewx[26250] INFO weewx.cheetahgenerator: Generated 1 
files for report cmon in 0.21 seconds
Mar 10 16:41:46 hesba weewx[26250] INFO weewx.imagegenerator: Generated 32 
images for report cmon in 69.67 seconds
Mar 10 16:42:06 hesba weewx[26250] INFO weewx.cheetahgenerator: Generated 6 
files for report PhenologyReport in 19.79 seconds
Mar 10 16:43:24 hesba weewx[26250] INFO user.phenologygenerator: Generated 
63 images for report PhenologyReport in 77.00 seconds
Mar 10 16:43:39 hesba weewx[26250] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 130 files in 14.51 seconds

Thanks for the great job

please a note too "cumulative_growing_degree_days.html.tmpl"
        #if $model.name_scientific == $model.name_common
      <h1>$model.name_scientific</h1>
<------>#else
      <h1>$model.name_scientific ($model.name_common)</h1>
<------>#end if name_scientific == name_common....
      </div>

<------><tr><th align=right>Location:</th><th 
align=left>$station.location</th></tr>
<------><tr><th align=right>Run Date:</th><th 
align=left>$run_date_h.format($now_format, add_label=False)</th></tr>
<------><tr><th align=right>Model:</th><th 
align=left>$model.name_model</th></tr>
<------><tr><th align=right>Threshold:</th><th 
align=left>$threshold_h.format()</th></tr>
<------><tr><th align=right>Cutoff:</th><th 
align=left>$cutoff_h.format()</th></tr>
        <tr><th align=right>Method:</th><th 
align=left>$model.method</th></tr>
        <tr><th align=right>Model Ref:</th><th align=left><a 
href="$model.ref">$model.ref</a></th></tr>
      </table>
Thanks for your trouble

Hartmut
charlescu...@gmail.com schrieb am Donnerstag, 11. März 2021 um 04:14:14 
UTC+1:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 10 Mar 2021 07:55:49 -0800 (PST)
> "hesf...@gmail.com" <hesf...@gmail.com> wrote:
>
> > but the calculations are made in a mixture of degrees C and degrees F.
>
> Carsten Bitter reported the problem with the Cumulative Growing
> Degree-Days report. This is fixed in weewx-phenology-1.2 available at:
>
> o http://lacusveris.com/Phenology/weewx-phenology-1.2.tar.gz
>
> Full documentation is at:
>
> o http://lacusveris.com/Phenology/index.shtml
>
> Thanks for your interest in the Phenology Extension to WeeWX and for
> sticking with it.
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 
>
> -----BEGIN PGP SIGNATURE-----
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEmLAAAKCRBg2/xipKOW
> Ul2EAJ90/L3cbALSb5oryMWmGz0sYOwbqQCfYwueokrJlBnbb5nhNPh5gMtnMbs=
> =p9j4
> -----END PGP SIGNATURE-----
>

-- 
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/b4393266-1b6e-4648-a868-6ce2eb2a2c64n%40googlegroups.com.

Reply via email to