Line | |
---|
1 | |
---|
2 | |
---|
3 | from os import sep |
---|
4 | import project |
---|
5 | from anuga.abstract_2d_finite_volumes.util import sww2csv_gauges,csv2timeseries_graphs |
---|
6 | |
---|
7 | import pylab |
---|
8 | |
---|
9 | timestamp1='20080815_103336_run_final_0.6_polyline_alpha0.1_kvanputt' |
---|
10 | timestamp2='20080815_103442_run_final_0.0_polyline_alpha0.1_kvanputt' |
---|
11 | |
---|
12 | timestamps = [timestamp1, timestamp2] |
---|
13 | for 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.