""" Generate time series of nominated "gauges" read from project.gauge_filename. This is done by first running sww2csv_gauges on two different directories to make 'csv' files. Then running csv2timeseries_graphs detailing the two directories containing the csv file and produces one set of graphs in the 'output_dir' containing the details at the gauges for both these sww files. Note, this script will only work if pylab is installed on the platform """ from os import sep from anuga.abstract_2d_finite_volumes.util import sww2csv_gauges,csv2timeseries_graphs import project timestamp='20080725_143146_run_finaltime500_blewis' filename=project.output_dir+timestamp+sep+project.sww_name+'.sww' print 'Hello', filename sww2csv_gauges(filename, project.gauges_dir_name, quantities = ['stage','speed','depth','elevation'], verbose=True)