Changeset 4081
- Timestamp:
- Dec 14, 2006, 3:57:12 PM (18 years ago)
- Location:
- anuga_work/production/perth_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/perth_2006/build_perth.py
r4080 r4081 57 57 print"project.bounding_polygon",project.bounding_polygon 58 58 print"project.combined_dir_name",project.combined_dir_name 59 59 ''' 60 60 # topography directory filenames 61 61 onshore_in_dir_name = project.onshore_in_dir_name … … 120 120 G_clipped.export_points_file(project.combined_dir_name + '.xya') 121 121 122 ''' 123 124 G_all=Geospatial_data(file_name = project.combined_dir_name + '.xya') 125 print'split' 126 G_all_1, G_all_2 = G_all.split(.20) 127 print'export 1' 128 G_all_1.export_points_file(project.combined_dir_name+'_small' + '.xya') 129 print'export 2' 130 G_all_2.export_points_file(project.combined_dir_name+'_other' + '.xya') 122 131 123 132 ''' -
anuga_work/production/perth_2006/project.py
r4080 r4081 27 27 run_time = time+'_run' 28 28 print 'gtime: ', gtime 29 30 tide = 0.6 29 31 30 32 #Making assumptions about the location of scenario data … … 124 126 refzone = 50 125 127 126 print "bounding_polygon", bounding_polygon127 print 'poly area', polygon_area(bounding_polygon)/1000000.0128 129 128 130 129 #Interior regions … … 139 138 poly_penguin = read_polygon(polygons_dir+'penguin_pts.csv') 140 139 #assert zone == refzone 140 141 print "bounding_polygon", bounding_polygon 142 print 'Area of bounding poly', polygon_area(bounding_polygon)/1000000.0 143 print 'Area of pos20_neg20pts', polygon_area(poly_pos20_neg20)/1000000.0 144 print 'Area of poly_cbd', polygon_area(poly_cbd)/1000000.0 145 print 'Area of poly_penguin', polygon_area(poly_penguin)/1000000.0 141 146 142 147
Note: See TracChangeset
for help on using the changeset viewer.