Changeset 2007 for inundation/pyvolution/data_manager.py
- Timestamp:
- Nov 7, 2005, 1:16:19 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/data_manager.py
r2003 r2007 3140 3140 outfile.order = 1 3141 3141 3142 3142 #FIXME(DSG) - hack to get a good sww file 3143 number_of_times = 1 3144 3143 3145 # dimension definitions 3144 3146 outfile.createDimension('number_of_volumes', number_of_volumes) … … 3231 3233 #outfile.variables['elevation'][:] = z #FIXME HACK 3232 3234 #outfile.variables['time'][:] = times #Store time relative 3233 #outfile.variables['time'][:] = [0 ] #Store time relative3235 #outfile.variables['time'][:] = [0.0] #Store time relative 3234 3236 outfile.variables['volumes'][:] = volumes.astype(Int32) #On Opteron 64 3235 3237 3236 3238 # do this to create an ok sww file? 3237 #outfile.variables['time'][:] = [0] #Store time relative3238 #outfile.variables['stage'] = z3239 outfile.variables['time'][:] = [0] #Store time relative 3240 outfile.variables['stage'] = z 3239 3241 #outfile.variables['xmomentum'] = z 3240 3242 #outfile.variables['ymomentum'] = z
Note: See TracChangeset
for help on using the changeset viewer.