Changeset 6592 for anuga_work/production/patong/new_version/run_model.py
- Timestamp:
- Mar 24, 2009, 12:13:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.