Changeset 5655
- Timestamp:
- Aug 14, 2008, 9:16:08 AM (17 years ago)
- Location:
- anuga_work/production
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/export_results.py
r5647 r5655 5 5 from os import sep 6 6 7 #time_dir = '20080630_104134_run_trial_0.6_exmouth_5449_kvanputt' 8 #time_dir = '20080630_111936_run_trial_0.6_exmouth_4695_kvanputt' 9 #time_dir = '20080630_112512_run_trial_0.6_exmouth_4743_kvanputt' 10 #time_dir = '20080630_112830_run_trial_0.6_exmouth_4777_kvanputt' 11 #time_dir = '20080630_114135_run_trial_0.6_exmouth_4901_kvanputt' 12 #time_dir = '20080630_114503_run_trial_0.6_exmouth_4874_kvanputt' 13 #time_dir = '20080630_114811_run_trial_0.6_exmouth_4990_kvanputt' 14 #time_dir = '20080630_115238_run_trial_0.6_exmouth_5103_kvanputt' 15 #time_dir = '20080630_115458_run_trial_0.6_exmouth_5185_kvanputt' 16 #time_dir = '20080630_115757_run_trial_0.6_exmouth_5273_kvanputt' 17 #time_dir = '20080707_164738_run_trial_0.6_exmouth_5120_kvanputt' 18 #time_dir = '20080707_165101_run_trial_0.6_exmouth_5140_kvanputt' 19 #time_dir = '20080707_165619_run_trial_0.6_exmouth_5160_kvanputt' 20 #time_dir = '20080708_101451_run_trial_0.6_exmouth_4743_jsexton' 21 #time_dir = '20080708_101731_run_trial_0.6_exmouth_4777_jsexton' 22 #time_dir = '20080710_095410_run_trial_0.6_exmouth_4695_jsexton' 23 time_dir = '20080807_102253_run_final_0.0_polyline_newExtent_kvanputt' 7 8 time_dir = '20080812_165858_run_final_0.0_polyline_newExtent_kvanputt' 24 9 25 10 -
anuga_work/production/geraldton/build_geraldton.py
r5652 r5655 92 92 93 93 print'add all geospatial objects' 94 G = G1 + G2 + G3 + G_off + G_off1 + G_off2 + G_off3 + G_off494 G = G1 + G2 + G3 + G_off + G_off1 + G_off2 + G_off3 95 95 96 96 print'clip combined geospatial object by bounding polygon' -
anuga_work/production/onslow_2008/export_results.py
r5635 r5655 13 13 #time_dir = '20080725_173911_run_final_0.6_polyline_alpha0.1_kvanputt' 14 14 #time_dir = '20080728_112519_run_final_0.6_polyline_alpha0.2_kvanputt' 15 time_dir = '200808 07_134943_run_final_0.0_polyline_alpha0.1_kvanputt'15 time_dir = '20080812_165726_run_final_0.0_polyline_alpha0.1_kvanputt' 16 16 17 17 cellsize = 25 18 18 #cellsize = 150 19 timestep = 019 #timestep = 0 20 20 directory = project.output_dir 21 21 name = directory+time_dir+sep+project.scenario_name … … 30 30 print 'output dir:', name 31 31 32 #var = [2,3,4] # depth and speed32 var = [3,4] # depth and speed 33 33 #var = [2] # depth 34 var = [0,4] # stage and elevation34 #var = [0,4] # stage and elevation 35 35 36 36 … … 77 77 sww2dem(name, basename_out = outname, 78 78 quantity = quantityname, 79 timestep = timestep,79 #timestep = timestep, 80 80 cellsize = cellsize, 81 81 #easting_min = project_grad.e_min_area, -
anuga_work/production/perth/build_perth.py
r5524 r5655 25 25 # Related major packages 26 26 from anuga.shallow_water import Domain 27 #from anuga.shallow_water import Dirichlet_boundary28 #from anuga.shallow_water import File_boundary29 #from anuga.shallow_water import Reflective_boundary30 27 from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts 31 #from anuga.pmesh.mesh_interface import create_mesh_from_regions32 28 from anuga.geospatial_data.geospatial_data import * 33 29 from anuga.shallow_water.data_manager import start_screen_catcher, copy_code_files … … 138 134 import sys 139 135 sys.exit() 140 141 #-------------------------------------------------------------------------142 # Convert URS to SWW file for boundary conditions143 #-------------------------------------------------------------------------144 print 'starting to create boundary conditions'145 from anuga.shallow_water.data_manager import urs2sww, urs_ungridded2sww146 147 boundaries_in_dir_name = project.boundaries_in_dir_name148 print 'boundaries_in_dir_name',project.boundaries_in_dir_name149 150 151 #import sys; sys.exit()152 153 urs_ungridded2sww(project.boundaries_in_dir_name, project.boundaries_in_dir_name,154 verbose=True, mint=4000, maxt=80000, zscale=1)155 156 157 158 159 160 161 162 163 164 -
anuga_work/production/perth/export_results_all.py
r5647 r5655 11 11 12 12 13 cellsize = 513 cellsize = 25 14 14 #cellsize = 150 15 15 #timestep = 0 -
anuga_work/production/perth/get_timeseries.py
r5647 r5655 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='200808 07_134943_run_final_0.0_polyline_alpha0.1_kvanputt'20 timestamp='20080811_142505_run_final_0.0_polyline_alpha0.1_kvanputt' 21 21 22 22 filename=project.output_dir+timestamp+sep+project.scenario_name+'.sww' … … 24 24 25 25 sww2csv_gauges(filename, 26 #project.gauges_dir_name,27 project.gauges_dir_name2,26 project.gauges_dir_name, 27 #project.gauges_dir_name2, 28 28 quantities = ['stage','speed','depth','elevation'], 29 29 verbose=True) -
anuga_work/production/perth/project.py
r5647 r5655 89 89 topographies_in_dir = home+state+sep+scenario+sep+'elevation_final'+sep+'points'+sep 90 90 topographies_dir = anuga_dir+'topographies'+sep 91 #topographies_time_dir = topographies_dir+build_time+sep92 91 93 92 # input topo file location … … 143 142 boundaries_dir_name = boundaries_dir + scenario_name # what it creates??? 144 143 boundaries_dir_mux = muxhome 145 #boundaries_time_dir = anuga_dir+'boundaries'+sep+build_time+sep146 #boundaries_time_dir_name = boundaries_time_dir + boundaries_name #Used by post processing147 144 148 145 #output locations … … 152 149 output_run_time_dir_name = output_run_time_dir + scenario_name #Used by post processing 153 150 154 155 151 vertex_filename = output_run_time_dir + 'mesh_vertex.csv' 156 152 … … 167 163 buildings_filename = gauges_dir + 'Perth_resA.csv' 168 164 buildings_filename_out = 'Perth_res_Project_modified.csv' 169 170 171 165 172 166 ###############################
Note: See TracChangeset
for help on using the changeset viewer.