Ignore:
Timestamp:
Aug 4, 2008, 1:41:59 PM (15 years ago)
Author:
ole
Message:

Changed time vector in urs2sts to start at 0.0 insteade of delta_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r5601 r5602  
    61476147        msg='time array has incorrect length'
    61486148        assert times.shape[0]==time_step_count,msg
     6149       
    61496150        msg = 'time array is incorrect'
    6150         assert allclose(times,time_step*arange(1,time_step_count+1)),msg
     6151        #assert allclose(times,time_step*arange(1,time_step_count+1)),msg
     6152        assert allclose(times,time_step*arange(time_step_count)), msg
     6153       
    61516154        msg='Incorrect gauge positions returned'
    61526155        for i,point in enumerate(lat_long_points):
     
    66126615            msg = 'sts starttime for source %d was %f. Should have been %f'\
    66136616                %(source_number, sts_starttime, starttime)
     6617               
    66146618            #assert allclose(sts_starttime-delta_t, starttime), msg
    66156619            ## FIXME - have done a dodgy to get it through here ###   
     6620           
     6621            #print source_filename, sts_starttime, starttime
    66166622            assert allclose(sts_starttime, starttime), msg             
    66176623           
Note: See TracChangeset for help on using the changeset viewer.