Changeset 6592
- Timestamp:
- Mar 24, 2009, 12:13:42 PM (16 years ago)
- Location:
- anuga_work/production/patong/new_version
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/patong/new_version/build_urs_boundary.py
r6418 r6592 140 140 weights=mux_weights, 141 141 zone=project.zone, 142 mean_stage= project.tide,142 mean_stage=0.0, # NOTE: This has to be 0.0 if we use mean_stage in Field_boundary 143 143 verbose=True) 144 144 else: # a single mux stem file, assume 1.0 weight … … 158 158 ordering_filename=order_filename, 159 159 weights=mux_weights, 160 mean_stage= project.tide,160 mean_stage=0.0, # NOTE: This has to be 0.0 if we use mean_stage in Field_boundary 161 161 verbose=True) 162 162 -
anuga_work/production/patong/new_version/run_model.py
r6542 r6592 68 68 69 69 # Create the STS file 70 # FIXME (Ole): This is deadly dangerous if buildcode changes (as was the case 24th March 2009) 71 # We need to use caching instead! 72 70 73 print 'project.mux_data_folder=%s' % project.mux_data_folder 71 74 if not os.path.exists(project.event_sts + '.sts'): … … 140 143 #clipping_polygons=project.building_area_polygons) 141 144 142 print 'Creating %d building polygons' % len(building_polygons)143 145 def create_polygon_function(building_polygons, geo_reference=None): 144 146 L = [] … … 153 155 return buildings 154 156 157 print 'Creating %d building polygons' % len(building_polygons) 155 158 buildings = cache(create_polygon_function, 156 159 building_polygons,
Note: See TracChangeset
for help on using the changeset viewer.