Plot
index
Plot.py

Plot graphs of weather data according to an XML recipe.
 
usage: python Plot.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
Localisation
codecs
getopt
os
sys
xml

 
Classes
       
GraphPlotter

 
class GraphPlotter
     Methods defined here:
DoPlot(self, input_file, output_file)
GetChildren(self, node, name)
GetDefaultPlotSize(self)
GetDefaultRows(self)
GetPlotList(self)
GetPreamble(self)
GetValue(self, node, name, default)
PlotData(self, plot_no, plot, source)
__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>