Hi there, I'm using the all_stats code found in the Customization Guide 
<http://www.weewx.com/docs/customizing.htm#defining_new_tags> and noticed a 
potential error. Full code snippet:

 all_stats = TimespanBinder(timespan,
     db_lookup,
     formatter=self.generator.formatter,
     converter=self.generator.converter,
     skin_dict=self.generator.skin_dict)

 search_list_extension = {'alltime' : all_stats 

When using the $alltime.rain.sum it was returning a lot of results, which 
only 1 was accurate. I'm not sure why so I wanted to ask here. 

Within the SLE Python I ran:

print all_stats.rain.sum

it returns:

120.70 in
50.84 in
120.70 in
120.70 in
3.75 in
120.70 in
120.70 in
120.70 in
120.70 in
120.70 in
120.70 in
120.70 in
120.70 in

The correct answer here is 50.84. Do you know why all of the other results 
would show up? Is this a TimespanBinder limitation issue (like what I saw 
early on in Belchertown's creation)?

Reply via email to