source: trunk/anuga_validation/circular_island/get_compared_graphs.py @ 7877

Last change on this file since 7877 was 7877, checked in by hudson, 14 years ago

Moved all development files into trunk.

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 anuga.shallow_water.data_manager import csv2dict
15#from time import localtime, strftime, gmtime
16#from anuga.utilities.system_tools import get_user_name, get_host_name
17from os import sep, environ, getenv
18#
19home = getenv('INUNDATIONHOME') + sep +'data'+sep #Sandpit's parent dir 
20
21anuga_dir = home+'anuga_validation'+sep+'circular_island_tsunami_benchmark'+sep+'anuga'+sep
22
23csv2timeseries_graphs(directories_dic={anuga_dir+sep+'boundaries'+sep:['wavetank',-1.6, 0],
24                                       anuga_dir+'outputs'+sep+'20080228_062939_res_0.005_nbartzis'+sep:['Fixed Wave',0,0]},
25                            output_dir=anuga_dir+'outputs'+sep+'20080228_062939_res_0.005_nbartzis'+sep,
26                            base_name='gauge_',
27                            plot_numbers='',
28                            quantities=['stage'],
29                            extra_plot_name='',
30                            assess_all_csv_files=True,                           
31                            create_latex=False,
32                            verbose=True)
Note: See TracBrowser for help on using the repository browser.