Rev | Line | |
---|
[2815] | 1 | """ Script for generating figures, see sww2timeseries for documentation""" |
---|
[2798] | 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 |
---|
[2898] | 8 | timestampdir = '20060426_004129' |
---|
[2798] | 9 | file_loc = project.outputdir + timestampdir + sep #project.outputtimedir |
---|
| 10 | swwfile = file_loc + project.basename + '.sww' |
---|
| 11 | label_id = timestampdir |
---|
| 12 | |
---|
| 13 | # generate figures - see sww2timeseries for documentation |
---|
| 14 | texname = sww2timeseries(swwfile, |
---|
[2839] | 15 | project.gauge_filename, |
---|
[2798] | 16 | label_id, |
---|
[2839] | 17 | report = False, |
---|
[2798] | 18 | plot_quantity = ['stage', 'velocity', 'bearing'], |
---|
| 19 | time_min = None, |
---|
| 20 | time_max = None, |
---|
[2839] | 21 | title_on = True, |
---|
[2798] | 22 | verbose = True) |
---|
| 23 | |
---|
| 24 | print 'finished plotting time series' |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | |
---|
[2815] | 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.