Changeset 4548
- Timestamp:
- Jun 20, 2007, 11:26:42 AM (17 years ago)
- Location:
- anuga_core/source/anuga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/interpolate.py
r4522 r4548 580 580 581 581 582 FIXME: f(t, x, y) x, y could overrided location, point_id ignored582 FIXME: f(t, x, y) x, y could overrided location, point_id ignored 583 583 FIXME: point_id could also be a slice 584 584 FIXME: What if x and y are vectors? … … 787 787 stage - array with respect to time and vertices (x,y) 788 788 """ 789 790 msg = 'Function read_sww in interpolat.py is obsolete' 791 raise Exception, msg 789 792 790 793 #FIXME Have this reader as part of data_manager? -
anuga_core/source/anuga/shallow_water/data_manager.py
r4545 r4548 1654 1654 dir = "." # Unix compatibility 1655 1655 dir_ls = os.listdir(dir) 1656 i nterate_over = [x[:-4] for x in dir_ls if base in x and x[-4:] == '.sww']1657 1658 if len(i nterate_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: 1659 1659 msg = 'No files of the base name %s.'\ 1660 1660 %(basename_in) … … 1663 1663 files_out = [] 1664 1664 # print 'sww_file',sww_file 1665 for sww_file in i nterate_over:1665 for sww_file in iterate_over: 1666 1666 for quantity in quantities: 1667 1667 if extra_name_out is None: … … 1856 1856 # deal with either option 1857 1857 1858 #if verbose: bye= nsuadsfd[0] # uncomment to check catching verbose errors1858 #if verbose: bye= nsuadsfd[0] # uncomment to check catching verbose errors 1859 1859 1860 1860 #Read sww file … … 1897 1897 1898 1898 1899 #FIXME: Refactor using code from file_function.statistics1899 #FIXME: Refactor using code from Interpolation_function.statistics (in interpolate.py) 1900 1900 #Something like print swwstats(swwname) 1901 1901 if verbose:
Note: See TracChangeset
for help on using the changeset viewer.