Changeset 7694


Ignore:
Timestamp:
Apr 23, 2010, 5:01:59 PM (10 years ago)
Author:
hudson
Message:

Gauge logging can be turned off.

File:
1 edited

Legend:

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

    r7693 r7694  
    236236
    237237    for point_i, point in enumerate(points_array):
    238         is_opened = False       
     238        is_opened = False   
    239239        for time in callable_sww.get_time():
    240240            #add domain starttime to relative time.
     
    251251                points_writer.writerow(points_list)
    252252            else:
    253                 msg = 'gauge' + point_name[point_i] + 'falls off the mesh in file ' + sww_file + '.'
    254                 log.warning(msg)
     253                if verbose:
     254                    msg = 'gauge' + point_name[point_i] + 'falls off the mesh in file ' + sww_file + '.'
     255                    log.warning(msg)
    255256##
    256257# @brief Read a .sww file and plot the time series.
Note: See TracChangeset for help on using the changeset viewer.