Changeset 2572


Ignore:
Timestamp:
Mar 22, 2006, 2:03:39 PM (19 years ago)
Author:
duncan
Message:

comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/tsh2sww.py

    r906 r2572  
    1414import time, os
    1515from data_manager import get_dataobject   
    16 from util import mean
     16from utilities.numerical_tools import mean
    1717
    1818def tsh2sww(infilename, sww_file_name = None, verbose = False):
    1919    """
     20    This converts a mesh file (.tsh/.msh) to an .sww file.
     21    This is usefull to visualise the mesh.
     22   
    2023    Note: This currently just writes the output file in the input file dir.
    2124    """
     
    4851
    4952if __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])
    5154    if len(sys.argv) < 2:
    5255        print usage
Note: See TracChangeset for help on using the changeset viewer.