index = 0
for ts in timeSeriesToCompare:
if index == 0:
flag = " (initial set up) "
elif index == indexBestFit:
flag = " (best fit) "
else:
flag = " "
fileName = rootPath + r"\Water Level at Gauging Station case " + str(index) + flag + ".csv"
ExportListToCsvFile(fileName, ts, ["Time", "Water level at Gauging station"], ",")
index += 1