source: production/pt_hedland_2006/run_timeseries.py @ 3514

Last change on this file since 3514 was 3514, checked in by duncan, 18 years ago

Hi all,
I'm doing a change in the anuga structure, moving the code to

\anuga_core\source\anuga

After you have done an svn update, the PYTHONPATH has to be changed to;
PYTHONPATH = anuga_core/source/

This is part of changes required to make installation of anuga quicker and reducing the size of our sandpits.

If any imports are broken, try fixing them. With adding anuga. to them for example. If this seems to have really broken things, email/phone me.

Cheers
Duncan

File size: 908 bytes
Line 
1""" Script for generating figures, see sww2timeseries for documentation"""
2
3from anuga.pyvolution.util import sww2timeseries
4import project
5from os import sep
6
7# define directory location of sww and gauge data
8timestampdir = ''
9file_loc = project.outputdir + timestampdir + sep #project.outputtimedir
10swwfile = file_loc + project.basename + '.sww'
11label_id = timestampdir
12
13# generate figures - see sww2timeseries for documentation
14texname = sww2timeseries(swwfile,
15                         project.gauge_filename,
16                         label_id,
17                         report = False,
18                         plot_quantity = ['stage', 'velocity', 'bearing'],
19                         time_min = None,
20                         time_max = None,
21                         title_on = True,   
22                         verbose = True)
23
24print 'finished plotting time series'
25
26
27
28
29
Note: See TracBrowser for help on using the repository browser.