- Timestamp:
- Feb 9, 2009, 4:26:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/sydney/build_boundary_7875.py
r6290 r6298 5 5 Input: order_filename from project.py 6 6 event_number needs to be reflected in the project file 7 Output: creates a sts file and csv files stored in project. boundaries_dir_event.7 Output: creates a sts file and csv files stored in project.event_sts. 8 8 The run_sydney.py is reliant on the output of this script. 9 9 """ … … 103 103 104 104 maxname = 'max_sts_stage.csv' 105 fid_max = open(project. boundaries_dir_event+sep+maxname,'w')105 fid_max = open(project.event_sts+sep+maxname,'w') 106 106 s = 'index, x, y, max_stage \n' 107 107 fid_max.write(s) … … 120 120 121 121 minname = 'min_sts_stage.csv' 122 fid_min = open(project. boundaries_dir_event+sep+minname,'w')122 fid_min = open(project.event_sts+sep+minname,'w') 123 123 s = 'index, x, y, max_stage \n' 124 124 fid_min.write(s) … … 134 134 135 135 136 fid_sts = open(project. boundaries_dir_event+sep+basename+'_'+ str(index)+'.csv', 'w')136 fid_sts = open(project.event_sts+sep+basename+'_'+ str(index)+'.csv', 'w') 137 137 s = 'time, stage, xmomentum, ymomentum \n' 138 138 fid_sts.write(s) … … 152 152 return quantities,elevation,time 153 153 154 quantities,elevation,time=get_sts_gauge_data(os.path.join(project. boundaries_dir_event,project.scenario_name),verbose=False)154 quantities,elevation,time=get_sts_gauge_data(os.path.join(project.event_sts),verbose=False) 155 155 156 156 print len(elevation), len(quantities['stage'][0,:])
Note: See TracChangeset
for help on using the changeset viewer.