Changeset 3809
- Timestamp:
- Oct 17, 2006, 12:21:30 PM (19 years ago)
- Location:
- anuga_work/production/hobart_2006
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/hobart_2006/project.py
r3805 r3809 124 124 #outputname = outputtimedir + basename #Used by post processing 125 125 126 127 126 ############################### 128 127 # Domain definitions … … 146 145 polyAll = read_polygon(polygondir+'new_extent_2.csv') 147 146 plot_polygons([polyAll, polyAll2],'boundingpoly',verbose=False) 148 print 'Area of bounding polygon', polygon_area(polyAll)147 #print 'Area of bounding polygon', polygon_area(polyAll) 149 148 polyAll_refine = read_polygon(polygondir+'extent_refine.csv') 150 print 'Area of refined bounding polygon', polygon_area(polyAll_refine)151 print 'change', polygon_area(polyAll_refine)/polygon_area(polyAll)149 #print 'Area of refined bounding polygon', polygon_area(polyAll_refine) 150 #print 'change', polygon_area(polyAll_refine)/polygon_area(polyAll) 152 151 153 152 polyAll_refine2 = read_polygon(polygondir+'export_refine_2.csv') 154 print 'Area of refined bounding polygon 2', polygon_area(polyAll_refine2)155 print 'change 2', polygon_area(polyAll_refine2)/polygon_area(polyAll)153 #print 'Area of refined bounding polygon 2', polygon_area(polyAll_refine2) 154 #print 'change 2', polygon_area(polyAll_refine2)/polygon_area(polyAll) 156 155 157 156 ################################################################### … … 164 163 northingmin = 5245000 165 164 northingmax = 5260000 166 165 # for original model setup 167 166 # clipping 25m data set - Hobart 168 167 eastingmin25 = 524208.387 … … 183 182 northingmax25_3 = 5258511.857 184 183 184 # export for refined grids at paleo sites 185 eastingmin_site13 = 532835.94 186 eastingmax_site13 = 533848.23 187 northingmin_site13 = 5237384.18 188 northingmax_site13 = 5238195.03 189 190 eastingmin_kingston = 525905.49 191 eastingmax_kingston = 527773.42 192 northingmin_kingston = 5240256.71 193 northingmax_kingston = 5242148.58 194 195 eastingmin_bruny = 523638.9 196 eastingmax_bruny = 533000.88 197 northingmin_bruny = 5204967.41 198 northingmax_bruny = 5212177.69 199 185 200 ############################### 186 201 # Interior region definitions … … 194 209 poly_hobart5 = read_polygon(polygondir+'new_interior_region.csv') 195 210 196 plot_polygons([polyAll, poly_hobart1,poly_hobart2,poly_hobart3,poly_hobart5],'boundingpoly2',verbose=False) 197 print 'Area of interior regions', (polygon_area(poly_hobart1)+\ 198 polygon_area(poly_hobart2)+polygon_area(poly_hobart3)+\ 199 polygon_area(poly_hobart4)+polygon_area(poly_hobart5))/1000000. 200 201 print 'Area of original 25m data clipping', (polygon_area(hob_clip)+polygon_area(bruny_clip))/1000000. 202 print 'Area of new interior region', polygon_area(poly_hobart5)/1000000. 211 plot_polygons([polyAll, poly_hobart1,poly_hobart2,poly_hobart3,poly_hobart5],'orig_model',verbose=False) 212 213 # to refine around paleo sites 214 poly_kingston = read_polygon(polygondir+'Kingston.csv') 215 poly_bruny = read_polygon(polygondir+'bruny_refine.csv') 216 poly_site13 = read_polygon(polygondir+'Site13.csv') 217 218 plot_polygons([polyAll, poly_kingston,poly_bruny,poly_site13,poly_hobart5],'orig_model',verbose=False) 219 #print 'Area of interior regions', (polygon_area(poly_hobart1)+\ 220 # polygon_area(poly_hobart2)+polygon_area(poly_hobart3)+\ 221 # polygon_area(poly_hobart4)+polygon_area(poly_hobart5))/1000000. 222 223 #print 'Area of original 25m data clipping', (polygon_area(hob_clip)+polygon_area(bruny_clip))/1000000. 224 #print 'Area of new interior region', polygon_area(poly_hobart5)/1000000.
Note: See TracChangeset
for help on using the changeset viewer.