Changeset 1103
- Timestamp:
- Mar 17, 2005, 7:20:38 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/data_manager.py
r1102 r1103 1382 1382 1383 1383 #Start time in seconds since the epoch (midnight 1/1/1970) 1384 outfile.starttime = times[0] 1384 outfile.starttime = starttime = times[0] 1385 times = times - starttime #Store relative times 1385 1386 1386 1387 # dimension definitions … … 1488 1489 outfile.variables['z'][:] = z 1489 1490 outfile.variables['elevation'][:] = z #FIXME HACK 1490 outfile.variables['time'][:] = times - times[0]#Store time relative1491 outfile.variables['time'][:] = times #Store time relative 1491 1492 outfile.variables['volumes'][:] = volumes.astype(Int32) #On Opteron 64 1492 1493 … … 1524 1525 print ' Lower left corner: [%f, %f]'\ 1525 1526 %(xllcorner, yllcorner) 1526 print ' Start time: %f' % times[0]1527 print ' Start time: %f' %starttime 1527 1528 print ' Extent:' 1528 1529 print ' x [m] in [%f, %f], len(x) == %d'\
Note: See TracChangeset
for help on using the changeset viewer.