Changeset 4587 for anuga_work/production/exmouth_2006
- Timestamp:
- Jul 4, 2007, 5:22:18 PM (18 years ago)
- Location:
- anuga_work/production/exmouth_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/exmouth_2006/project.py
r4581 r4587 39 39 finaltime=25000 40 40 setup='final' 41 source='onslow'41 #source='onslow' 42 42 #source='dampier' 43 #source='exmouth'43 source='exmouth' 44 44 45 45 if setup =='trial': … … 56 56 print'final' 57 57 res_factor=1 58 time_thinning= 158 time_thinning=4 59 59 yieldstep=60 60 60 if setup =='store': … … 118 118 119 119 if source=='onslow': 120 boundaries_name = 'exmouth_3 103_18052007' #onslow_hedland_broome gun120 boundaries_name = 'exmouth_3859_16052007' #onslow_hedland_broome gun 121 121 boundaries_in_dir = anuga_dir+'boundaries'+sep+'urs'+sep+'onslow_hedland_broome'+sep+'1_10000'+sep 122 122 123 123 if source=='exmouth': 124 boundaries_name = 'exmouth_3 859_16052007' #exmouth gun124 boundaries_name = 'exmouth_3103_18052007' #exmouth gun 125 125 boundaries_in_dir = anuga_dir+'boundaries'+sep+'urs'+sep+'exmouth'+sep+'1_10000'+sep 126 126 … … 133 133 output_dir = anuga_dir+'outputs'+sep 134 134 output_build_time_dir = output_dir+build_time+sep 135 output_run_time_dir = output_dir +run_time+dir_comment+sep136 #output_run_time_dir = output_dir +'20070604_022250_run_final_0_onslow_nbartzis'+sep135 #output_run_time_dir = output_dir +run_time+dir_comment+sep 136 output_run_time_dir = output_dir +'20070619_042140_run_final_0_onslow_nbartzis'+sep 137 137 output_run_time_dir_name = output_run_time_dir + scenario_name #Used by post processing 138 138 … … 224 224 # exporting asc grid 225 225 eastingmin = 200663 226 eastingmax = 20 6250226 eastingmax = 207500 227 227 northingmax = 7574000 228 228 northingmin = 7564500 -
anuga_work/production/exmouth_2006/run_exmouth.py
r4546 r4587 66 66 # kwargs['bathy_file']=project.combined_small_dir_name + '.txt' 67 67 kwargs['boundary_file']=project.boundaries_in_dir_name + '.sww' 68 68 ''' 69 69 print 'output_dir',kwargs['output_dir'] 70 70 if myid == 0: … … 226 226 #kwargs 'completed' must be added to write the final parameters to file 227 227 kwargs['completed']=str(time.time()-t0) 228 229 ''' 228 230 if myid == 0: 229 231 store_parameters(**kwargs) 230 232 231 233 print 'memory usage before del domain',mem_usage() 232 del domain234 #del domain 233 235 print 'memory usage after del domain',mem_usage() 234 236 235 237 swwfile = kwargs['output_dir']+kwargs['aa_scenario_name'] 236 238 export_grid(swwfile, extra_name_out = 'town', 237 # quantities = ['depth'], # '(xmomentum**2 + ymomentum**2)**0.5' defaults to elevation238 quantities = ['elevation','depth','stage','speed'], # '(xmomentum**2 + ymomentum**2)**0.5' defaults to elevation239 quantities = ['speed'], # '(xmomentum**2 + ymomentum**2)**0.5' defaults to elevation 240 # quantities = ['elevation','depth','speed','stage'], # '(xmomentum**2 + ymomentum**2)**0.5' defaults to elevation 239 241 timestep = None, 240 242 reduction = max, … … 253 255 buildings_filename_out = project.buildings_filename_out 254 256 255 inundation_damage(swwfile+'.sww', buildings_filename, buildings_filename_out)257 #inundation_damage(swwfile+'.sww', buildings_filename, buildings_filename_out) 256 258 print '\n Augmented building file written to %s \n' %buildings_filename_out 257 259
Note: See TracChangeset
for help on using the changeset viewer.