Changeset 4063 for anuga_work/production/newcastle_2006/project_slide.py
- Timestamp:
- Dec 6, 2006, 5:35:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/newcastle_2006/project_slide.py
r4058 r4063 62 62 63 63 # Necessary if using point datasets, rather than grid 64 on_offshore_dem_name = datadir + on_offshore_name 64 nsw_dem_name = datadir + nsw100 65 65 offshore_dem_name2 = datadir + offshore_name2 66 66 offshore_dem_name3 = datadir + offshore_name3 … … 78 78 79 79 # bounding polygon for study area 80 polyAll = read_polygon(polygondir+'extentC .csv')80 polyAll = read_polygon(polygondir+'extentC2.csv') 81 81 82 82 print 'Area of bounding polygon', polygon_area(polyAll)/1000000.0 … … 87 87 88 88 # newcastle digitized polygons 89 poly_newcastle1 = read_polygon(polygondir+'.csv') 90 poly_newcastle2 = read_polygon(polygondir+'.csv') 91 poly_newcastle3 = read_polygon(polygondir+'.csv') 89 poly_local = read_polygon(polygondir+'local2.csv') 90 poly_newcastle = read_polygon(polygondir+'newcastle.csv') 92 91 93 print 'Area of local polygon', polygon_area(poly_newcastle1)/1000000.0 94 print 'Area of close polygon', polygon_area(poly_newcastle2)/1000000.0 95 print 'Area of coastal polygon', polygon_area(poly_newcastle3)/1000000.0 92 print 'Area of local polygon', polygon_area(poly_local)/1000000.0 93 print 'Area of CBD polygon', polygon_area(poly_newcastle)/1000000.0 96 94 95 #plot_polygons([polyAll,poly_local,poly_newcastle],'fig',verbose=True) 97 96 ################################################################### 98 97 # Clipping regions for export to asc and regions for clipping data … … 100 99 101 100 # clipping for nsw grid for conversion 102 eastingmin_nsw = 546000103 eastingmax_nsw = 350390101 eastingmin_nsw = 350390 102 eastingmax_nsw = 546000 104 103 northingmin_nsw = 6253970 105 104 northingmax_nsw = 6424600 106 105 106 poly_surveyclip = read_polygon(polygondir+'surveyclip.csv') 107 107 108 # exporting asc grid 108 eastingmin =109 eastingmax =110 northingmin =111 northingmax =109 #eastingmin = 110 #eastingmax = 111 #northingmin = 112 #northingmax = 112 113 113 114 ###################################################################
Note: See TracChangeset
for help on using the changeset viewer.