Changeset 2257
- Timestamp:
- Jan 19, 2006, 3:57:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/load_mesh/loadASCII.py
r2253 r2257 27 27 ['attributelist'], a dictionary of 1D arrays, representing attribute values 28 28 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. 29 31 eg 30 32 dic['pointlist'] = [[1.0,2.0],[3.0,5.0]] … … 53 55 region_max_areas: [ma1,ma2,...] (A list of doubles) 54 56 {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. 55 59 56 60 Points files are .xya for ascii and .pts for NetCDF … … 962 966 def export_points_file(ofile,point_dict): 963 967 """ 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. 965 973 """ 966 974 #this was done for all keys in the mesh file.
Note: See TracChangeset
for help on using the changeset viewer.