Changeset 2199


Ignore:
Timestamp:
Jan 11, 2006, 3:40:07 PM (18 years ago)
Author:
sexton
Message:

removed the ability to specify input in the command line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/interpolate_sww.py

    r1814 r2199  
    189189       
    190190#-------------------------------------------------------------
    191 if __name__ == "__main__":
    192     """
    193     Load in an sww file and an xya file and return an xya file
    194     """
    195     import os, sys
    196     usage = "usage: %s pyvolution_results.sww points.xya depth.xya [depth|stage|(other quantities)]" %         os.path.basename(sys.argv[0])
    197     if len(sys.argv) < 4:
    198         print usage
    199     else:
    200         sww_file = sys.argv[1]
    201         point_file_in = sys.argv[2]
    202         point_file_out = sys.argv[3]
    203         if len(sys.argv) == 5:
    204             quantity_name = sys.argv[4]
    205         else:
    206             quantity_name = DEFAULT_QUANTITY   
    207         #print "quantity",quantity
    208191
    209192
Note: See TracChangeset for help on using the changeset viewer.