Changeset 3910
- Timestamp:
- Nov 2, 2006, 9:44:59 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/util.py
r3909 r3910 769 769 elev_index = len(line11)+1 770 770 for i in range(len(line11)): 771 if line11[i].strip('\n').strip(' '). title() == 'Easting': east_index = i772 if line11[i].strip('\n').strip(' '). title() == 'Northing': north_index = i773 if line11[i].strip('\n').strip(' '). title() == 'Name': name_index = i774 if line11[i].strip('\n').strip(' '). title() == 'Elevation': elev_index = i771 if line11[i].strip('\n').strip(' ').lower() == 'easting': east_index = i 772 if line11[i].strip('\n').strip(' ').lower() == 'northing': north_index = i 773 if line11[i].strip('\n').strip(' ').lower() == 'name': name_index = i 774 if line11[i].strip('\n').strip(' ').lower() == 'elevation': elev_index = i 775 775 776 776 for line in lines[1:]: … … 793 793 'ymomentum', 'speed', 'bearing', 'elevation'] 794 794 795 for i,j in enumerate(quantity): 796 quantity[i] = quantity[i].lower() 795 797 p = list(set(quantity).difference(set(all_quantity))) 796 798 if len(p) <> 0:
Note: See TracChangeset
for help on using the changeset viewer.