source: anuga_validation/circular_island/get_compared_graphs.py @ 5142

Last change on this file since 5142 was 5142, checked in by nick, 16 years ago

update get_compared_graphs.py

File size: 1.7 KB
Line 
1
2
3
4# Module imports
5#from anuga.shallow_water import Domain
6#from anuga.shallow_water import Reflective_boundary
7#from anuga.shallow_water import Transmissive_Momentum_Set_Stage_boundary
8#from anuga.shallow_water import Dirichlet_boundary, Time_boundary
9#from anuga.shallow_water.data_manager import get_maximum_inundation_data, start_screen_catcher, copy_code_files
10from anuga.abstract_2d_finite_volumes.util import file_function, sww2csv_gauges,csv2timeseries_graphs
11#from anuga.pmesh.mesh_interface import create_mesh_from_regions
12#from anuga.utilities.polygon import read_polygon#, plot_polygons
13#from math import cos,pi,sin,tan#,sqrt
14#from Numeric import array, zeros, Float, allclose,resize,sqrt
15#from anuga.shallow_water.data_manager import csv2dict
16#from time import localtime, strftime, gmtime
17#from anuga.utilities.system_tools import get_user_name, get_host_name
18from os import sep, environ, getenv
19#
20home = getenv('INUNDATIONHOME') + sep +'data'+sep #Sandpit's parent dir 
21
22anuga_dir = home+'anuga_validation'+sep+'circular_island_tsunami_benchmark'+sep+'anuga'+sep
23
24csv2timeseries_graphs(directories_dic={anuga_dir+sep+'boundaries'+sep:['wavetank',-1.6, 0],
25                                       anuga_dir+'outputs'+sep+'20080228_062939_res_0.005_nbartzis'+sep:['Fixed Wave',0,0]},
26                            output_dir=anuga_dir+'outputs'+sep+'20080228_062939_res_0.005_nbartzis'+sep,
27                            base_name='gauge_',
28                            plot_numbers='',
29                            quantities=['stage'],
30                            extra_plot_name='',
31                            assess_all_csv_files=True,                           
32                            create_latex=False,
33                            verbose=True)
Note: See TracBrowser for help on using the repository browser.