Changeset 2064


Ignore:
Timestamp:
Nov 24, 2005, 3:24:08 PM (19 years ago)
Author:
duncan
Message:

adding starttime to outputted sww file

Location:
inundation/pyvolution
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/data_manager.py

    r2062 r2064  
    34883488    outfile.order = 1
    34893489   
     3490    #Start time in seconds since the epoch (midnight 1/1/1970)
     3491    outfile.starttime = starttime = times[0]
     3492   
    34903493   
    34913494    # dimension definitions
  • inundation/pyvolution/test_data_manager.py

    r2062 r2064  
    33583358        self.failUnless(geo_ref.get_zone() == 55,  'Failed')
    33593359
     3360        assert allclose(fid.starttime, 0.0) # (-37.45, 148.25)
    33603361        assert allclose(x_ref, 610120.388) # (-37.45, 148.25)
    33613362        assert allclose(y_ref,  5820863.269 )# (-37.45, 148.5)
Note: See TracChangeset for help on using the changeset viewer.