I am trying to make a graph with the belchertown skin using the max_ge aggregation but I have errors. It also happened with the skin seasons Tom Keller sent me a modified version of xtypes.py which now allows me to graph in seasons but not in belchertown. To use max_ge in the graph, you have to put the val variable, which is a tuple with the temperature, units and group, and that val variable is what I suppose is passed in option_dict. So I looked at the code for belchertown.py and modified all the calls to xtypes.get_series by adding **option_dict to each one. It was still not working. It gave me the same non-existent column error and before the query I looked at the content of option_dict and it was None So I modified get_observation_data which is where you call xtypes.get_series and added **option_dict to it and from where get_observations is called I also added option_dict and it gives me the error name option_dict is not defined. I thought option_dict was a globally accessible global variable. How can I access option_dict or what should I do?
-- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/ef14fd67-6935-4e48-a12c-9ec569185a00n%40googlegroups.com.
