lineCount = 0 DATA, indexToName, lineNum, shortLines = PAM.analyzeFile(files[0],delim) totalLines += lineNum totalShortLines += shortLines header = DATA.keys() print header # Clean up the data and grab the columns we are interested in: # For NOx: [Time, Data, NO, NOx] Timestamp = DATA['Time Stamp Local'] NO = DATA['NO'] NO2 = DATA['NO2'] NOx = DATA['NOx'] SO2 = DATA['SO2'] O3 = DATA['O3'] values = {'NO':NO, 'NOx':NOx, 'NO2':NO2, 'SO2':SO2} Ozone = {'O3':O3} end = time.time() PAM.plotConc(values,Ozone,Timestamp) print 'Files being analyzed this run:\n' for each in files: print '\t' + each print 'No. lines read: ' + str(totalLines) print 'No. short lines: ' + str(shortLines) print 'Time Elapsed during run: ' + str(end - start) + ' s' show()