Tweet
Replying to @josecastillo
And… there it is. All the data matches up (within reason, seeing as they’re using a supercomputer and I’ve truncated the terms to fit on a wristwatch).
The mistake, incidentally: all the math happens in radians, but I was passing in our latitude and longitude in degrees. oops!
(original)