Changeset 6015
- Timestamp:
- Nov 28, 2008, 11:26:25 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/pt_hedland_2008/project_250m.py
r5808 r6015 38 38 # Note, the user needs to set up the directory system accordingly 39 39 state = 'western_australia' 40 scenario_name = 'p erth'41 scenario = 'p erth_tsunami_scenario'40 scenario_name = 'pt_hedland' 41 scenario = 'pt_hedland_tsunami_scenario_2008' 42 42 43 43 # Model specific parameters. One or all can be changed each time the … … 51 51 finaltime=80000 # final time for simulation 52 52 53 interior_mesh = ' all' # Can have 'all' or 'none' for Phase 2 study53 interior_mesh = 'none' # Can have 'all' or 'none' for Phase 2 study 54 54 55 55 setup='final' # Final can be replaced with trial or basic. … … 84 84 #------------------------------------------------------------------------------ 85 85 86 # elevation data used in build_p erth.py86 # elevation data used in build_pt_hedland.py 87 87 # onshore data: format ascii grid with accompanying projection file 88 88 onshore_name = 'grid_250m_2005' 89 89 90 90 # gauges - used in get_timeseries.py 91 gauge_name = 'p erth.csv'91 gauge_name = 'pt_hedland.csv' 92 92 gauge_name2 = 'thinned_MGA50.csv' 93 93 94 # BOUNDING POLYGON - used in build_boundary.py and run_p erth.py respectively94 # BOUNDING POLYGON - used in build_boundary.py and run_pt_hedland.py respectively 95 95 # NOTE: when files are put together the points must be in sequence - for ease go clockwise! 96 # Check the run_p erth.py for boundary_tags96 # Check the run_pt_hedland.py for boundary_tags 97 97 # thinned ordering file from Hazard Map: format is index,latitude,longitude (with title) 98 order_filename = 'thinned_boundary_ordering. txt'98 order_filename = 'thinned_boundary_ordering.csv' 99 99 #landward bounding points 100 landward = 'landward_bounding_polygon. txt'100 landward = 'landward_bounding_polygon.csv' 101 101 102 102 #------------------------------------------------------------------------------ … … 105 105 # Output filename for elevation 106 106 # this is a combination of all the data (utilisied in build_boundary) 107 combined_name ='p erth_combined_elevation_250m'107 combined_name ='pt_hedland_combined_elevation_250m' 108 108 109 109 #------------------------------------------------------------------------------ … … 132 132 combined_dir_name = topographies_dir + combined_name 133 133 134 # where the mesh sits (this is created during the run_p erth.py)134 # where the mesh sits (this is created during the run_pt_hedland.py) 135 135 meshes_dir_name = meshes_dir + scenario_name+ interior_mesh +'.msh' 136 136 … … 138 138 order_filename_dir = boundaries_dir + order_filename 139 139 140 # where the landward points of boundary extent sit (this is used within run_p erth.py)140 # where the landward points of boundary extent sit (this is used within run_pt_hedland.py) 141 141 landward_dir = boundaries_dir + landward 142 142 … … 146 146 147 147 # where the directory of the output filename sits 148 output_build_time_dir = output_dir+build_time+dir_comment+sep #used for build_p erth.py149 output_run_time_dir = output_dir+run_time+dir_comment+sep #used for run_p erth.py148 output_build_time_dir = output_dir+build_time+dir_comment+sep #used for build_pt_hedland.py 149 output_run_time_dir = output_dir+run_time+dir_comment+sep #used for run_pt_hedland.py 150 150 output_run_time_dir_name = output_run_time_dir + scenario_name #Used by post processing 151 151 … … 159 159 160 160 #Land, to set the initial stage/water to be offcoast only 161 poly_mainland = read_polygon(polygons_dir+'initial_condition.csv') 161 poly_mainland = read_polygon(polygons_dir+'initial_conditions_mainland.csv') 162 163 #Ocean 164 poly_ocean = read_polygon(polygons_dir+'initial_conditions_ocean.csv') 162 165 163 166 # Initial bounding polygon for data clipping … … 165 168 res_poly_all = 100000*res_factor 166 169 167 # Area of Interest 1 ( Fremantle)168 poly_aoi1 = read_polygon(polygons_dir+' CBD_coastal.csv')170 # Area of Interest 1 (pt_hedland) 171 poly_aoi1 = read_polygon(polygons_dir+'area_of_interest.csv') 169 172 res_aoi1 = 500*res_factor 170 173 171 # Area of Interest 2 (Rockingham) 172 poly_aoi2 = read_polygon(polygons_dir+'rockingham_penguin.csv') 173 res_aoi2 = 500*res_factor 174 175 # Area of Interest 2 (garden Island) 176 poly_aoi2a = read_polygon(polygons_dir+'garden.csv') 177 res_aoi2a= 500*res_factor 178 179 # Area of Interest 3 (geordie bay - record of tsunami impact) 180 poly_aoi3 = read_polygon(polygons_dir+'geordie_bay.csv') 181 res_aoi3 = 500*res_factor 182 183 # Area of Interest 4 (sorrento - record of tsunami impact) 184 poly_aoi4 = read_polygon(polygons_dir+'sorrento_gauge.csv') 185 res_aoi4 = 500*res_factor 186 187 # Area of Significance 1 (Garden Island and sand bank infront of Rockingham) 188 poly_aos1 = read_polygon(polygons_dir+'garden_rockingham.csv') 174 # Area of Significance 1 (pt_hedland) 175 poly_aos1 = read_polygon(polygons_dir+'area_of_significance.csv') 189 176 res_aos1 = 1000*res_factor 190 177 191 # Area of Significance 2 (incorporate coastline of rottnest)192 poly_aos2 = read_polygon(polygons_dir+'rottnest_external.csv')193 res_aos2 = 1000*res_factor194 195 # Refined areas196 # Polygon designed to incorporate dredged area from Fremantle to197 # Rockingham as the steep incline was making the elevation go to 0198 poly_aos3 = read_polygon(polygons_dir+'DredgeArea.csv')199 res_aos3 = 1000*res_factor200 201 178 # Shallow water 1 202 poly_sw1 = read_polygon(polygons_dir+' internal_h20mORd3km.csv')179 poly_sw1 = read_polygon(polygons_dir+'shallow_water.csv') 203 180 res_sw1 = 25000*res_factor 204 205 # Deep water (land of Rottnest, ANUGA does not do donuts!)206 poly_dw1 = read_polygon(polygons_dir+'rottnest_internal.csv')207 res_dw1 = 100000*res_factor208 181 209 182 # Combined all regions, must check that all are included! … … 211 184 if interior_mesh =='all': 212 185 print'Mesh = all' 213 interior_regions = [[poly_aoi1,res_aoi1],[poly_aoi2,res_aoi2] 214 ,[poly_aoi2a,res_aoi2a],[poly_aoi3,res_aoi3] 215 ,[poly_aoi4,res_aoi4],[poly_aos1,res_aos1] 216 ,[poly_aos2,res_aos2],[poly_aos3,res_aos3] 217 ,[poly_sw1,res_sw1], [poly_dw1,res_dw1]] 186 interior_regions = [[poly_aoi1,res_aoi1],[poly_aos1,res_aos1] 187 ,[poly_sw1,res_sw1]] 188 218 189 if interior_mesh =='none': 219 190 print'Mesh = none' … … 223 194 print 'min estimated number of triangles', trigs_min 224 195 225 #------------------------------------------------------------------------------226 # Clipping regions for export to asc and regions for clipping data227 # Final inundation maps should only be created in regions of the finest mesh228 #------------------------------------------------------------------------------229 230 #Geordie Bay extract ascii grid231 xminGeordie = 358000232 xmaxGeordie = 362000233 yminGeordie = 6458500234 ymaxGeordie = 6461000235 236 #Sorrento extract ascii grid237 xminSorrento = 379000238 xmaxSorrento = 382500239 yminSorrento = 6477000240 ymaxSorrento = 6480000241 242 #Fremantle extract ascii grid243 xminFremantle = 376000244 xmaxFremantle = 388000245 yminFremantle = 6449000246 ymaxFremantle = 6461000247 248 #Rockingham extract ascii grid249 xminRockingham = 373500250 xmaxRockingham = 385500251 yminRockingham = 6424000252 ymaxRockingham = 6433000253
Note: See TracChangeset
for help on using the changeset viewer.