Ignore:
Timestamp:
Nov 7, 2005, 1:16:19 PM (18 years ago)
Author:
duncan
Message:

working on gippsland to sww

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/data_manager.py

    r2003 r2007  
    31403140    outfile.order = 1
    31413141   
    3142 
     3142    #FIXME(DSG) - hack to get a good sww file
     3143    number_of_times = 1
     3144   
    31433145    # dimension definitions
    31443146    outfile.createDimension('number_of_volumes', number_of_volumes)
     
    32313233    #outfile.variables['elevation'][:] = z  #FIXME HACK
    32323234    #outfile.variables['time'][:] = times   #Store time relative
    3233     #outfile.variables['time'][:] = [0]   #Store time relative
     3235    #outfile.variables['time'][:] = [0.0]   #Store time relative
    32343236    outfile.variables['volumes'][:] = volumes.astype(Int32) #On Opteron 64
    32353237
    32363238    # do this to create an ok sww file?
    3237     #outfile.variables['time'][:] = [0]   #Store time relative
    3238     #outfile.variables['stage'] = z
     3239    outfile.variables['time'][:] = [0]   #Store time relative
     3240    outfile.variables['stage'] = z
    32393241    #outfile.variables['xmomentum'] = z
    32403242    #outfile.variables['ymomentum'] = z
Note: See TracChangeset for help on using the changeset viewer.