Hi i try make contsruction
that get wind direction for last 7 days
set code
$span($day_delta=7).wind.vecdir
and recive error
Feb 7 12:41:37 meteo weewx[19558]: cheetahgenerator: **** Ignoring template
/etc/weewx/skins/Bootstrap/week.html.tmpl
Feb 7 12:41:37 meteo weewx[19558]: cheetahgenerator: **** Reason: Invalid
aggregation type 'vecdir'
Feb 7 12:41:37 meteo weewx[19558]: **** Traceback (most recent call last):
Feb 7 12:41:37 meteo weewx[19558]: **** File
"/usr/share/weewx/weewx/cheetahgenerator.py", line 315, in generate
Feb 7 12:41:37 meteo weewx[19558]: **** print >> _file, text
Feb 7 12:41:37 meteo weewx[19558]: **** File
"/usr/local/lib/python2.7/dist-packages/Cheetah-2.4.4-py2.7-linux-i686.egg/Cheetah/Template.py"
, line 1005, in __str__
Feb 7 12:41:37 meteo weewx[19558]: **** rc = getattr(self,
mainMethName)()
Feb 7 12:41:37 meteo weewx[19558]: **** File
"_etc_weewx_skins_Bootstrap_week_html_tmpl.py", line 302, in respond
Feb 7 12:41:37 meteo weewx[19558]: **** File
"/usr/share/weewx/weewx/tags.py", line 323, in __getattr__
Feb 7 12:41:37 meteo weewx[19558]: **** return self._do_query(
aggregate_type)
Feb 7 12:41:37 meteo weewx[19558]: **** File
"/usr/share/weewx/weewx/tags.py", line 337, in _do_query
Feb 7 12:41:37 meteo weewx[19558]: **** val=val, **self.option_dict)
Feb 7 12:41:37 meteo weewx[19558]: **** File
"/usr/share/weewx/weewx/wxmanager.py", line 60, in getAggregate
Feb 7 12:41:37 meteo weewx[19558]: **** return weewx.manager.
DaySummaryManager.getAggregate(self, timespan, obs_type, aggregateType, **
option_dict)
Feb 7 12:41:37 meteo weewx[19558]: **** File
"/usr/share/weewx/weewx/manager.py", line 1204, in getAggregate
Feb 7 12:41:37 meteo weewx[19558]: **** **option_dict)
Feb 7 12:41:37 meteo weewx[19558]: **** File
"/usr/share/weewx/weewx/manager.py", line 433, in getAggregate
Feb 7 12:41:37 meteo weewx[19558]: **** raise weewx.
ViolatedPrecondition("Invalid aggregation type '%s'" % aggregate_type)
Feb 7 12:41:37 meteo weewx[19558]: **** ViolatedPrecondition: Invalid
aggregation type 'vecdir'
when i set $week.wind.vecdir it works fine but calculate from week
begin
pls help calculate wind direction for the last week
--
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].
For more options, visit https://groups.google.com/d/optout.