Changeset 863 for inundation/ga/storm_surge/pyvolution/interpolate_sww.py
- Timestamp:
- Feb 10, 2005, 12:39:21 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/interpolate_sww.py
r852 r863 105 105 time = fid.variables['time'][:] 106 106 try: 107 if quantity_name == ' height':107 if quantity_name == 'depth': 108 108 z = fid.variables['elevation'][:] 109 109 stage = fid.variables['stage'][:,:] … … 126 126 127 127 Output; 128 point_coordinates - the points (x,y) where the heightvalues128 point_coordinates - the points (x,y) where the depth values 129 129 (w.r.t. time) are needed 130 130 """ … … 169 169 """ 170 170 import os, sys 171 usage = "usage: %s pyvolution_results.sww points.xya depth.xya [ height|stage|(other quantities)]" % os.path.basename(sys.argv[0])171 usage = "usage: %s pyvolution_results.sww points.xya depth.xya [depth|stage|(other quantities)]" % os.path.basename(sys.argv[0]) 172 172 if len(sys.argv) < 4: 173 173 print usage
Note: See TracChangeset
for help on using the changeset viewer.