Ignore:
Timestamp:
Nov 24, 2004, 6:03:56 PM (20 years ago)
Author:
duncan
Message:

name change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/test_interpolate_sww.py

    r457 r628  
    180180        answer = [[0.08, 0.08], [0.02, 0.02], [0.14, 0.14], [.08,.08]]
    181181        #print "answer",answer
    182         assert allclose(interp.point_heights,answer)
     182        assert allclose(interp.depth,answer)
    183183
    184184        # create an output .xya file
    185185        point_file_out = tempfile.mktemp(".xya")
    186         interp.write_point_heights_xya(point_file_out)
     186        interp.write_depth_xya(point_file_out)
    187187       
    188188        #check the output file
     
    190190
    191191        assert allclose(interp.point_coordinates, xya_dict['pointlist'])
    192         assert allclose(interp.point_heights,
     192        assert allclose(interp.depth,
    193193                        xya_dict['pointattributelist'] )
    194194       
Note: See TracChangeset for help on using the changeset viewer.