Changeset 4548


Ignore:
Timestamp:
Jun 20, 2007, 11:26:42 AM (17 years ago)
Author:
ole
Message:

Spelling and comments

Location:
anuga_core/source/anuga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/fit_interpolate/interpolate.py

    r4522 r4548  
    580580
    581581
    582       FIXME: f(t, x, y) x, y could overrided location, point_id ignored 
     582          FIXME: f(t, x, y) x, y could overrided location, point_id ignored 
    583583          FIXME: point_id could also be a slice
    584584          FIXME: What if x and y are vectors?
     
    787787    stage - array with respect to time and vertices (x,y)
    788788    """
     789
     790    msg = 'Function read_sww in interpolat.py is obsolete'
     791    raise Exception, msg
    789792   
    790793    #FIXME Have this reader as part of data_manager?
  • anuga_core/source/anuga/shallow_water/data_manager.py

    r4545 r4548  
    16541654        dir = "." # Unix compatibility
    16551655    dir_ls = os.listdir(dir)
    1656     interate_over = [x[:-4] for x in dir_ls if base in x and x[-4:] == '.sww']
    1657 
    1658     if len(interate_over) == 0:
     1656    iterate_over = [x[:-4] for x in dir_ls if base in x and x[-4:] == '.sww']
     1657
     1658    if len(iterate_over) == 0:
    16591659        msg = 'No files of the base name %s.'\
    16601660              %(basename_in)
     
    16631663    files_out = []
    16641664#    print 'sww_file',sww_file
    1665     for sww_file in interate_over:
     1665    for sww_file in iterate_over:
    16661666        for quantity in quantities:
    16671667            if extra_name_out is None:
     
    18561856    # deal with either option
    18571857   
    1858     #if verbose: bye= nsuadsfd[0] #uncomment to check catching verbose errors
     1858    #if verbose: bye= nsuadsfd[0] # uncomment to check catching verbose errors
    18591859   
    18601860    #Read sww file
     
    18971897
    18981898
    1899     #FIXME: Refactor using code from file_function.statistics
     1899    #FIXME: Refactor using code from Interpolation_function.statistics (in interpolate.py)
    19001900    #Something like print swwstats(swwname)
    19011901    if verbose:
Note: See TracChangeset for help on using the changeset viewer.