Changeset 2711
- Timestamp:
- Apr 12, 2006, 3:11:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/geospatial_data/geospatial_data.py
r2698 r2711 87 87 88 88 ''' 89 89 90 if isinstance(data_points, basestring): 91 # assume data point is really a file name 92 file_name = data_points 90 93 91 94 if file_name is None: … … 130 133 else: 131 134 self.data_points = ensure_numeric(data_points) 135 assert len(self.data_points.shape) == 2 136 assert self.data_points.shape[1] == 2 132 137 133 138 def set_attributes(self, attributes):
Note: See TracChangeset
for help on using the changeset viewer.