- Timestamp:
- Apr 14, 2010, 6:53:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/gauge.py
r7679 r7685 92 92 import string 93 93 from anuga.shallow_water.data_manager import get_all_swwfiles 94 from anuga.abstract_2d_finite_volumes.util import file_function 94 from anuga.abstract_2d_finite_volumes.util import file_function 95 95 96 96 assert type(gauge_file) == type(''), 'Gauge filename must be a string' … … 246 246 if quantity == 'ycentroid': 247 247 points_list.append(callable_sww.centroids[point_i][1]) 248 248 249 249 points_writer[point_i].writerow(points_list) 250 250 … … 281 281 use_cache=False, 282 282 verbose=False, 283 283 output_centroids=False): 284 284 """ Read sww file and plot the time series for the 285 285 prescribed quantities at defined gauge locations and … … 399 399 use_cache, 400 400 verbose, 401 401 output_centroids = output_centroids) 402 402 return k 403 403 … … 435 435 use_cache = False, 436 436 verbose = False, 437 437 output_centroids = False): 438 438 439 439 # FIXME(Ole): Shouldn't print statements here be governed by verbose? … … 499 499 verbose = verbose, 500 500 use_cache = use_cache, 501 501 output_centroids = output_centroids) 502 502 503 503 # determine which gauges are contained in sww file
Note: See TracChangeset
for help on using the changeset viewer.