I could idenify the main reason for my problem. If the right border of the timeline has already reached the new year 2024 while the current date (last database entry) is still in 2023 that line is intentionally skipped triggered by skip_if_empty - see the the debugging of imagegenerator.py within the program "wee_reports .... --date 2023-12-31 --time=15:00"
-> if skip:
(Pdb) print(line_name)
outHumidity
(Pdb) print(x_domain)
[2023-12-22 00:00:00 CET (1703199600) -> 2024-01-02 00:00:00 CET (1704150000)] <---- as intended by my change
(Pdb) print(skip)
True
(Pdb) print(binding)
wx_binding
(Pdb) print(db_manager)
<weewx.manager.DaySummaryManager object at 0x7f22e1464650>
(Pdb) print(check_domain)
[2024-01-01 00:00:00 CET (1704063600) -> 2025-01-01 00:00:00 CET (1735686000)] <-- unexpectedly checking the "wrong" year
(Pdb) exit
The x_domain correctly starts in 2023 and ends in 2024. But the check_domain only looks into 2024 - of course without data at end of 2023.
There is a workaround in setting skip_if_empty to false within skin.conf. By default within Seasons it is set to year.
But setting skip_if_empty to false triggers another problem for many observables like e.g. extTemp4. wee_reports crashes with the error message:
Using configuration file etc/weewx/weewx.conf
Traceback (most recent call last):
File "/shared/purzel/miwaldor/weewx-debug/usr/share/weewx/weewx/reportengine.py", line 197, in run
obj.start()
File "/shared/purzel/miwaldor/weewx-debug/usr/share/weewx/weewx/reportengine.py", line 385, in start
self.run()
File "/shared/purzel/miwaldor/weewx-debug/usr/share/weewx/weewx/imagegenerator.py", line 42, in run
self.gen_images(self.gen_ts)
File "/shared/purzel/miwaldor/weewx-debug/usr/share/weewx/weewx/imagegenerator.py", line 107, in gen_images
plot = self.gen_plot(plotgen_ts,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/shared/purzel/miwaldor/weewx-debug/usr/share/weewx/weewx/imagegenerator.py", line 250, in gen_plot
start_vec_t, stop_vec_t, data_vec_t = weewx.xtypes.get_series(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/shared/purzel/miwaldor/weewx-debug/usr/share/weewx/weewx/xtypes.py", line 116, in get_series
raise weewx.UnknownType(msg)
weewx.UnknownType: extraTemp4
The same error occurs for all those observables (really many, e.g. all extTemp? > 3) which are not within the weewx.sdb database. Maybe that's an ommission from my side. I'm using weewx for the last ~5 years and never did any database migration (except those maybe enforced by the apt installation).
Conclusion: I now have a working solution. I will drop all failing (and from me not used) observables and set check_if_empt to false. But maybe two changes should be applied to weewx-4.10.2 to resolve those problems for other users (did not investigate the upcoming 5.0 version of weewx).
Regards, Michael