Changeset 4509
- Timestamp:
- May 29, 2007, 10:31:20 AM (17 years ago)
- Location:
- anuga_work/production/exmouth_2006
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/exmouth_2006/build_exmouth.py
r4483 r4509 27 27 from anuga.shallow_water.data_manager import convert_dem_from_ascii2netcdf, dem2pts 28 28 from anuga.geospatial_data.geospatial_data import * 29 from anuga. abstract_2d_finite_volumes.utilimport start_screen_catcher, copy_code_files29 from anuga.shallow_water.data_manager import start_screen_catcher, copy_code_files 30 30 from anuga_parallel.parallel_abstraction import get_processor_name 31 31 -
anuga_work/production/exmouth_2006/project.py
r4477 r4509 11 11 from anuga.utilities.system_tools import get_user_name, get_host_name 12 12 13 codename = 'project.py'13 #codename = 'project.py' 14 14 15 15 home = getenv('INUNDATIONHOME') + sep +'data'+sep #Sandpit's parent dir … … 17 17 host = get_host_name() 18 18 #needed when running using mpirun, mpirun doesn't inherit umask from .bashrc 19 umask(002)19 #umask(002) 20 20 21 21 #Making assumptions about the location of scenario data … … 38 38 starttime=3600 39 39 finaltime=25000 40 setup=' trial'40 setup='store' 41 41 42 42 if setup =='trial': … … 55 55 time_thinning=1 56 56 yieldstep=60 57 if setup =='store': 58 print'store' 59 res_factor=10 60 time_thinning=48 61 yieldstep=240 62 57 63 58 64 dir_comment='_'+setup+'_'+str(tide)+'_'+str(user) -
anuga_work/production/exmouth_2006/run_exmouth.py
r4482 r4509 33 33 34 34 from anuga.pmesh.mesh_interface import create_mesh_from_regions 35 from anuga. abstract_2d_finite_volumes.utilimport start_screen_catcher, copy_code_files,store_parameters35 from anuga.shallow_water.data_manager import start_screen_catcher, copy_code_files,store_parameters 36 36 from anuga_parallel.parallel_api import distribute, numprocs, myid, barrier 37 37 from anuga_parallel.parallel_abstraction import get_processor_name … … 65 65 kwargs['output_dir']=project.output_run_time_dir 66 66 kwargs['bathy_file']=project.combined_dir_name+'.txt' 67 # kwargs['bathy_file']=project.combined_small_dir_name + '. pts'67 # kwargs['bathy_file']=project.combined_small_dir_name + '.txt' 68 68 kwargs['boundary_file']=project.boundaries_in_dir_name + '.sww' 69 69 … … 246 246 swwfile = kwargs['output_dir']+kwargs['aa_scenario_name']+'.sww' 247 247 buildings_filename = project.buildings_filename 248 buildings_filename_out = file_loc +project.buildings_filename_out248 buildings_filename_out = project.buildings_filename_out 249 249 250 250 inundation_damage(swwfile, buildings_filename, buildings_filename_out)
Note: See TracChangeset
for help on using the changeset viewer.