Changeset 4587 for anuga_work/production/exmouth_2006/run_exmouth.py
- Timestamp:
- Jul 4, 2007, 5:22:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.