Changeset 6298 for anuga_work/production/australia_ph2/sydney/project.py
- Timestamp:
- Feb 9, 2009, 4:26:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/sydney/project.py
r6289 r6298 41 41 # run_scenario script is executed 42 42 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 43 event_number = 7875 # Java 9.3 original 46 44 alpha = 0.1 # smoothing parameter for mesh 47 45 friction=0.01 # manning's friction coefficient … … 95 93 # Used in run_busselton,py 96 94 # Format for points easting,northing (no header) 97 ##land_initial_conditions_filename = [['initial_condition_extend.csv', 0],98 ##['initial_condition_comerong_island.csv', 0],99 ##['initial_condition_gabo_island.csv', 0],100 ##['initial_condition_montague_island.csv', 0]]95 land_initial_conditions_filename = [['initial_condition_extend.csv', 0], 96 ['initial_condition_comerong_island.csv', 0], 97 ['initial_condition_gabo_island.csv', 0], 98 ['initial_condition_montague_island.csv', 0]] 101 99 102 100 # BOUNDING POLYGON - for data clipping and estimate of triangles in mesh … … 105 103 bounding_polygon_filename = 'bounding_polygon.csv' 106 104 105 # INTERIOR REGIONS - for designing the mesh 106 # Used in run_model.py 107 # Format for points easting,northing (no header) 108 ##interior_regions_data = [['coast_3km_buffer.csv', 50000]] 109 107 110 108 111 # BOUNDING POLYGON … … 119 122 # Format easting,northing (no header) 120 123 landward_boundary_filename = 'landward_boundary_extend.csv' 124 125 121 126 122 127 … … 148 153 149 154 # The absolute pathname of the mesh, generated in run_busselton.py 150 meshes = join(meshes_folder, scenario_name, '.msh')155 meshes = meshes_folder + sep + scenario_name + '.msh' 151 156 152 157 # The absolute pathname for the urs order points, used within build_boundary.py … … 158 163 159 164 # The absolute pathname for the .sts file, generated in build_boundary.py 160 event_sts = join(boundaries_folder, str(event_number) , scenario_name)165 event_sts = join(boundaries_folder, str(event_number)) 161 166 162 167 # The absolute pathname for the output folder names … … 174 179 175 180 # Create list of land polygons with initial conditions 176 ##land_initial_conditions = [] 177 ##for filename, MSL in land_initial_conditions_filename: 181 land_initial_conditions = [] 182 for filename, MSL in land_initial_conditions_filename: 183 polygon = read_polygon(join(polygons_folder, filename)) 184 land_initial_conditions.append([filename, MSL]) 185 186 ### Create list of interior polygons with scaling factor 187 interior_regions = [] 188 ##for filename, maxarea in interior_regions_data: 178 189 ## polygon = read_polygon(join(polygons_folder, filename)) 179 ## land_initial_conditions.append([filename, MSL]) 180 181 # Create list of interior polygons with scaling factor 182 interior_regions = [] 183 #for filename, maxarea in interior_regions_data: 184 # polygon = read_polygon(join(polygons_folder, filename)) 185 # interior_regions.append([polygon, maxarea*scale_factor]) 190 ## interior_regions.append([polygon, maxarea*scale_factor]) 186 191 187 192 # Initial bounding polygon for data clipping 188 193 bounding_polygon = read_polygon(join(polygons_folder, 189 194 bounding_polygon_filename)) 190 bounding_maxarea = 1 00000*scale_factor195 bounding_maxarea = 125000*scale_factor 191 196 192 197 # Estimate the number of triangles
Note: See TracChangeset
for help on using the changeset viewer.