Last change
on this file since 4344 was
3514,
checked in by duncan, 19 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:
1.4 KB
|
Line | |
---|
1 | #from get_timeseries_test import sww2timeseries |
---|
2 | from anuga.pyvolution.util import sww2timeseries |
---|
3 | import project |
---|
4 | from os import sep |
---|
5 | from shutil import copy |
---|
6 | |
---|
7 | # define directory location of sww and gauge data |
---|
8 | timestampdir = 'Slump_tests'+sep+'t30_10km_longtime_k1'#'No_IC' |
---|
9 | file_loc = project.outputdir + timestampdir + sep #project.outputtimedir |
---|
10 | #swwfile = file_loc + 'slump_poly_ingo_test'+'.sww' #file_loc+project.outputname+'.sww' |
---|
11 | swwfile = file_loc + 'slump_k1'+'.sww' #file_loc+project.outputname+'.sww' |
---|
12 | gauge_filename = project.gauge_filename |
---|
13 | label_id = timestampdir |
---|
14 | |
---|
15 | # False to generate latex output, True otherwise |
---|
16 | title_on = True |
---|
17 | |
---|
18 | # generate figures - see sww2timeseries for documentation |
---|
19 | texname = sww2timeseries(swwfile, |
---|
20 | gauge_filename, |
---|
21 | file_loc, |
---|
22 | label_id, |
---|
23 | plot_quantity = ['stage', 'velocity', 'bearing'], |
---|
24 | time_min = None, |
---|
25 | time_max = None, |
---|
26 | title_on = title_on, |
---|
27 | verbose = True) |
---|
28 | |
---|
29 | print 'finished plotting time series' |
---|
30 | |
---|
31 | # if generating latex output, copy latex file to scenario report directory |
---|
32 | # and linked to appropriate milestone |
---|
33 | report_dir = '..'+sep+'scenario_reports'+sep+'report_end_FY06' |
---|
34 | if title_on == False: copy (texname, report_dir + sep + texname) |
---|
35 | |
---|
36 | |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.