Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
PhilP Newbie Joined: 25/01/2017 Location: United KingdomPosts: 40
Posted: 08:19am 13 May 2026
Copy link to clipboard
Print this post
Good morning. I have been following at a distance Peter's extremely clever astronomy developments. I have been trying to calculate sunrise and sunset times using various algorithms from NASA and TassyJim's previous programmes but none seem to give a sensible result. There was a simple version of the FotS but it isn't there any more. I am assuming that the maths needed to do the sunrise/sunset calculations are in some form behind the scenes in the ASTRO function. My question is could ASTRO be used to calculate sunrise and sunset times? From my reading of the function I think I would have to do iterative calculations testing date and time at a LOCATION and look for a sun elevation of zero. Thanks for any feedback Phil