Changeset 4046 for anuga_work/production/sydney_2006/project_slide.py
- Timestamp:
- Dec 1, 2006, 2:46:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/sydney_2006/project_slide.py
r4045 r4046 66 66 67 67 # bounding polygon for study area 68 polyAll = read_polygon(polygondir+'extent .csv')68 polyAll = read_polygon(polygondir+'extent2.csv') 69 69 70 # plot bounding polygon and make sure BC info surrounds it71 #plot_polygons([polyAll, poly_bc],'boundingpoly',verbose=False)72 70 print 'Area of bounding polygon', polygon_area(polyAll)/1000000.0 73 71 … … 77 75 78 76 # sydney digitized polygons 79 interior_regions = [] 80 area = 0. 81 coast_res = 500. 82 for i in range(1,10): 83 poly = read_polygon(polygondir+'poly'+str(i)+'.csv') 84 area += polygon_area(poly) 85 #interior_regions.append([poly,coast_res]) 86 77 poly_coast = read_polygon(polygondir+'coast.csv') 87 78 poly_syd1 = read_polygon(polygondir+'local.csv') 88 local_res = 50000.89 interior_regions.append([poly_syd1,local_res])90 79 91 80 print 'Area of local polygon', polygon_area(poly_syd1)/1000000.0 92 print 'Area of local polygon', area/1000000.081 print 'Area of coastal polygon', polygon_area(poly_coast)/1000000.0 93 82 94 83 ################################################################### … … 129 118 ################################################################### 130 119 131 #slide_origin = [,] 120 slide_origin_a = [352928.37,6188303.94] 121 slide_origin_b = [393301.80,6253255.08] 122 slide_origin_c = [446025.35,6330307.46] 123 132 124 bulli_depth = 2087.0 133 125 bulli_length = 16840.0 … … 135 127 bulli_width = 8860.0 136 128 bulli_density = 1.46 129 bulli_slope = 4.0 137 130 bulli_alpha = 126.0 + 90.0 138 131 … … 142 135 shovel_width = 4350.0 143 136 shovel_density = 1.49 137 shove_slope = 4.0 144 138 shovel_alpha = 118.0 + 90.0 145 139 … … 149 143 yacaaba_width = 3080.0 150 144 yacaaba_density = 1.48 145 yacaaba_slope = 3.0 151 146 yacaaba_alpha = 133.0 + 90.0
Note: See TracChangeset
for help on using the changeset viewer.