Changeset 5804
- Timestamp:
- Oct 2, 2008, 11:30:42 AM (16 years ago)
- Location:
- anuga_work/production
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/build_boundary_27255.py
r5786 r5804 50 50 print 'number of sources', len(urs_filenames) 51 51 52 if len(urs_fil names) = 10#change per event52 if len(urs_filenames) == 10: #change per event 53 53 54 54 weight_factor = 30.84050 #change per event … … 68 68 mean_stage=project.tide, 69 69 verbose=True) 70 else print 'number of sources do not match event.list' 70 else: 71 print 'number of sources do not match event.list' 71 72 72 73 #------------------------------------------------------------------------------ … … 112 113 113 114 minname = 'min_sts_stage.csv' 114 fid_min = open(project.boundaries_dir_event+sep+m axname,'w')115 fid_min = open(project.boundaries_dir_event+sep+minname,'w') 115 116 s = 'index, x, y, max_stage \n' 116 117 fid_min.write(s) -
anuga_work/production/busselton/build_boundary_27283.py
r5786 r5804 81 81 print 'number of sources', len(urs_filenames) 82 82 83 if len(urs_fil names) = 44#change per event83 if len(urs_filenames) == 44: #change per event 84 84 85 85 # AS per David Burbidge email on Friday 4th July the mag 9.3 event … … 104 104 mean_stage=project.tide, 105 105 verbose=True) 106 else print 'number of sources do not match event.list' 106 else: 107 print 'number of sources do not match event.list' 107 108 108 109 #------------------------------------------------------------------------------ … … 148 149 149 150 minname = 'min_sts_stage.csv' 150 fid_min = open(project.boundaries_dir_event+sep+m axname,'w')151 fid_min = open(project.boundaries_dir_event+sep+minname,'w') 151 152 s = 'index, x, y, max_stage \n' 152 153 fid_min.write(s) -
anuga_work/production/busselton/project_250m.py
r5793 r5804 51 51 finaltime=80000 # final time for simulation 52 52 53 interior_mesh = ' all' # Can have 'all' or 'none' for Phase 2 study53 interior_mesh = 'none' # Can have 'all' or 'none' for Phase 2 study 54 54 55 55 setup='final' # Final can be replaced with trial or basic. -
anuga_work/production/carnarvon/build_boundary_27255.py
r5790 r5804 50 50 print 'number of sources', len(urs_filenames) 51 51 52 if len(urs_fil names) = 10#change per event52 if len(urs_filenames) == 10: #change per event 53 53 54 54 weight_factor = 30.84050 #change per event … … 68 68 mean_stage=project.tide, 69 69 verbose=True) 70 else print 'number of sources do not match event.list' 70 else: 71 print 'number of sources do not match event.list' 71 72 72 73 #------------------------------------------------------------------------------ … … 112 113 113 114 minname = 'min_sts_stage.csv' 114 fid_min = open(project.boundaries_dir_event+sep+m axname,'w')115 fid_min = open(project.boundaries_dir_event+sep+minname,'w') 115 116 s = 'index, x, y, max_stage \n' 116 117 fid_min.write(s) -
anuga_work/production/carnarvon/build_boundary_27283.py
r5790 r5804 81 81 print 'number of sources', len(urs_filenames) 82 82 83 if len(urs_fil names) = 44#change per event83 if len(urs_filenames) == 44: #change per event 84 84 85 85 # AS per David Burbidge email on Friday 4th July the mag 9.3 event … … 104 104 mean_stage=project.tide, 105 105 verbose=True) 106 else print 'number of sources do not match event.list' 106 else: 107 print 'number of sources do not match event.list' 107 108 108 109 #------------------------------------------------------------------------------ … … 148 149 149 150 minname = 'min_sts_stage.csv' 150 fid_min = open(project.boundaries_dir_event+sep+m axname,'w')151 fid_min = open(project.boundaries_dir_event+sep+minname,'w') 151 152 s = 'index, x, y, max_stage \n' 152 153 fid_min.write(s) -
anuga_work/production/carnarvon/build_carnarvon.py
r5790 r5804 111 111 mkdir (project.topographies_dir) 112 112 G.export_points_file(project.combined_dir_name + '.pts') 113 #G.export_points_file(project.combined_dir_name + '.txt') #Use for comparision in ARC113 G.export_points_file(project.combined_dir_name + '.txt') #Use for comparision in ARC 114 114 -
anuga_work/production/carnarvon/project_250m.py
r5793 r5804 51 51 finaltime=80000 # final time for simulation 52 52 53 interior_mesh = ' none' # Can have 'all' or 'none' for Phase 2 study53 interior_mesh = 'all' # Can have 'all' or 'none' for Phase 2 study 54 54 55 55 setup='final' # Final can be replaced with trial or basic. -
anuga_work/production/geraldton/build_boundary_27255.py
r5798 r5804 50 50 print 'number of sources', len(urs_filenames) 51 51 52 if len(urs_fil names) = 10#change per event52 if len(urs_filenames) == 10: #change per event 53 53 54 54 weight_factor = 30.84050 #change per event … … 63 63 64 64 urs2sts(urs_filenames, 65 basename_out=os.path.join(project.boundaries_dir ,scenario_name),65 basename_out=os.path.join(project.boundaries_dir_event,scenario_name), 66 66 ordering_filename=order_filename, 67 zone=50, #enforcing zone 5068 67 weights=weights, 69 68 mean_stage=project.tide, 70 69 verbose=True) 71 72 elseprint 'number of sources do not match event.list'70 else: 71 print 'number of sources do not match event.list' 73 72 74 73 #------------------------------------------------------------------------------ … … 114 113 115 114 minname = 'min_sts_stage.csv' 116 fid_min = open(project.boundaries_dir_event+sep+m axname,'w')115 fid_min = open(project.boundaries_dir_event+sep+minname,'w') 117 116 s = 'index, x, y, max_stage \n' 118 117 fid_min.write(s) -
anuga_work/production/geraldton/build_boundary_27283.py
r5798 r5804 81 81 print 'number of sources', len(urs_filenames) 82 82 83 if len(urs_fil names) = 44#change per event83 if len(urs_filenames) == 44: #change per event 84 84 85 85 # AS per David Burbidge email on Friday 4th July the mag 9.3 event … … 101 101 basename_out=os.path.join(project.boundaries_dir_event,scenario_name), 102 102 ordering_filename=order_filename, 103 zone=50, #enforcing zone 50104 103 weights=weights, 105 104 mean_stage=project.tide, 106 105 verbose=True) 107 else print 'number of sources do not match event.list' 106 else: 107 print 'number of sources do not match event.list' 108 108 109 109 #------------------------------------------------------------------------------ … … 149 149 150 150 minname = 'min_sts_stage.csv' 151 fid_min = open(project.boundaries_dir_event+sep+m axname,'w')151 fid_min = open(project.boundaries_dir_event+sep+minname,'w') 152 152 s = 'index, x, y, max_stage \n' 153 153 fid_min.write(s) -
anuga_work/production/geraldton/project_250m.py
r5793 r5804 51 51 finaltime=80000 # final time for simulation 52 52 53 interior_mesh = ' none' # Can have 'all' or 'none' for Phase 2 study53 interior_mesh = 'all' # Can have 'all' or 'none' for Phase 2 study 54 54 55 55 setup='final' # Final can be replaced with trial or basic. -
anuga_work/production/perth/build_boundary_27255.py
r5784 r5804 1 1 """ 2 Script for building boundary to run a tsunami inundation scenario for Perth,2 Script for building boundary to run a tsunami inundation scenario for perth, 3 3 WA, Australia. The boundary is sourced from the National Hazard Map. 4 4 … … 50 50 print 'number of sources', len(urs_filenames) 51 51 52 if len(urs_fil names) = 10#change per event52 if len(urs_filenames) == 10: #change per event 53 53 54 54 weight_factor = 30.84050 #change per event … … 68 68 mean_stage=project.tide, 69 69 verbose=True) 70 else print 'number of sources do not match event.list' 70 else: 71 print 'number of sources do not match event.list' 71 72 72 73 #------------------------------------------------------------------------------ … … 112 113 113 114 minname = 'min_sts_stage.csv' 114 fid_min = open(project.boundaries_dir_event+sep+m axname,'w')115 fid_min = open(project.boundaries_dir_event+sep+minname,'w') 115 116 s = 'index, x, y, max_stage \n' 116 117 fid_min.write(s) -
anuga_work/production/perth/build_boundary_27283.py
r5781 r5804 1 1 """ 2 Script for building boundary to run tsunami inundation scenario for Perth,2 Script for building boundary to run tsunami inundation scenario for perth, 3 3 WA, Australia. The boundary is based on the National Hazard Map. 4 4 … … 81 81 print 'number of sources', len(urs_filenames) 82 82 83 if len(urs_fil names) = 44#change per event83 if len(urs_filenames) == 44: #change per event 84 84 85 85 # AS per David Burbidge email on Friday 4th July the mag 9.3 event … … 104 104 mean_stage=project.tide, 105 105 verbose=True) 106 else print 'number of sources do not match event.list' 106 else: 107 print 'number of sources do not match event.list' 107 108 108 109 #------------------------------------------------------------------------------ … … 148 149 149 150 minname = 'min_sts_stage.csv' 150 fid_min = open(project.boundaries_dir_event+sep+m axname,'w')151 fid_min = open(project.boundaries_dir_event+sep+minname,'w') 151 152 s = 'index, x, y, max_stage \n' 152 153 fid_min.write(s)
Note: See TracChangeset
for help on using the changeset viewer.