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

Updated production codes in regard to replacing f.T with f.get_time()

Location:
production/sydney_2006
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • production/sydney_2006/get_timeseries.py

    r2469 r2885  
    7373    max_velocity = 0
    7474
    75     due_east = 90.0*ones([len(f.T)])
    76     due_west = 270.0*ones([len(f.T)])
    77     maxT = max(f.T)
    78     tstep = maxT/(len(f.T)-1)
    79 
    80     for i, t in enumerate(f.T): # T is a list of times
     75    T = f.get_time()
     76    due_east = 90.0*ones([len(T)])
     77    due_west = 270.0*ones([len(T)])
     78    maxT = max(T)
     79    tstep = maxT/(len(T)-1)
     80
     81    for i, t in enumerate(T): # T is a list of times
    8182        #if tmin < t < tmax:
    8283        w = f(t, point_id = k)[0]
  • production/sydney_2006/process_gauges.py

    r2313 r2885  
    6060    max_depth = 0
    6161    max_momentum = 0   
    62     for i, t in enumerate(f.T):
     62    for i, t in enumerate(f.get_time()):
    6363        w = f(t, point_id = k)[0]
    6464        z = f(t, point_id = k)[1]
Note: See TracChangeset for help on using the changeset viewer.