Changeset 2257


Ignore:
Timestamp:
Jan 19, 2006, 3:57:40 PM (19 years ago)
Author:
duncan
Message:

comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/load_mesh/loadASCII.py

    r2253 r2257  
    2727  ['attributelist'], a dictionary of 1D arrays, representing attribute values
    2828  at the point.  The dictionary key is the attribute header.
     29  ['geo_reference'] a Geo_refernece object. Use if the point information
     30        is relative. This is optional.
    2931    eg
    3032    dic['pointlist'] = [[1.0,2.0],[3.0,5.0]]
     
    5355    region_max_areas: [ma1,ma2,...] (A list of doubles)
    5456    {Convension: A -ve max area means no max area}
     57    geo_reference: a Geo_refernece object. Use if the point information
     58        is relative. This is optional.
    5559
    5660    Points files are .xya for ascii and .pts for NetCDF
     
    962966def export_points_file(ofile,point_dict):
    963967    """
    964     write a points file, ofile, as a binary (.msh) or text (.tsh) file
     968    write a points file, ofile, as a binary (.xya) or text (.pts) file
     969
     970    ofile is the file name, including the extension
     971
     972    The point_dict is defined at the top of this file.
    965973    """
    966974    #this was done for all keys in the mesh file.
Note: See TracChangeset for help on using the changeset viewer.