Changeset 3744
- Timestamp:
- Oct 11, 2006, 12:22:40 PM (18 years ago)
- Location:
- anuga_work/production/karratha_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/karratha_2006/project.py
r3716 r3744 8 8 from anuga.coordinate_transforms.redfearn import\ 9 9 degminsec2decimal_degrees,\ 10 convert_ points_from_latlon_to_utm10 convert_from_latlon_to_utm 11 11 12 12 from time import localtime, strftime … … 52 52 outputname = outputtimedir + basename #Used by post processing 53 53 #boundaryname = outputtimedir + basename #Used by post processing 54 54 55 55 56 … … 75 76 76 77 bounding_polygon, zone =\ 77 convert_ points_from_latlon_to_utm([p0, p1, p2, p3, p4,78 78 convert_from_latlon_to_utm([p0, p1, p2, p3, p4, 79 p5, p6, p7, p8]) 79 80 refzone = zone 81 82 83 #Interior regions 84 85 86 # CIPMA point of interest 87 cipma_latitude = -20.588456 88 cipma_longitude = 116.771527 89 90 91 k0 = [cipma_latitude-0.02, cipma_longitude-0.02] 92 k1 = [cipma_latitude-0.02, cipma_longitude+0.02] 93 k2 = [cipma_latitude+0.02, cipma_longitude+0.02] 94 k3 = [cipma_latitude+0.02, cipma_longitude-0.02] 95 96 cipma_polygon, zone = convert_from_latlon_to_utm([k0, k1, k2, k3]) 97 assert zone == refzone 98 80 99 81 100 … … 91 110 k3 = [karratha_north, karratha_west] 92 111 93 karratha_polygon, zone = convert_ points_from_latlon_to_utm([k0, k1, k2, k3])112 karratha_polygon, zone = convert_from_latlon_to_utm([k0, k1, k2, k3]) 94 113 assert zone == refzone 95 114 … … 106 125 d3 = [dampier_north, dampier_west] 107 126 108 dampier_polygon, zone = convert_ points_from_latlon_to_utm([d0, d1, d2, d3])127 dampier_polygon, zone = convert_from_latlon_to_utm([d0, d1, d2, d3]) 109 128 assert zone == refzone 110 129 … … 121 140 d3 = [refinery_north, refinery_west] 122 141 123 refinery_polygon, zone = convert_ points_from_latlon_to_utm([d0, d1, d2, d3])142 refinery_polygon, zone = convert_from_latlon_to_utm([d0, d1, d2, d3]) 124 143 assert zone == refzone 125 144 … … 138 157 d3 = [point_north, point_west] 139 158 140 point_polygon, zone = convert_ points_from_latlon_to_utm([d0, d1, d2, d3])159 point_polygon, zone = convert_from_latlon_to_utm([d0, d1, d2, d3]) 141 160 assert zone == refzone 142 161 … … 152 171 degminsec2decimal_degrees(116,46,17)] 153 172 154 neil1_polygon, zone = convert_ points_from_latlon_to_utm([neil1_point1,155 156 157 173 neil1_polygon, zone = convert_from_latlon_to_utm([neil1_point1, 174 neil1_point2, 175 neil1_point3, 176 neil1_point4]) 158 177 assert zone == refzone 159 178 … … 170 189 degminsec2decimal_degrees(116,43,9)] 171 190 172 neil2_polygon, zone = convert_ points_from_latlon_to_utm([neil2_point1,173 174 175 191 neil2_polygon, zone = convert_from_latlon_to_utm([neil2_point1, 192 neil2_point2, 193 neil2_point3, 194 neil2_point4]) 176 195 assert zone == refzone 177 196 … … 190 209 degminsec2decimal_degrees(116,46,17)] 191 210 192 wb_polygon, zone = convert_ points_from_latlon_to_utm([wb_point1, wb_point2,193 211 wb_polygon, zone = convert_from_latlon_to_utm([wb_point1, wb_point2, 212 wb_point3, wb_point4]) 194 213 assert zone == refzone 195 214 … … 208 227 degminsec2decimal_degrees(116,42,50)] 209 228 210 lwb_polygon, zone = convert_ points_from_latlon_to_utm([lwb_point1, lwb_point2,211 229 lwb_polygon, zone = convert_from_latlon_to_utm([lwb_point1, lwb_point2, 230 lwb_point3, lwb_point4]) 212 231 213 232 assert zone == refzone -
anuga_work/production/karratha_2006/run_karratha.py
r3716 r3744 71 71 #[project.refinery_polygon, 2000], 72 72 #[project.point_polygon, 2000]] 73 [project.neil1_polygon, 4000], 74 [project.neil2_polygon, 64000]] 73 #[project.cipma_polygon, 20000]] 74 [project.cipma_polygon, 4000]] # Caused memory error? 75 #[project.neil1_polygon, 4000], 76 #[project.neil2_polygon, 64000]] 75 77 76 78 … … 82 84 'ocean': [1, 2, 3, 4, 5]}, 83 85 maximum_triangle_area=200000, 86 interior_regions=interior_regions, 84 87 filename=meshname, 85 88 use_cache=True,
Note: See TracChangeset
for help on using the changeset viewer.