Changeset 5646
- Timestamp:
- Aug 13, 2008, 8:22:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/build_busselton.py
r5525 r5646 62 62 offshore_in_dir_name2 = project.offshore_in_dir_name2 63 63 offshore_in_dir_name3 = project.offshore_in_dir_name3 64 offshore_in_dir_name4 = project.offshore_in_dir_name4 65 offshore_in_dir_name5 = project.offshore_in_dir_name5 64 66 65 67 onshore_dir_name = project.onshore_dir_name … … 70 72 offshore_dir_name2 = project.offshore_dir_name2 71 73 offshore_dir_name3 = project.offshore_dir_name3 74 offshore_dir_name4 = project.offshore_dir_name4 75 offshore_dir_name5 = project.offshore_dir_name5 72 76 73 77 # creates DEM from asc data … … 96 100 G_off2 = Geospatial_data(file_name = offshore_in_dir_name2 + '.txt',verbose=True) 97 101 G_off3 = Geospatial_data(file_name = offshore_in_dir_name3 + '.txt',verbose=True) 98 102 G_off4 = Geospatial_data(file_name = offshore_in_dir_name4 + '.txt',verbose=True) 103 G_off5 = Geospatial_data(file_name = offshore_in_dir_name5 + '.txt',verbose=True) 99 104 print'add all geospatial objects' 100 G = G1 + G2 + G3 + G_off + G_off1 + G_off2 + G_off3 105 G = G1 + G2 + G3 + G_off + G_off1 + G_off2 + G_off3 + G_off4 + G_off5 101 106 102 107 print'clip combined geospatial object by bounding polygon' … … 110 115 print'project.combined_dir_name + .txt',project.combined_dir_name + '.txt' 111 116 112 # -------------------------------------------------------------------------113 # Convert URS to SWW file for boundary conditions114 # -------------------------------------------------------------------------115 print 'starting to create boundary conditions'116 from anuga.shallow_water.data_manager import urs2sww, urs_ungridded2sww117 118 boundaries_in_dir_name = project.boundaries_in_dir_name119 print 'boundaries_in_dir_name',project.boundaries_in_dir_name120 121 122 # import sys; sys.exit()123 124 urs_ungridded2sww(project.boundaries_in_dir_name, project.boundaries_in_dir_name,125 verbose=True, mint=4000, maxt=80000, zscale=1)126 117 ###------------------------------------------------------------------------- 118 ### Convert URS to SWW file for boundary conditions 119 ###------------------------------------------------------------------------- 120 ##print 'starting to create boundary conditions' 121 ##from anuga.shallow_water.data_manager import urs2sww, urs_ungridded2sww 122 ## 123 ##boundaries_in_dir_name = project.boundaries_in_dir_name 124 ##print 'boundaries_in_dir_name',project.boundaries_in_dir_name 125 ## 126 ## 127 ###import sys; sys.exit() 128 ## 129 ##urs_ungridded2sww(project.boundaries_in_dir_name, project.boundaries_in_dir_name, 130 ## verbose=True, mint=4000, maxt=80000, zscale=1) 131 ##
Note: See TracChangeset
for help on using the changeset viewer.