Changeset 2885 for production


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
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • production/gippsland_2005/get_timeseries.py

    r2604 r2885  
    6868
    6969    max_depth = 0
    70     for i, t in enumerate(f.T): # T is a list of times
     70    for i, t in enumerate(f.get_time()): # T is a list of times
    7171        #if tmin < t < tmax:
    7272        w = f(t, point_id = k)[0]
  • production/karratha_2005/get_cross_section.py

    r1960 r2885  
    4040          verbose = True)
    4141
    42 print f
     42#print f
    4343
     44T = f.get_time()
    4445from math import sqrt
    45 for time in [f.T[0], f.T[0] + 10]:
     46for time in [T[0], T[0] + 10]:
    4647
    4748    abscissa = []
  • production/karratha_2005/get_timeseries.py

    r2122 r2885  
    6666    max_depth = 0
    6767    max_momentum = 0   
    68     for i, t in enumerate(f.T): # T is a list of times
     68    for i, t in enumerate(f.get_time()): # T is a list of times
    6969        #if tmin < t < tmax:
    7070        w = f(t, point_id = k)[0]
  • production/onslow_2006/get_timeseries.py

    r2773 r2885  
    8181    max_velocity = 0
    8282
    83     due_east = 90.0*ones([len(f.T)])
    84     due_west = 270.0*ones([len(f.T)])
    85     maxT = max(f.T)
    86     tstep = maxT/(len(f.T)-1)
    87 
    88     for i, t in enumerate(f.T): # T is a list of times
     83    T = f.get_time()
     84    due_east = 90.0*ones([len(T)])
     85    due_west = 270.0*ones([len(T)])
     86    maxT = max(T)
     87    tstep = maxT/(len(T)-1)
     88
     89    for i, t in enumerate(T): # T is a list of times
    8990        #if tmin < t < tmax:
    9091        w = f(t, point_id = k)[0]
  • 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.