- Timestamp:
- Nov 24, 2004, 6:03:56 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/test_interpolate_sww.py
r457 r628 180 180 answer = [[0.08, 0.08], [0.02, 0.02], [0.14, 0.14], [.08,.08]] 181 181 #print "answer",answer 182 assert allclose(interp. point_heights,answer)182 assert allclose(interp.depth,answer) 183 183 184 184 # create an output .xya file 185 185 point_file_out = tempfile.mktemp(".xya") 186 interp.write_ point_heights_xya(point_file_out)186 interp.write_depth_xya(point_file_out) 187 187 188 188 #check the output file … … 190 190 191 191 assert allclose(interp.point_coordinates, xya_dict['pointlist']) 192 assert allclose(interp. point_heights,192 assert allclose(interp.depth, 193 193 xya_dict['pointattributelist'] ) 194 194
Note: See TracChangeset
for help on using the changeset viewer.