Changeset 3824


Ignore:
Timestamp:
Oct 18, 2006, 1:52:52 PM (18 years ago)
Author:
duncan
Message:

added comments

File:
1 edited

Legend:

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

    r3820 r3824  
    42244224    """
    42254225    columns = 3 # long, lat , depth
     4226    #FIXME use mux_file, not f
    42264227    f = open(file_in, 'rb')
    42274228   
     
    42734274
    42744275    for i in range(time_step_count):
    4275         #Read in a time slice   
     4276        #Read in a time slice  from mux file 
    42764277        hz_p_array = p_array.array('f')
    42774278        hz_p_array.read(f, points_num)
     
    42794280        hz_p = reshape(hz_p, (len(lon), len(lat)))
    42804281        hz_p = transpose(hz_p) #mux has lat varying fastest, nc has long v.f.
    4281        
     4282
     4283        #write time slice to nc file
    42824284        nc_file.store_timestep(hz_p)
    4283        
     4285    #FIXME should I close the mux file here?
     4286    f.close()
    42844287    nc_file.close()
    42854288
Note: See TracChangeset for help on using the changeset viewer.