source: anuga_work/development/landslide_4/get_timeseries.py @ 5572

Last change on this file since 5572 was 5572, checked in by bridgette, 14 years ago

update script for bridgettes use

File size: 946 bytes
Line 
1"""
2Generate time series of nominated "gauges" read from project.gauge_filename. This
3is done by first running sww2csv_gauges on two different directories to make
4'csv' files. Then running csv2timeseries_graphs detailing the two directories
5containing the csv file and produces one set of graphs in the 'output_dir' containing
6the details at the gauges for both these sww files.
7
8Note, this script will only work if pylab is installed on the platform
9
10"""
11
12from os import sep
13from anuga.abstract_2d_finite_volumes.util import sww2csv_gauges,csv2timeseries_graphs
14
15import project
16
17
18timestamp='20080725_143146_run_finaltime500_blewis'
19
20filename=project.output_dir+timestamp+sep+project.sww_name+'.sww'
21print 'Hello', filename
22
23sww2csv_gauges(filename,
24                project.gauges_dir_name,
25                quantities = ['stage','speed','depth','elevation'],
26                verbose=True)
27               
28
29   
30
Note: See TracBrowser for help on using the repository browser.