Changeset 6282
- Timestamp:
- Feb 5, 2009, 3:27:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/standardised_version/project.py
r6281 r6282 40 40 # Model specific parameters. One or all can be changed each time the 41 41 # run_scenario script is executed 42 tide = 0 #0.643 #event_number = 27255 # Java 9.3 worst case for Perth44 #event_number = 68693 # Sumatra 9.245 event_number = 27283 # Java 9.3 original42 tide = 0 #0.6 43 #event_number = 27255 # Java 9.3 worst case for Perth 44 #event_number = 68693 # Sumatra 9.2 45 event_number = 27283 # Java 9.3 original 46 46 alpha = 0.1 # smoothing parameter for mesh 47 47 friction=0.01 # manning's friction coefficient … … 137 137 # Check the run_busselton.py for boundary_tags 138 138 139 # thinned ordering file from Hazard Map (geographic)139 # Thinned ordering file from Hazard Map (geographic) 140 140 # Format is index,latitude,longitude (with header) 141 141 urs_order_filename = 'thinned_boundary_ordering_extend.csv' 142 142 143 # landward bounding points143 # Landward bounding points 144 144 # Format easting,northing (no header) 145 145 landward_boundary_filename = 'landward_boundary_extend.csv' … … 209 209 output_run_time = join(output_run, scenario_name) 210 210 211 # The absolute pathname for the gauges file, used for get_timeseries.py 211 # The absolute pathname for the gauges file 212 # Used for get_timeseries.py 212 213 gauges = join(gauges_folder, gauges_filename) 213 214 214 # The absolute pathname for the building file ,215 # The absolute pathname for the building file 215 216 # Used for run_building_inundation.py 216 217 building_exposure = join(gauges_folder, building_exposure_filename) … … 220 221 #------------------------------------------------------------------------------ 221 222 223 # Create list of land polygons with initial conditions 222 224 land_initial_conditions = [] 223 225 for filename, MSL in land_initial_conditions_filename: … … 225 227 land_initial_conditions.append([filename, MSL]) 226 228 229 # Create list of interior polygons with scaling factor 230 interior_regions = [] 231 for filename, maxarea in interior_regions_data: 232 polygon = read_polygon(join(polygons_folder, filename)) 233 interior_regions.append([polygon, maxarea*scale_factor]) 234 227 235 # Initial bounding polygon for data clipping 228 236 bounding_polygon = read_polygon(join(polygons_folder, … … 230 238 bounding_maxarea = 100000*scale_factor 231 239 232 interior_regions = [] 233 for filename, maxarea in interior_regions_data: 234 polygon = read_polygon(join(polygons_folder, filename)) 235 interior_regions.append([polygon, maxarea*scale_factor]) 236 240 # Estimate the number of triangles 237 241 trigs_min = number_mesh_triangles(interior_regions, 238 242 bounding_polygon, bounding_maxarea)
Note: See TracChangeset
for help on using the changeset viewer.