Line | |
---|
1 | """ Script for generating timeseries from the sww file representing |
---|
2 | the boundary condition for this location. |
---|
3 | |
---|
4 | This to check that arrival times and amplitudes etc are sane at the boundary. |
---|
5 | see sww2timeseries for documentation |
---|
6 | """ |
---|
7 | |
---|
8 | from anuga.abstract_2d_finite_volumes.util import sww2timeseries |
---|
9 | import project |
---|
10 | from os import sep |
---|
11 | |
---|
12 | # generate figures - see sww2timeseries for documentation |
---|
13 | texname = sww2timeseries({project.boundary_name + '.sww': ''}, |
---|
14 | project.polygons_dir + sep + 'boundary_extent_small.csv', |
---|
15 | #project.polygons_dir + sep + 'boundary_points.csv', |
---|
16 | project.anuga_dir, |
---|
17 | report = False, |
---|
18 | #reportname = 'Boundary_gauges', |
---|
19 | plot_quantity = ['stage', 'speed', 'xmomentum'], |
---|
20 | generate_fig = True, |
---|
21 | time_min = None, |
---|
22 | time_max = None, |
---|
23 | time_thinning = 100, |
---|
24 | title_on = True, |
---|
25 | use_cache = True, |
---|
26 | verbose = True) |
---|
27 | |
---|
28 | print 'finished plotting time series' |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.