Changeset 4482 for anuga_work/production/exmouth_2006
- Timestamp:
- May 24, 2007, 9:29:44 AM (17 years ago)
- Location:
- anuga_work/production/exmouth_2006
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/exmouth_2006/build_exmouth.py
r4476 r4482 28 28 from anuga.geospatial_data.geospatial_data import * 29 29 from anuga.abstract_2d_finite_volumes.util import start_screen_catcher, copy_code_files 30 from anuga_parallel.parallel_abstraction import get_processor_name 30 31 31 32 # Application specific imports … … 42 43 start_screen_catcher(project.output_build_time_dir) 43 44 45 print "Processor Name:",get_processor_name() 44 46 print 'USER: ', project.user 45 47 -
anuga_work/production/exmouth_2006/run_exmouth.py
r4476 r4482 30 30 from anuga.shallow_water import Field_boundary 31 31 from Numeric import allclose 32 from anuga.shallow_water.data_manager import export_grid 32 33 33 34 from anuga.pmesh.mesh_interface import create_mesh_from_regions … … 228 229 barrier() 229 230 231 export_grid(kwargs['aa_scenario_name'], extra_name_out = 'town', 232 quantities = ['elevation','stage'], # '(xmomentum**2 + ymomentum**2)**0.5' defaults to elevation 233 timestep = None, 234 reduction = max, 235 cellsize = 25, 236 NODATA_value = -9999, 237 easting_min = project.eastingmin, 238 easting_max = project.eastingmax, 239 northing_min = project.northingmin, 240 northing_max = project.northingmax, 241 verbose = False, 242 origin = None, 243 datum = 'WGS84', 244 format = 'asc') 245 246 swwfile = kwargs['output_dir']+kwargs['aa_scenario_name']+'.sww' 247 buildings_filename = project.buildings_filename 248 buildings_filename_out = file_loc + project.buildings_filename_out 249 250 inundation_damage(swwfile, buildings_filename, buildings_filename_out) 251 print '\n Augmented building file written to %s \n' \ 252 %buildings_filename_out 253 230 254 231 255 #-------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.