Last change
on this file since 3267 was
3132,
checked in by sexton, 18 years ago
|
stripped down version of timeseries generation
|
File size:
977 bytes
|
Line | |
---|
1 | """ Script for generating figures, see sww2timeseries for documentation""" |
---|
2 | |
---|
3 | from pyvolution.util import sww2timeseries |
---|
4 | import project |
---|
5 | from os import sep |
---|
6 | |
---|
7 | # define directory location of sww and gauge data |
---|
8 | production_dirs = {'20060426_004129': '1.5 AHD', |
---|
9 | '20060426_004237': '-1.5 AHD', |
---|
10 | '20060515_001733': '0 AHD'} |
---|
11 | |
---|
12 | for label_id in production_dirs.keys(): |
---|
13 | |
---|
14 | file_loc = project.outputdir + label_id + sep |
---|
15 | swwfile = file_loc + project.basename + '.sww' |
---|
16 | swwfiles[swwfile] = label_id |
---|
17 | |
---|
18 | # generate figures - see sww2timeseries for documentation |
---|
19 | sww2timeseries(swwfiles, |
---|
20 | project.gauge_filename, |
---|
21 | production_dirs, |
---|
22 | report = False, |
---|
23 | plot_quantity = ['stage', 'speed'], |
---|
24 | time_min = None, |
---|
25 | time_max = None, |
---|
26 | title_on = False, |
---|
27 | verbose = True) |
---|
28 | |
---|
29 | print 'finished plotting time series' |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.