Changeset 2317 for production/sydney_2006/export_results.py
- Timestamp:
- Feb 1, 2006, 4:28:22 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/sydney_2006/export_results.py
r2313 r2317 8 8 9 9 #print 'Which variable do you want to export?' 10 #which_var = int(raw_input('Stage = 0, Absolute Momentum = 1, Depth = 2 ' ))11 which_var = 210 #which_var = int(raw_input('Stage = 0, Absolute Momentum = 1, Depth = 2, Speed = 3 ' )) 11 which_var = 3 12 12 13 13 if which_var == 0: # Stage … … 22 22 outname = name + '_depth' 23 23 quantityname = 'stage-elevation' #Depth 24 25 if which_var == 3: # Speed 26 outname = name + '_speed' 27 #quantityname = '((xmomentum/(stage-elevation))**2 + (ymomentum/(stage-elevation))**2)**0.5' #Speed 28 #quantityname = 'xmomentum/(stage-elevation)' #Speed 29 quantityname = '(xmomentum**2 + ymomentum**2 + 1.e-30)**0.5/(stage-elevation)' #Speed 30 24 31 25 32 sww2dem(name, basename_out = outname,
Note: See TracChangeset
for help on using the changeset viewer.