source: anuga_work/production/shark_bay_2007/extract_boundary_timeseries.py @ 4626

Last change on this file since 4626 was 4626, checked in by ole, 17 years ago

work on shark bay

File size: 1.2 KB
Line 
1""" Script for generating timeseries from the sww file representing
2the boundary condition for this location.
3
4This to check that arrival times and amplitudes etc are sane at the boundary.
5see sww2timeseries for documentation
6"""
7
8from anuga.abstract_2d_finite_volumes.util import sww2timeseries
9import project
10from os import sep
11
12# generate figures - see sww2timeseries for documentation
13texname = 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
28print 'finished plotting time series'
29
Note: See TracBrowser for help on using the repository browser.