John wrote: > The error occurs here: > area[ix,iy]=gridarea What is area? Is it a dict or something else? What is gridarea?
Please show more code and the complete traceback. Kent > > The values of nx, ix, iy leading up to the error are: > 360 0 0 > 360 1 0 > 360 2 0 > 360 3 0 > 360 4 0 > 360 ... ... > 360 357 9 > 360 358 9 > 360 359 9 > 360 0 10 > OverflowError: long int too large to convert to int > > I guess then the problem occurs when iy goes from 9 to 10, but why?? It > wasn't a problem before and it's not a problem for ix??? > > Thanks! _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor