Hallo
what do i have to do when i do that
in phenology.conf
[[Acyrthosiphon pisum]]
name_common = "Pea Aphid"
[[[Model C0101]]]
want to calculate
1. in skins.conf
[Extras]
# generation_date = 2018, 6, 30, 0, 0
phenologies = phenology.conf models = M001, C0004, C0023, C0101
[ImageGenerator]
[[four-week_images]]
[[[Codling Moth]]]
[[[[M001_accum]]]]
[[[Apple Maggot]]]
[[[[C0004_accum]]]]
[[[Cabbage Maggot]]]
[[[[C0023_accum]]]]
[[[Pea Aphid]]]
[[[[C0101_accum]]]]
then the error follows
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: Generate
failed with exception '<class 'weewx.UnknownType'>'
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: ****
Ignoring template
/home/weewx/skins/Phenology/cumulative_growing_degree_days.html.tmpl
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: **** Reason:
C0101
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: ****
Traceback (most recent call last):
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: ****
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 324, in generate
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: ****
unicode_string = compiled_template.respond()
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: ****
File
"_home_weewx_skins_Phenology_cumulative_growing_degree_days_html_tmpl.py",
line 390, in respond
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: ****
File "/home/weewx/bin/weewx/xtypes.py", line 91, in get_series
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: ****
raise weewx.UnknownType(obs_type)
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: ****
weewx.UnknownType: C0101
I am a little at a loss
Hartmut
[email protected] schrieb am Freitag, 12. März 2021 um 04:51:29 UTC+1:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 10 Mar 2021 22:09:33 -0800 (PST)
> "[email protected]" <[email protected]> wrote:
>
> > 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>
>
> Yes, I use *emacs* as a code editor, and it doesn't know what to make
> of *.tmpl files. It chooses odd tab settings. Thanks for the
> suggestion. This is fixed in the next release ... unless I make some
> more changes, and then the tabs will go back to defaults on the lines
> I change. It's stupid; I know.
>
> - --
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 42° — Wind W 8 mph
>
> -----BEGIN PGP SIGNATURE-----
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYErkBAAKCRBg2/xipKOW
> UsKrAJ9DPAH0j2GgofAhu2JjyxHAYn4W3ACfZhura6jdM82ZzUHXDNh50oKXwgI=
> =mZsk
> -----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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/e1973a64-96fe-4924-a327-289f6b127655n%40googlegroups.com.