source: anuga_work/production/australia_ph2/sydney/old_script/plot_timeseries.py @ 6461

Last change on this file since 6461 was 6461, checked in by kristy, 16 years ago

New scripts added to make tms file

File size: 1.2 KB
Line 
1
2
3from os import sep
4import project
5from anuga.abstract_2d_finite_volumes.util import sww2csv_gauges,csv2timeseries_graphs
6
7import pylab
8
9timestamp1='20080815_103336_run_final_0.6_polyline_alpha0.1_kvanputt'
10timestamp2='20080815_103442_run_final_0.0_polyline_alpha0.1_kvanputt'
11
12timestamps = [timestamp1, timestamp2]
13for timestamp in timestamps:
14
15    input_dir_name1=project.output_dir+timestamp+sep
16    input_dir_name2=project.output_dir+timestamp+sep+'perth_time_39900'+sep
17
18    input_dir_names = [input_dir_name1, input_dir_name2]
19    for input_dir_name in input_dir_names:
20
21        print input_dir_name
22
23        csv2timeseries_graphs(directories_dic={input_dir_name:['test',0, 0]},
24                                output_dir=input_dir_name,
25                                base_name='gauge_',
26                                plot_numbers='',
27                                quantities=['stage','speed','depth'],
28                                extra_plot_name='',
29                                assess_all_csv_files=True,                           
30                                create_latex=False,
31                                verbose=True)
32
Note: See TracBrowser for help on using the repository browser.