I was getting errors. Process of elimination showed it was the monthwindvec
image causing them, though not the day, week or year versions of that
images.
I suspect data is at the bottom of this, but what data? Nothing odd in
archive.windGust or windGustDir.
This is the latest WeeWx running on a Debian 12 virtual machine, and the
database has the extended schema.
Turning on debugging didn't bring any extra information.
Caught unrecoverable exception in generator
'weewx.imagegenerator.ImageGenerator'
**** unsupported operand type(s) for -: 'float' and 'str'
**** Traceback (most recent call last):
**** File "/usr/share/weewx/weewx/xtypes.py", line 109, in
get_series
**** return xtype.get_series(obs_type, timespan, db_manager,
aggregate_type,
****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**** File "/usr/share/weewx/weewx/xtypes.py", line 1040, in
get_series
**** return ArchiveTable.get_series(obs_type, timespan,
db_manager, aggregate_type,
****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**** File "/usr/share/weewx/weewx/xtypes.py", line 210, in
get_series
**** agg_vt = get_aggregate(obs_type, stamp, do_aggregate,
db_manager,
****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**** File "/usr/share/weewx/weewx/xtypes.py", line 136, in
get_aggregate
**** return xtype.get_aggregate(obs_type, timespan,
aggregate_type, db_manager,
****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**** File "/usr/share/weewx/weewx/xtypes.py", line 1168, in
get_aggregate
**** xsum += mag * math.cos(math.radians(90.0 - direction))
**** ~~~~~^~~~~~~~~~~
**** TypeError: unsupported operand type(s) for -: 'float' and
'str'
****
**** During handling of the above exception, another exception
occurred:
****
**** Traceback (most recent call last):
**** File "/usr/share/weewx/weewx/reportengine.py", line 248, in
run
**** obj.start()
**** File "/usr/share/weewx/weewx/reportengine.py", line 465, in
start
--
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 visit
https://groups.google.com/d/msgid/weewx-user/6573e36d-13b0-4798-b514-f475e841e9b9n%40googlegroups.com.