Changeset 5647
- Timestamp:
- Aug 13, 2008, 8:22:53 AM (16 years ago)
- Location:
- anuga_work/production
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/export_results.py
r5575 r5647 21 21 #time_dir = '20080708_101731_run_trial_0.6_exmouth_4777_jsexton' 22 22 #time_dir = '20080710_095410_run_trial_0.6_exmouth_4695_jsexton' 23 time_dir = '20080 717_092900_run_final_0_exmouth_newExtent_kvanputt'23 time_dir = '20080807_102253_run_final_0.0_polyline_newExtent_kvanputt' 24 24 25 25 … … 28 28 timestep = 0 29 29 directory = project.output_dir 30 name = directory+sep+ 'test'+sep+time_dir+sep+project.scenario_name30 name = directory+sep+time_dir+sep+project.scenario_name 31 31 32 32 from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts … … 87 87 quantity = quantityname, 88 88 timestep = timestep, 89 cellsize = cellsize, 89 cellsize = cellsize, 90 number_of_decimal_places = 4, 90 91 #easting_min = project_grad.e_min_area, 91 92 #easting_max = project_grad.e_max_area, -
anuga_work/production/busselton/export_results_all.py
r5445 r5647 6 6 7 7 8 time_dir = '20080 619_092128_run_trial_0.6_exmouth_current_kvanputt'8 time_dir = '20080807_102253_run_final_0.0_polyline_newExtent_kvanputt' 9 9 10 10 11 11 12 cellsize = 10 13 #cellsize = 150 14 timestep = 0 12 cellsize = 5 13 #timestep = 0 15 14 directory = project.output_dir 16 name = directory+ 'test'+sep+time_dir+sep+project.scenario_name # test folder take out!!15 name = directory+time_dir+sep+project.scenario_name # test folder take out!! 17 16 18 17 from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts … … 46 45 northing_max = project.ymaxDunsborough 47 46 48 # var = [2,3,4] # depth and speed49 #var = [2] # depth50 var = [0,4]47 var = [2,3] # depth and speed 48 #var = [2] # depth 49 #var = [0,4] 51 50 52 51 for which_var in var: … … 92 91 sww2dem(name, basename_out = outname, 93 92 quantity = quantityname, 94 timestep = timestep,93 #timestep = timestep, 95 94 cellsize = cellsize, 96 95 easting_min = easting_min, -
anuga_work/production/busselton/get_timeseries.py
r5610 r5647 18 18 #timestamp='20080724_121200_run_trial_0.6_polyline_alpha0.1_kvanputt' 19 19 #timestamp='20080724_161830_run_final_0.6_polyline_alpha0.1_kvanputt' 20 timestamp='2008080 4_044523_run_final_0.0_polyline_alpha0.1_kvanputt'20 timestamp='20080807_102253_run_final_0.0_polyline_newExtent_kvanputt' 21 21 22 22 filename=project.output_dir+timestamp+sep+project.scenario_name+'.sww' -
anuga_work/production/busselton/project.py
r5626 r5647 35 35 scenario = 'busselton_tsunami_scenario' 36 36 37 tide = 0. 0 #0.637 tide = 0.6 38 38 39 39 alpha = 0.1 … … 92 92 offshore_name2 = 'Busselton_Digitised' 93 93 offshore_name3 = 'Busselton_250m' # for areas that were heading to zero - 2005 Bathymetry grid 94 offshore_name4 = 'Bunbury_TIN' # for area within Bunbury 500 mesh less than zero generated from TIN 95 offshore_name5 = 'Busselton_TIN' # for area within Busselton 500 mesh less than zero generated from TIN 94 96 95 97 … … 113 115 offshore_in_dir_name2 = topographies_in_dir + offshore_name2 #Digitised Fairsheet 114 116 offshore_in_dir_name3 = topographies_in_dir + offshore_name3 #250m 117 offshore_in_dir_name4 = topographies_in_dir + offshore_name4 #Bunbury TIN 118 offshore_in_dir_name5 = topographies_in_dir + offshore_name5 #Busselton TIN 115 119 116 120 #output to anuga from build file … … 124 128 offshore_dir_name2 = topographies_dir + offshore_name2 125 129 offshore_dir_name3 = topographies_dir + offshore_name3 130 offshore_dir_name4 = topographies_dir + offshore_name4 131 offshore_dir_name5 = topographies_dir + offshore_name5 126 132 127 133 #final topo files … … 160 166 #gauges 161 167 gauge_name = 'busselton.csv' 162 gauge_name2 = 'thinned_MGA50+1 .csv'168 gauge_name2 = 'thinned_MGA50+1-1.csv' 163 169 164 170 gauges_dir = home+state+sep+scenario+sep+'anuga'+sep+'gauges'+sep … … 191 197 res_bunbury = 500*res_factor 192 198 193 poly_dunsborough = read_polygon(polygons_dir+'dunsborough_1km.csv')194 res_dunsborough = 500*res_factor195 196 199 poly_busselton2 = read_polygon(polygons_dir+'busselton_2km.csv') 197 200 res_busselton2 = 10000*res_factor … … 200 203 res_bunbury2 = 10000*res_factor 201 204 205 poly_island1 = read_polygon(polygons_dir+'island1.csv') 206 res_island1 = 10000*res_factor 207 208 poly_island2 = read_polygon(polygons_dir+'island2.csv') 209 res_island2 = 10000*res_factor 210 202 211 203 212 interior_regions = [[poly_large,res_large],[poly_busselton,res_busselton],[poly_bunbury,res_bunbury] 204 ,[poly_ dunsborough,res_dunsborough],[poly_busselton2,res_busselton2]205 ,[poly_ bunbury2,res_bunbury2]]213 ,[poly_busselton2,res_busselton2],[poly_bunbury2,res_bunbury2] 214 ,[poly_island1, res_island1],[poly_island2, res_island2]] 206 215 207 216 -
anuga_work/production/onslow_2008/build_onslow.py
r5635 r5647 65 65 offshore_in_dir_name1 = project.offshore_in_dir_name1 66 66 offshore_in_dir_name2 = project.offshore_in_dir_name2 67 ffshore_in_dir_name3 = project.offshore_in_dir_name367 offshore_in_dir_name3 = project.offshore_in_dir_name3 68 68 offshore_in_dir_name4 = project.offshore_in_dir_name4 69 69 … … 94 94 95 95 #creates pts file for island DEM 96 dem2pts(onshore_dir_name, use_cache=True, verbose=True) 96 97 dem2pts(island_dir_name, use_cache=True, verbose=True) 97 dem2pts(island_dir_name1, use_cache=True, verbose=True) 98 98 99 99 100 print'create Geospatial data1 objects from topographies' -
anuga_work/production/perth/export_results_all.py
r5446 r5647 7 7 #time_dir = '20080526_104946_run_final_0.6_test_kvanputt' 8 8 #time_dir = '20080530_170833_run_final_0.6_exmouth_kvanputt' 9 time_dir = '20080 619_115643_run_trial_0.6_exmouth_kvanputt'9 time_dir = '20080807_134943_run_final_0.0_polyline_alpha0.1_kvanputt' 10 10 11 11 12 12 13 cellsize = 1013 cellsize = 5 14 14 #cellsize = 150 15 timestep = 015 #timestep = 0 16 16 directory = project.output_dir 17 17 name = directory+time_dir+sep+project.scenario_name … … 53 53 northing_max = project.ymaxRockingham 54 54 55 # var = [2,3,4] # depth and speed56 #var = [2] # depth57 var = [0,4]55 var = [2,3] # depth and speed 56 #var = [2] # depth 57 #var = [0,4] 58 58 59 59 for which_var in var: … … 99 99 sww2dem(name, basename_out = outname, 100 100 quantity = quantityname, 101 timestep = timestep,101 #timestep = timestep, 102 102 cellsize = cellsize, 103 103 easting_min = easting_min, -
anuga_work/production/perth/get_timeseries.py
r5607 r5647 18 18 #timestamp='20080724_121200_run_trial_0.6_polyline_alpha0.1_kvanputt' 19 19 #timestamp='20080724_161830_run_final_0.6_polyline_alpha0.1_kvanputt' 20 timestamp='2008080 4_044523_run_final_0.0_polyline_alpha0.1_kvanputt'20 timestamp='20080807_134943_run_final_0.0_polyline_alpha0.1_kvanputt' 21 21 22 22 filename=project.output_dir+timestamp+sep+project.scenario_name+'.sww' -
anuga_work/production/perth/project.py
r5626 r5647 38 38 39 39 40 tide = 0. 0 #0.640 tide = 0.6 41 41 42 42 alpha = 0.1 … … 157 157 #gauges 158 158 gauge_name = 'perth.csv' 159 gauge_name2 = 'thinned_MGA50+1.csv' 159 gauge_name2 = 'thinned_MGA50.csv' 160 160 161 161 162 gauges_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'gauges'+sep
Note: See TracChangeset
for help on using the changeset viewer.