Changeset 5665
- Timestamp:
- Aug 18, 2008, 3:12:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/coordinate_transforms/geo_reference.py
r5288 r5665 204 204 points = reshape(points, (1,2)) 205 205 206 msg = 'Points array must be two dimensional.\n' 207 msg += 'I got %d dimensions' %len(points.shape) 208 assert len(points.shape) == 2, msg 209 206 210 msg = 'Input must be an N x 2 array or list of (x,y) values. ' 207 211 msg += 'I got an %d x %d array' %points.shape
Note: See TracChangeset
for help on using the changeset viewer.