Changeset 6325
- Timestamp:
- Feb 13, 2009, 8:36:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/standardised_version/build_urs_boundary.py
r6324 r6325 136 136 137 137 # Call legacy function to create STS file. 138 # This should be replaced in the future. 139 print 'reading', project.urs_order 140 print 'creating STS file' 141 print 'mux_filenames=%s' % str(mux_filenames) 142 print 'basename_out=%s' % str(output_dir) 143 print 'ordering_filename=%s' % str(project.urs_order) 144 print 'weights=%s' % str(mux_weights) 145 print 'mean_stage=%s' % str(project.tide) 138 print 'creating sts file' 146 139 urs2sts(mux_filenames, 147 140 basename_out=output_dir, … … 150 143 mean_stage=project.tide, 151 144 verbose=True) 152 else: # a single mux stem file 145 else: # a single mux stem file, assume 1.0 weight 153 146 urs_filenames = [os.path.join(mux_dir, event_file)] 154 147 155 148 weight_factor = 1.0 156 weights = weight_factor*num.ones(len(urs_filenames), num. float)149 weights = weight_factor*num.ones(len(urs_filenames), num.Float) 157 150 158 order_filename = os.path.join(project.order_filename_dir)151 order_filename = project.order_filename_dir 159 152 160 153 print 'reading', order_filename … … 169 162 verbose=True) 170 163 171 # report on stuffso far164 # report on progress so far 172 165 quantities, elevation, time = get_sts_gauge_data(project.event_folder, 173 166 verbose=False)
Note: See TracChangeset
for help on using the changeset viewer.