Changeset 5149 for anuga_work/production/busselton/project.py
- Timestamp:
- Mar 10, 2008, 3:59:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/project.py
r5121 r5149 32 32 state = 'western_australia' 33 33 scenario_name = 'busselton' 34 scenario = 'busselton_tsunami_scenario _2006'34 scenario = 'busselton_tsunami_scenario' 35 35 36 36 #Maybe will try to make project a class to allow these parameters to be passed in. … … 39 39 starttime=10000 40 40 midtime=21600 41 finaltime=25000 41 #finaltime=25000 42 finaltime=10000 42 43 export_cellsize=50 43 setup=' final'44 source=' test'44 setup='trial' 45 source='other' 45 46 46 47 … … 65 66 66 67 # onshore data provided by WA DLI 67 onshore_name = 'DLI_orthophoto_DEM' # original 68 #onshore_name = 'DLI_orthophoto_DEM' # original 69 onshore_name = 'dli_dem_clipped' # original 68 70 #islands 69 71 70 72 # AHO + DPI data 71 coast_name = '100k_coastline' 72 offshore_name = 'Bathymetry' 73 coast_name = 'coastline_excluding_beach_survey' 74 coast_name1 = 'beach_survey_final' 75 offshore_name = 'busselton' 73 76 74 77 #final topo name 75 combined_name ='busselton_combined_elevation .pts'76 combined_ smaller_name= 'busselton_combined_elevation_smaller'78 combined_name ='busselton_combined_elevation' 79 combined_name_small = 'busselton_combined_elevation_smaller' 77 80 78 81 anuga_dir = home+state+sep+scenario+sep+'anuga'+sep 79 82 80 topographies_in_dir = home+s ep+state+sep+scenario+sep+'elevation_final'+sep+'points'+sep81 topographies_dir = home+s ep+state+sep+scenario+sep+'anuga'+sep+'topographies'+sep83 topographies_in_dir = home+state+sep+scenario+sep+'elevation_final'+sep+'points'+sep 84 topographies_dir = home+state+sep+scenario+sep+'anuga'+sep+'topographies'+sep 82 85 83 86 #input topo file location … … 86 89 87 90 coast_in_dir_name = topographies_in_dir + coast_name 91 coast_in_dir_name1 = topographies_in_dir + coast_name1 88 92 offshore_in_dir_name = topographies_in_dir + offshore_name 89 93 … … 91 95 #island_dir_name = topographies_dir + island_name 92 96 coast_dir_name = topographies_dir + coast_name 97 coast_dir_name1 = topographies_dir + coast_name1 93 98 offshore_dir_name = topographies_dir + offshore_name 94 99 95 100 #final topo files 96 101 combined_dir_name = topographies_dir + combined_name 97 combined_ smaller_dir_name = topographies_dir + combined_smaller_name102 combined_dir_name_small = topographies_dir + combined_name_small 98 103 99 104 meshes_dir = anuga_dir+'meshes'+sep … … 115 120 boundaries_in_dir = anuga_dir+'boundaries'+sep+'urs'+sep+'exmouth'+sep+'1_10000'+sep 116 121 117 if source==' test':122 if source=='other': 118 123 boundaries_name = 'test' #exmouth gun 119 124 boundaries_in_dir = anuga_dir+'boundaries'+sep+'urs'+sep+'exmouth'+sep+'1_10000'+sep … … 134 139 #gauges 135 140 gauge_name = '???.csv' 136 gauges_dir = home+s ep+state+sep+scenario+sep+'anuga'+sep+'gauges'+sep141 gauges_dir = home+state+sep+scenario+sep+'anuga'+sep+'gauges'+sep 137 142 gauges_dir_name = gauges_dir + gauge_name 138 143 … … 171 176 poly_busselton1 = read_polygon(polygons_dir+'neg20_pos10_polygon.csv') 172 177 res_busselton1 = 10000*res_factor 178 173 179 poly_busselton2 = read_polygon(polygons_dir+'neg5_pos5_poly_.csv') 174 180 res_busselton2 = 500*res_factor … … 178 184 interior_regions = [[poly_busselton1,res_busselton1],[poly_busselton2,res_busselton2]] 179 185 180 boundary_tags={'back': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9 , 14],181 'side': [10,1 3], 'ocean': [11, 12]}186 boundary_tags={'back': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 187 'side': [10,15], 'ocean': [12, 13, 14]} 182 188 183 189 trigs_min = number_mesh_triangles(interior_regions, poly_all, res_poly_all)
Note: See TracChangeset
for help on using the changeset viewer.