Changeset 4372
- Timestamp:
- Apr 13, 2007, 4:59:58 PM (18 years ago)
- Location:
- anuga_work/production/broome_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/broome_2006/project.py
r4368 r4372 28 28 print 'gtime: ', gtime 29 29 30 tide = 0 30 #tide = -5.3 31 #tide = 0 32 tide = 4.9 31 33 32 34 #Making assumptions about the location of scenario data … … 51 53 combined_name ='broome_combined_elevation' 52 54 combined_name1 ='broome_combined_elevation1' 55 combined_name_unclipped1 ='broome_combined_elevation_unclipped1' 53 56 combined_small_name = 'broome_combined_elevation_small' 54 57 … … 79 82 #final topo files 80 83 combined_dir_name = topographies_dir + combined_name 84 combined_dir_name_unclipped1 = topographies_dir + combined_name_unclipped1 81 85 combined_dir_name1 = topographies_dir + combined_name1 82 86 combined_small_name_dir = topographies_dir + combined_small_name … … 120 124 from anuga.utilities.polygon import read_polygon, plot_polygons, polygon_area, is_inside_polygon 121 125 122 poly_all = read_polygon(polygons_dir+'extent.csv') 126 poly_all = read_polygon(polygons_dir+'extent_small.csv') 127 #poly_all = read_polygon(polygons_dir+'extent.csv') 123 128 res_poly_all = 500000 129 #res_poly_all = 150000 124 130 125 131 ############################### … … 129 135 poly_0 = read_polygon(polygons_dir+'neg20_coast_contour_pts.csv') 130 136 res_0 = 100000 137 #res_0 = 20000 131 138 132 139 poly_1 = read_polygon(polygons_dir+'broome_north_coast_inside_extent.csv') 133 140 res_1 = 50000 141 #res_1 = 5000 134 142 135 143 poly_2 = read_polygon(polygons_dir+'broome_south_coast_inside_extent.csv') 136 144 res_2 = 50000 145 #res_2 = 5000 137 146 138 147 poly_3 = read_polygon(polygons_dir+'Broome_town_pts.csv') 139 148 res_3 = 20000 149 #res_3 = 2000 140 150 141 151 poly_4 = read_polygon(polygons_dir+'Broome_inner_town_pts.csv') 142 152 res_4 = 5000 153 #res_4 = 500 143 154 #assert zone == refzone 144 155 -
anuga_work/production/broome_2006/run_broome.py
r4367 r4372 32 32 from anuga_parallel.parallel_api import distribute, numprocs, myid, barrier 33 33 from anuga.utilities.polygon import plot_polygons, polygon_area 34 from anuga_parallel.parallel_abstraction import get_processor_name 34 35 35 36 # Application specific imports … … 56 57 57 58 # creates copy of code in output dir 58 59 print "Processor Name:",get_processor_name() 59 60 60 61 print 'USER: ', project.user … … 73 74 print 'start create mesh from regions' 74 75 create_mesh_from_regions(project.poly_all, 76 # boundary_tags={'back': [1, 2], 'side': [0,3], 77 # 'ocean': [4, 5, 6]}, 75 78 boundary_tags={'back': [1, 2], 'side': [0,3], 76 'ocean': [4 , 5, 6]},79 'ocean': [4]}, 77 80 maximum_triangle_area=project.res_poly_all, 78 81 interior_regions=project.interior_regions, … … 135 138 #combined_time_dir_name = project.topographies_dir+build_time+project.combined_name 136 139 print 'Start Set quantity' 137 140 print 'project.combined_dir_name_unclipped1',project.combined_dir_name_unclipped1+'.txt' 138 141 domain.set_quantity('elevation', 139 filename = project.combined_dir_name 1+'.txt',142 filename = project.combined_dir_name_unclipped1+'.txt', 140 143 # filename = project.combined_smaller_name_dir+'.xya', 141 144 use_cache = True,
Note: See TracChangeset
for help on using the changeset viewer.