What does the function normDistProb return? The first attempt to debug this should be to print it
for i in range(0,12):
listProbFog.append(normDistProb(dayValues[i], fogAve[i], fogVar[i]))
print normDistProb(dayValues[i], fogAve[i], fogVar[i])
print listProbFog
# the other lists are just extra cruft until you get this problem solved
woooee
Nearly a Posting Maven
2,454 posts since Dec 2006
Reputation Points: 777
Solved Threads: 714
You should mark this thread solved, even you solved it yourself.
pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852