mirror of
https://github.com/weewx/weewx.git
synced 2026-04-20 17:46:58 -04:00
Pass option_dict to get_aggregate() in wind version of get_series()
The function xtypes.ArchiveTable.get_series() does not pass option_dict on to get_aggregate(). Fixes issue #797
This commit is contained in:
@@ -783,7 +783,7 @@ class WindVec(XType):
|
||||
# Yes. Just use the regular series function. When it comes time to do the aggregation,
|
||||
# the specialized function WindVec.get_aggregate() (defined below), will be used.
|
||||
return ArchiveTable.get_series(obs_type, timespan, db_manager, aggregate_type,
|
||||
aggregate_interval)
|
||||
aggregate_interval, **option_dict)
|
||||
|
||||
else:
|
||||
# No aggregation desired. However, we have will have to assemble the wind vector from
|
||||
|
||||
@@ -51,6 +51,9 @@ PR #705.
|
||||
|
||||
Fix minor install warning under Python 3.10. Fixes issue #799.
|
||||
|
||||
Fix problem where xtypes.ArchiveTable.get_series() does not pass option_dict
|
||||
on to get_aggregate(). Fixes issue #797
|
||||
|
||||
|
||||
4.8.0 04/21/2022
|
||||
Allow unit to be overridden for a specific plot by using new option 'unit'.
|
||||
|
||||
Reference in New Issue
Block a user