Changeset 7317 for anuga_core/source/anuga/load_mesh
- Timestamp:
- Jul 22, 2009, 9:22:11 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/load_mesh/loadASCII.py
r7276 r7317 67 67 from anuga.config import netcdf_float, netcdf_char, netcdf_int 68 68 from anuga.utilities.system_tools import * 69 import anuga.utilities.log as log 69 70 70 71 from Scientific.IO.NetCDF import NetCDFFile … … 1012 1013 1013 1014 while point_atts['pointlist'].shape[0] > max_points: 1014 if verbose: print "point_atts['pointlist'].shape[0]"1015 if verbose: log.critical("point_atts['pointlist'].shape[0]") 1015 1016 point_atts = half_pts(point_atts) 1016 1017 … … 1030 1031 outfiles = [] 1031 1032 1032 if verbose: print "# of points", point_atts['pointlist'].shape[0]1033 if verbose: log.critical("# of points", point_atts['pointlist'].shape[0]) 1033 1034 1034 1035 while point_atts['pointlist'].shape[0] > max_points: 1035 1036 point_atts = half_pts(point_atts) 1036 1037 1037 if verbose: print "# of points", point_atts['pointlist'].shape[0] 1038 if verbose: log.critical("# of points = %s" 1039 % str(point_atts['pointlist'].shape[0])) 1038 1040 1039 1041 outfile = root + delimiter + str(point_atts['pointlist'].shape[0]) + ext
Note: See TracChangeset
for help on using the changeset viewer.