Changeset 902
- Timestamp:
- Feb 17, 2005, 9:08:01 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/interpolate_sww.py
r863 r902 23 23 from least_squares import Interpolation 24 24 25 DEFAULT_QUANTITY = " height"25 DEFAULT_QUANTITY = "depth" 26 26 27 27 class Interpolate_sww: … … 55 55 print vertex_coordinates 56 56 print "****************************" 57 57 58 58 self.interp = Interpolation(vertex_coordinates, volumes, alpha=0) 59 59 self.time = time … … 108 108 z = fid.variables['elevation'][:] 109 109 stage = fid.variables['stage'][:,:] 110 quantity = stage - z # 2D, using broadcasting 110 quantity = stage - z # 2D, using broadcasting 111 #print quantity 111 112 else: 112 113 quantity = fid.variables[quantity_name][:,:] # 2D
Note: See TracChangeset
for help on using the changeset viewer.