Changeset 6398
- Timestamp:
- Feb 24, 2009, 12:28:04 PM (16 years ago)
- Location:
- anuga_work/production/australia_ph2/ceduna
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/ceduna/build_boundary_64468.py
r6342 r6398 63 63 ordering_filename = urs_order, 64 64 weights = weights, 65 zone=53, 65 66 mean_stage = project.tide, 66 67 verbose = True) … … 93 94 94 95 maxname = 'max_sts_stage.csv' 95 fid_max = open(project. boundaries_dir_event+sep+maxname,'w')96 fid_max = open(project.event_folder+sep+maxname,'w') 96 97 s = 'index, x, y, max_stage \n' 97 98 fid_max.write(s) … … 110 111 111 112 minname = 'min_sts_stage.csv' 112 fid_min = open(project. boundaries_dir_event+sep+minname,'w')113 fid_min = open(project.event_folder+sep+minname,'w') 113 114 s = 'index, x, y, max_stage \n' 114 115 fid_min.write(s) … … 124 125 125 126 126 fid_sts = open(project. boundaries_dir_event+sep+basename+'_'+ str(index)+'.csv', 'w')127 fid_sts = open(project.event_folder+sep+basename+'_'+ str(index)+'.csv', 'w') 127 128 s = 'time, stage, xmomentum, ymomentum \n' 128 129 fid_sts.write(s) … … 142 143 return quantities,elevation,time 143 144 144 quantities,elevation,time=get_sts_gauge_data( os.path.join(project.boundaries_dir_event,project.scenario_name),verbose=False)145 quantities,elevation,time=get_sts_gauge_data(project.event_sts,verbose=False) 145 146 146 147 print len(elevation), len(quantities['stage'][0,:]) -
anuga_work/production/australia_ph2/ceduna/project.py
r6359 r6398 40 40 # run_scenario script is executed 41 41 tide = 0 42 event_number = 27255 # Java 9.3 worst case for Perth 42 #event_number = 27255 # Java 9.3 worst case for Perth 43 event_number = 64468 # event for SA coast 43 44 alpha = 0.1 # smoothing parameter for mesh 44 45 friction = 0.01 # manning's friction coefficient … … 104 105 # Thinned ordering file from Hazard Map (geographic) 105 106 # Format is index,latitude,longitude (with header) 106 urs_order_filename = 'urs_order .csv'107 urs_order_filename = 'urs_order_austtg.csv' 107 108 108 109 # Landward bounding points -
anuga_work/production/australia_ph2/ceduna/run_model.py
r6370 r6398 60 60 # Read in boundary from ordered sts file 61 61 event_sts = create_sts_boundary(project.event_sts) 62 print 'HELLO event_sts', event_sts 62 63 63 64 # Reading the landward defined points, this incorporates the original clipping 64 65 # polygon minus the 100m contour 65 66 landward_boundary = read_polygon(project.landward_boundary) 67 print 'landward boundary', landward_boundary 66 68 67 69 # Combine sts polyline with landward points 68 70 bounding_polygon_sts = event_sts + landward_boundary 71 print 'bounding polygon', bounding_polygon_sts 69 72 70 73 # Number of boundary segments
Note: See TracChangeset
for help on using the changeset viewer.