Changeset 6618
- Timestamp:
- Mar 25, 2009, 4:33:47 PM (15 years ago)
- Location:
- anuga_work/production/australia_ph2
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/adelaide/build_urs_boundary.py
r6611 r6618 40 40 # Get maximum wave height throughout timeseries at each index point 41 41 #--------------------------------------------------------------------------- 42 43 # create directory for generate STS file, if necessary 44 if not os.path.exists(project.event_sts): 45 os.mkdir(project.event_sts) 46 42 47 43 maxname = 'max_sts_stage.csv' 48 44 print 'get_sts_gauge_data: maxname=%s' % maxname 49 fid_max = open(os.path.join(project.event_ sts, maxname), 'w')45 fid_max = open(os.path.join(project.event_folder, maxname), 'w') 50 46 fid_max.write('index, x, y, max_stage \n') 51 47 for j in range(len(x)): … … 62 58 63 59 minname = 'min_sts_stage.csv' 64 fid_min = open(os.path.join(project.event_ sts, minname), 'w')60 fid_min = open(os.path.join(project.event_folder, minname), 'w') 65 61 fid_min.write('index, x, y, max_stage \n') 66 62 for j in range(len(x)): … … 72 68 fid_min.write('%d, %.6f, %.6f, %.6f\n' %(index, x[j], y[j], min(stage))) 73 69 74 out_file = os.path.join(project.event_ sts,70 out_file = os.path.join(project.event_folder, 75 71 basename+'_'+str(index)+'.csv') 76 72 fid_sts = open(out_file, 'w') … … 142 138 basename_out=output_dir, 143 139 ordering_filename=project.urs_order, 140 weights=mux_weights, 144 141 central_meridian=project.central_meridian, 145 weights=mux_weights,146 142 verbose=True) 147 143 else: # a single mux stem file, assume 1.0 weight 148 mux_file = os.path.join(project. mux_data_folder, event_file)144 mux_file = os.path.join(project.event_folder, event_file) 149 145 mux_filenames = [mux_file] 150 146 print 'using single-mux file', mux_file … … 160 156 basename_out=output_dir, 161 157 ordering_filename=order_filename, 162 central_meridian=project.central_meridian,163 158 weights=mux_weights, 159 central_meridian=project.central_meridian, 164 160 verbose=True) 165 161 -
anuga_work/production/australia_ph2/albany/build_urs_boundary.py
r6484 r6618 139 139 ordering_filename=project.urs_order, 140 140 weights=mux_weights, 141 zone=project.zone, 142 mean_stage=project.tide, 141 central_meridian=project.central_meridian, 143 142 verbose=True) 144 143 else: # a single mux stem file, assume 1.0 weight … … 158 157 ordering_filename=order_filename, 159 158 weights=mux_weights, 160 mean_stage=project.tide,159 central_meridian=project.central_meridian, 161 160 verbose=True) 162 161 -
anuga_work/production/australia_ph2/broome/build_urs_boundary.py
r6617 r6618 139 139 ordering_filename=project.urs_order, 140 140 weights=mux_weights, 141 zone=project.zone, 142 mean_stage=project.tide, 141 central_meridian=project.central_meridian, 143 142 verbose=True) 144 143 else: # a single mux stem file, assume 1.0 weight … … 158 157 ordering_filename=order_filename, 159 158 weights=mux_weights, 160 mean_stage=project.tide,159 central_meridian=project.central_meridian, 161 160 verbose=True) 162 161 -
anuga_work/production/australia_ph2/carnarvon/build_urs_boundary.py
r6412 r6618 139 139 ordering_filename=project.urs_order, 140 140 weights=mux_weights, 141 zone=project.zone, 142 mean_stage=project.tide, 141 central_meridian=project.central_meridian, 143 142 verbose=True) 144 143 else: # a single mux stem file, assume 1.0 weight … … 158 157 ordering_filename=order_filename, 159 158 weights=mux_weights, 160 mean_stage=project.tide,159 central_meridian=project.central_meridian, 161 160 verbose=True) 162 161 -
anuga_work/production/australia_ph2/esperance/build_urs_boundary.py
r6399 r6618 139 139 ordering_filename=project.urs_order, 140 140 weights=mux_weights, 141 zone=project.zone, 142 mean_stage=project.tide, 141 central_meridian=project.central_meridian, 143 142 verbose=True) 144 143 else: # a single mux stem file, assume 1.0 weight … … 158 157 ordering_filename=order_filename, 159 158 weights=mux_weights, 160 mean_stage=project.tide,159 central_meridian=project.central_meridian, 161 160 verbose=True) 162 161 -
anuga_work/production/australia_ph2/eucla_motel/build_urs_boundary.py
r6399 r6618 139 139 ordering_filename=project.urs_order, 140 140 weights=mux_weights, 141 zone=project.zone, 142 mean_stage=project.tide, 141 central_meridian=project.central_meridian, 143 142 verbose=True) 144 143 else: # a single mux stem file, assume 1.0 weight … … 158 157 ordering_filename=order_filename, 159 158 weights=mux_weights, 160 mean_stage=project.tide,159 central_meridian=project.central_meridian, 161 160 verbose=True) 162 161 -
anuga_work/production/australia_ph2/perth/build_urs_boundary.py
r6429 r6618 139 139 ordering_filename=project.urs_order, 140 140 weights=mux_weights, 141 zone=project.zone, 142 mean_stage=project.tide, 141 central_meridian=project.central_meridian, 143 142 verbose=True) 144 143 else: # a single mux stem file, assume 1.0 weight … … 158 157 ordering_filename=order_filename, 159 158 weights=mux_weights, 160 mean_stage=project.tide,159 central_meridian=project.central_meridian, 161 160 verbose=True) 162 161 -
anuga_work/production/australia_ph2/wyndham/build_urs_boundary.py
r6539 r6618 139 139 ordering_filename=project.urs_order, 140 140 weights=mux_weights, 141 zone=project.zone, 142 mean_stage=project.tide, 141 central_meridian=project.central_meridian, 143 142 verbose=True) 144 143 else: # a single mux stem file, assume 1.0 weight … … 158 157 ordering_filename=order_filename, 159 158 weights=mux_weights, 160 mean_stage=project.tide,159 central_meridian=project.central_meridian, 161 160 verbose=True) 162 161
Note: See TracChangeset
for help on using the changeset viewer.