Changeset 2562


Ignore:
Timestamp:
Mar 21, 2006, 10:54:45 AM (18 years ago)
Author:
duncan
Message:

removing obsolete function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/util.py

    r2526 r2562  
    485485    return utilities.polygon.populate_polygon(*args, **kwargs)   
    486486
    487 def read_xya(filename):
    488     """Read simple xya file, possibly with a header in the first line, just
    489     x y [attributes]
    490     separated by whitespace
    491 
    492     Format can be either ASCII or NetCDF
    493 
    494     Return list of points, list of attributes and
    495     attribute names if present otherwise None
    496     """
    497     print "read_xya is obsolete.  Use import_points_file from load_mesh.loadASCII"
    498     #FIXME: Probably obsoleted by similar function in load_ASCII
    499     #FIXME: Name read_data_points (or see 'load' in pylab)
    500 
    501    
    502     from load_mesh.loadASCII import import_points_file
    503 
    504     points_dict = import_points_file(filename)
    505     return points_dict['pointlist'], points_dict['attributelist']
    506 
    507    
    508 
    509 
Note: See TracChangeset for help on using the changeset viewer.