source: trunk/anuga_case_studies_data/patong/polygons/clean.py @ 9479

Last change on this file since 9479 was 9135, checked in by steve, 11 years ago

Adding data to patong case stud

  • Property svn:executable set to *
File size: 263 bytes
Line 
1infid = open('buildings.csv')
2outfid = open('buildings_clean.csv', 'w')
3
4for line in infid.readlines():
5    fields = line.split(',')
6    if fields[2].strip() == '':
7        print line
8    else:
9        outfid.write(line)
10
11outfid.close()
12infid.close()
Note: See TracBrowser for help on using the repository browser.