Building solar radiation observatory (of sorts). Would like method to know or calculate distance through earth (at night, of course) to clear view of Sun. That would be a cord from my location to (ideally) center of Sun. During local day, that distance would be zero. Ideally, method would use a standard geoid. Thank you!