Changeset 2562 for inundation/pyvolution
- Timestamp:
- Mar 21, 2006, 10:54:45 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/util.py
r2526 r2562 485 485 return utilities.polygon.populate_polygon(*args, **kwargs) 486 486 487 def read_xya(filename):488 """Read simple xya file, possibly with a header in the first line, just489 x y [attributes]490 separated by whitespace491 492 Format can be either ASCII or NetCDF493 494 Return list of points, list of attributes and495 attribute names if present otherwise None496 """497 print "read_xya is obsolete. Use import_points_file from load_mesh.loadASCII"498 #FIXME: Probably obsoleted by similar function in load_ASCII499 #FIXME: Name read_data_points (or see 'load' in pylab)500 501 502 from load_mesh.loadASCII import import_points_file503 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.