Last change
on this file since 5714 was
5411,
checked in by Leharne, 17 years ago
|
Updates to okushiri convergence study
|
File size:
1013 bytes
|
Line | |
---|
1 | """ |
---|
2 | Generate time series of nominated "gauges" read from project.gauge_filename. This |
---|
3 | is done by first running sww2csv_gauges on two different directories to make |
---|
4 | 'csv' files. Then running csv2timeseries_graphs detailing the two directories |
---|
5 | containing the csv file and produces one set of graphs in the 'output_dir' containing |
---|
6 | the details at the gauges for both these sww files. |
---|
7 | |
---|
8 | Note, this script will only work if pylab is installed on the platform |
---|
9 | |
---|
10 | """ |
---|
11 | |
---|
12 | from os import sep |
---|
13 | from anuga.abstract_2d_finite_volumes.util import sww2csv_gauges,csv2timeseries_graphs |
---|
14 | |
---|
15 | import project_truescale |
---|
16 | |
---|
17 | #timestamp='20080617_001810_run_leharne' |
---|
18 | timestamp='20080617_041810_run_original_no_int_polygons_lfountai' |
---|
19 | filename=project_truescale.output_dir+timestamp+sep+project_truescale.output_filename |
---|
20 | |
---|
21 | sww2csv_gauges(filename, |
---|
22 | project_truescale.gauges_dir_name, |
---|
23 | quantities = ['stage','speed','depth','elevation'], |
---|
24 | verbose=True) |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.