WindRose
index
WindRose.py

Plot a "wind rose".
 
usage: python WindRose.py [options] data_dir temp_dir xml_file output_file
options are:
        -h or --help            display this help
data_dir is the root directory of the weather data
temp_dir is a workspace for temporary files e.g. /tmp
xml_file is the name of the source file that describes the plot
output_file is the name of the image file to be created e.g. 24hrs.png

 
Modules
       
DataStore
codecs
getopt
math
os
sys
xml

 
Classes
       
Plot.GraphPlotter
RosePlotter

 
class RosePlotter(Plot.GraphPlotter)
     Methods defined here:
GetDefaultPlotSize(self)
GetDefaultRows(self)
GetPlotList(self)
GetPreamble(self)
PlotData(self, plot_no, plot, source)

Methods inherited from Plot.GraphPlotter:
DoPlot(self, input_file, output_file)
GetChildren(self, node, name)
GetValue(self, node, name, default)
__init__(self, params, raw_data, hourly_data, daily_data, monthly_data, work_dir, translation=None)

 
Functions
       
main(argv=None)

 
Data
        Local = <TimeZone.LocalTimezone object at 0x4073c070>