Ignore:
Timestamp:
May 16, 2006, 2:42:12 PM (18 years ago)
Author:
ole
Message:

Replaced reference to f.T with f.get_time() and retested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/examples/island_timeseries.py

    r2635 r2884  
    2626
    2727
     28T = f.get_time()
    2829               
    2930from math import sqrt, atan, degrees
     
    4849    max_velocity = 0
    4950
    50     due_east = 90.0*ones([len(f.T)])
    51     due_west = 270.0*ones([len(f.T)])
    52     maxT = max(f.T)
    53     tstep = maxT/(len(f.T)-1)
     51    due_east = 90.0*ones([len(T)])
     52    due_west = 270.0*ones([len(T)])
     53    maxT = max(T)
     54    tstep = maxT/(len(T)-1)
    5455
    5556
    5657    myloc = 'G%d' %k #locations[k]
    5758
    58     for i, t in enumerate(f.T): # T is a list of times
     59    for i, t in enumerate(T): # T is a list of times
    5960        #if tmin < t < tmax:
    6061        w = f(t, point_id = k)[0]
Note: See TracChangeset for help on using the changeset viewer.