- Timestamp:
- Mar 3, 2011, 6:04:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/fit_interpolate/interpolate.py
r7854 r8124 800 800 # This message is time consuming to form due to the conversion of 801 801 msg = 'Time must be a monotonuosly increasing sequence %s' % time 802 raise Exception , msg802 raise Exception(msg) 803 803 804 804 # Check if quantities is a single array only … … 859 859 #no longer true. sts files have spatial = True but 860 860 #if self.spatial is False: 861 # raise 'Triangles and vertex_coordinates must be specified'861 # raise Exception('Triangles and vertex_coordinates must be specified') 862 862 # 863 863 try: … … 868 868 'or a list of points\n' 869 869 msg += 'Got: %s.' %(str(self.interpolation_points)[:60] + '...') 870 raise msg870 raise Exception(msg) 871 871 872 872 # Ensure 'mesh_boundary_polygon' is defined … … 1103 1103 if x is not None and y is not None: 1104 1104 # Interpolate to x, y 1105 raise 'x,y interpolation not yet implemented'1105 raise Exception('x,y interpolation not yet implemented') 1106 1106 else: 1107 1107 # Use precomputed point
Note: See TracChangeset
for help on using the changeset viewer.