Changeset 580


Ignore:
Timestamp:
Nov 17, 2004, 3:33:46 PM (20 years ago)
Author:
duncan
Message:

added comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/alpha_shape/alpha_shape.py

    r579 r580  
    8383if __name__ == "__main__":
    8484    """
    85     Load in a mesh and data points with attributes.
    86     Fit the attributes to the mesh.
    87     Save a new mesh file.
     85    Load in a data point file.
     86    Determine the alpha shape boundary
     87    Save the boundary to a file.
     88
     89    usage: alpha_shape.py point_file.xya boundary_file.bnd [alpha]
     90
     91    The alpha value is optional.
    8892    """
     93   
    8994    import os, sys
    90     usage = "usage: %s point_file.xya boundary_file.?? [alpha]"\
     95    usage = "usage: %s point_file.xya boundary_file.bnd [alpha]"\
    9196            %os.path.basename(sys.argv[0])
    92 
     97    # I made up the .bnd affix. Other ideas welcome. -DSG
    9398    if len(sys.argv) < 3:
    9499        print usage
Note: See TracChangeset for help on using the changeset viewer.