Changeset 4576 for anuga_core/source/anuga/fit_interpolate/fit.py
- Timestamp:
- Jul 2, 2007, 5:25:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/fit.py
r4572 r4576 325 325 assert point_origin is None, msg 326 326 filename = point_coordinates_or_filename 327 328 for i, geo_block in enumerate(Geospatial_data(filename, 329 max_read_lines=max_read_lines, 330 load_file_now=False, 331 verbose=verbose)): 327 328 G_data = Geospatial_data(filename, 329 max_read_lines=max_read_lines, 330 load_file_now=False, 331 verbose=verbose) 332 for i, geo_block in enumerate(G_data): 332 333 if verbose is True and 0 == i%200: # round every 5 minutes 333 334 # But this is dependant on the # of Triangles, so it 334 335 #isn't every 5 minutes. 335 print 'Block %i' %i 336 337 print 'Processing Block %d' %i 338 # FIXME (Ole): It would be good to say how many blocks 339 # there are here. But this is no longer necessary 340 # for pts files as they are reported in geospatial_data 341 # I suggest deleting this verbose output and make 342 # Geospatial_data more informative for txt files. 343 344 345 336 346 # build the array 337 347 points = geo_block.get_data_points(absolute=True)
Note: See TracChangeset
for help on using the changeset viewer.