Ignore:
Timestamp:
Apr 14, 2010, 6:53:12 PM (14 years ago)
Author:
hudson
Message:

Ticket 344 completed and unit tests pass.
Stripped out a heap of tabs and replaced them with 4 spaces.
Removed some redundant imports and deprecated functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/gauge.py

    r7679 r7685  
    9292    import string
    9393    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   
    9595
    9696    assert type(gauge_file) == type(''), 'Gauge filename must be a string'
     
    246246                        if quantity == 'ycentroid':
    247247                            points_list.append(callable_sww.centroids[point_i][1])
    248                                                        
     248                           
    249249                points_writer[point_i].writerow(points_list)
    250250
     
    281281                   use_cache=False,
    282282                   verbose=False,
    283                                    output_centroids=False):
     283                   output_centroids=False):
    284284    """ Read sww file and plot the time series for the
    285285    prescribed quantities at defined gauge locations and
     
    399399                        use_cache,
    400400                        verbose,
    401                                                 output_centroids = output_centroids)
     401                        output_centroids = output_centroids)
    402402    return k
    403403
     
    435435                    use_cache = False,
    436436                    verbose = False,
    437                                         output_centroids = False):   
     437                    output_centroids = False):   
    438438       
    439439    # FIXME(Ole): Shouldn't print statements here be governed by verbose?
     
    499499                          verbose = verbose,
    500500                          use_cache = use_cache,
    501                                                   output_centroids = output_centroids)
     501                          output_centroids = output_centroids)
    502502
    503503        # determine which gauges are contained in sww file
Note: See TracChangeset for help on using the changeset viewer.