Changeset 2572
- Timestamp:
- Mar 22, 2006, 2:03:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/tsh2sww.py
r906 r2572 14 14 import time, os 15 15 from data_manager import get_dataobject 16 from util import mean16 from utilities.numerical_tools import mean 17 17 18 18 def tsh2sww(infilename, sww_file_name = None, verbose = False): 19 19 """ 20 This converts a mesh file (.tsh/.msh) to an .sww file. 21 This is usefull to visualise the mesh. 22 20 23 Note: This currently just writes the output file in the input file dir. 21 24 """ … … 48 51 49 52 if __name__ == "__main__": 50 usage = "usage: %s pmesh_file_name [verbose|non_verbose]" % path.basename(sys.argv[0])53 usage = "usage:python %s pmesh_file_name [verbose|non_verbose]" % path.basename(sys.argv[0]) 51 54 if len(sys.argv) < 2: 52 55 print usage
Note: See TracChangeset
for help on using the changeset viewer.