Changeset 3036
- Timestamp:
- May 31, 2006, 5:52:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/util.py
r2990 r3036 735 735 if line11[i].strip('\n').strip(' ') == 'Northing': north_index = i 736 736 if line11[i].strip('\n').strip(' ') == 'Name': name_index = i 737 if line11[i].strip('\n').strip(' ') == 'Elevation': elev_index = i 737 738 738 739 for line in lines[1:]: 739 740 fields = line.split(',') 740 gauges.append([float(fields[east_index]), float(fields[north_index]) ])741 gauges.append([float(fields[east_index]), float(fields[north_index]), float(fields[elev_index])]) 741 742 loc = fields[name_index] 742 743 gaugelocation.append(loc.strip('\n')) … … 981 982 fid.write(s) 982 983 c += 1 983 if c % 10== 0: fid.write('\\clearpage \n')984 if c % 25 == 0: fid.write('\\clearpage \n') 984 985 985 986
Note: See TracChangeset
for help on using the changeset viewer.